[fpc-devel] Dwarf3 and the encoding of classes

Martin fpc at mfriebe.de
Wed Jan 12 13:05:50 CET 2011

On 12/01/2011 11:53, Joost van der Sluis wrote:
> Well, the version I use has version But those
> version-numbers are a mess. Especially since Fedora in fact uses a fork
> of gdb (Archer) but it has the same name. It's this fork I base my work
> on. And I don't think you can detect the difference between the forked
> (archer) gdb and the original one.
> Maybe another way to detect this is: (After an application is loaded,
> but you have to do this only once)
> set case off
> b MaiN
> ->  fails = old/no case-insensitive support = set case on (or auto)
> ->  works = new/working case-insensitive support = set case off
> Or is that too ugly?
Maybe possible, but I would have to do it the save way, that is, the IDe 
needs to detect if gdb crashed, and then be able to restart, and omit... 
=> that is some extra worrk...
Or maybe, it will be enough if I just combine that with the version 
check too. (need to find out.

Also need to see what else can be used in the version string:
> C:\FPC\GDB\7.2-50_joost>gdb
> GNU gdb (GDB)
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-mingw32".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
"This GDB was configured as "i686-pc-mingw32"."
Not sure what that was on fedora?

Not sure if yur patched version can add something unique?

Alternatively, as soon as I fix the user-config for the debugger (in the 
ide options) to be persistent (there is a mantis issue, so apparently  
it doesn't work)
Then I could just add an option, and leave it to the user...

What are the chances for that to be fixed in

More information about the fpc-devel mailing list