[lazarus] gdb detection bug

Marco van de Voort marcov at stack.nl
Wed Jun 25 11:53:20 EDT 2003


> + "gdb --version" gives the version number on the first line of output.
> 
> Mwah...
> 
> if you call "GNU gdb Red Hat Linux (5.1.90CVS-5)"
> or "GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)"
> a version number you are right, but I'm only interested in the 5.1.90CVS-5
> part
> 
> So I assumed a version number between ().
> 
> BTW, I'm using the mi interface, this should give one structured output, but
> only not on version :(

btw ( :-) )

[Toad] </home/marcov> gdb521 --version
GNU gdb 5.2 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-portbld-freebsd4.8".

(the below one is still the default one)

[Toad] </home/marcov> gdb --version
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd".






More information about the Lazarus mailing list