Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-06

gdb detection bug

8 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Stefan Weber: Although i've downloaded and built gdb 5.3, Lazarus complains about the version:…
Stefan Weber wrote 20 lines
Although i've downloaded and built gdb 5.3, Lazarus complains about the version: [TDebugManager.DoInitDebugger] A [TCmdLineDebugger] Debug PID: 2350 [WARNING] Debugger: Running an old (< 5.3) GDB version: Not all functionality will be supported. [TDebugManager.OnDebuggerChangeState] state: dsIdle [TDebugManager.DoInitDebugger] END The problem is probably the format of gdb's version info: GNU gdb 5.3 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 "i686-pc-linux-gnu". (gdb)

Sigh :(

I wonder whether there is another version of gdb with the version format expected by lazarus?

Bloody gdb. There is (to my knowledge) no way to ask a simple version number. It always comes with a bloat of blahblah. I've tried serveral versions and I "detected" a pattern to retrieve a simple 5.3.x.y. *NOT*

OK, thanks for your output, I'll see if I can find another way.

Marc

cryst
to Marco van de Voort: Then mail the GDB team. Afaik they just branched GDB 6, which is scheduled for August.…

"gdb --version" gives the version number on the first line of output.

Earlier message 27 lines
----- Original Message ----- From: "Marco van de Voort" To: Sent: Wednesday, June 25, 2003 6:10 AM Subject: Re: [lazarus] gdb detection bug > > Sigh :( > > > > >I wonder whether there is another version of gdb with the version format > > >expected by lazarus? > > > > Bloody gdb. There is (to my knowledge) no way to ask a simple version > > number. It always comes with a bloat of blahblah. I've tried serveral > > versions and I "detected" a pattern to retrieve a simple 5.3.x.y. > > *NOT* > > > > OK, thanks for your output, I'll see if I can find another way. > > Then mail the GDB team. Afaik they just branched GDB 6, which is scheduled > for August. Maybe you can get something in :_) > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives
Marco van de Voort
to Marc Weustink: Sigh :( Bloody gdb. There is (to my knowledge) no way to ask a simple version number. It…
Show quoted text 11 lines
Sigh :( >I wonder whether there is another version of gdb with the version format >expected by lazarus? Bloody gdb. There is (to my knowledge) no way to ask a simple version number. It always comes with a bloat of blahblah. I've tried serveral versions and I "detected" a pattern to retrieve a simple 5.3.x.y. *NOT* OK, thanks for your output, I'll see if I can find another way.

Then mail the GDB team. Afaik they just branched GDB 6, which is scheduled for August. Maybe you can get something in :_)

Marco van de Voort
to Marc Weustink: + From: cryst + Sent: woensdag 25 juni 2003 16:51 + + "gdb --version" gives the version…
Show quoted text 13 lines
+ "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".

cryst
to Marco van de Voort

I'm using gentoo linux which tends to have the latest of anything. gdb --version
GNU gdb 5.3
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 "i686-pc-linux-gnu".

Earlier message 55 lines
----- Original Message ----- From: "Marco van de Voort" To: Sent: Wednesday, June 25, 2003 12:19 PM Subject: Re: [lazarus] gdb detection bug > > + "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". > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives
Marc Weustink
to Stefan Weber: Although i've downloaded and built gdb 5.3, Lazarus complains about the version:…
Show quoted text 33 lines
At 00:10 25-6-2003 +0200, Stefan Weber wrote: >Although i've downloaded and built gdb 5.3, Lazarus complains about the >version: > >[TDebugManager.DoInitDebugger] A >[TCmdLineDebugger] Debug PID: 2350 >[WARNING] Debugger: Running an old (< 5.3) GDB version: > Not all functionality will be supported. >[TDebugManager.OnDebuggerChangeState] state: dsIdle >[TDebugManager.DoInitDebugger] END > >The problem is probably the format of gdb's version info: > >GNU gdb 5.3 >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 "i686-pc-linux-gnu". >(gdb) Sigh :( >I wonder whether there is another version of gdb with the version format >expected by lazarus? Bloody gdb. There is (to my knowledge) no way to ask a simple version number. It always comes with a bloat of blahblah. I've tried serveral versions and I "detected" a pattern to retrieve a simple 5.3.x.y. *NOT* OK, thanks for your output, I'll see if I can find another way.

Fixed ( for cases like this :)

Marc

Stefan Weber

Although i've downloaded and built gdb 5.3, Lazarus complains about the version:

[TDebugManager.DoInitDebugger] A
[TCmdLineDebugger] Debug PID: 2350
[WARNING] Debugger: Running an old (< 5.3) GDB version: Not all functionality will be supported.
[TDebugManager.OnDebuggerChangeState] state: dsIdle [TDebugManager.DoInitDebugger] END

The problem is probably the format of gdb's version info:

GNU gdb 5.3
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 "i686-pc-linux-gnu".
(gdb)

I wonder whether there is another version of gdb with the version format expected by lazarus?

-Stefan

Marc Weustink
to cryst: "gdb --version" gives the version number on the first line of output. ----- Original…

+ From: cryst
+ Sent: woensdag 25 juni 2003 16:51
+
+ "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 :(

Marc

+ ----- Original Message -----
+ From: "Marco van de Voort"
+ To:
+ Sent: Wednesday, June 25, 2003 6:10 AM
+ Subject: Re: [lazarus] gdb detection bug
+
+
+ > > Sigh :(
+ > >
+ > > >I wonder whether there is another version of gdb with the version
+ format
+ > > >expected by lazarus?
+ > >
+ > > Bloody gdb. There is (to my knowledge) no way to ask a simple version
+ > > number. It always comes with a bloat of blahblah. I've tried serveral
+ > > versions and I "detected" a pattern to retrieve a simple 5.3.x.y.
+ > > *NOT*
+ > >
+ > > OK, thanks for your output, I'll see if I can find another way.
+ >
+ > Then mail the GDB team. Afaik they just branched GDB 6, which
+ is scheduled
+ > for August. Maybe you can get something in :_)
+ >
+ > _________________________________________________________________
+ > To unsubscribe: mail with
+ > "unsubscribe" as the Subject
+ > archives at http://www.lazarus.freepascal.org/mailarchives +
+ _________________________________________________________________
+ To unsubscribe: mail with
+ "unsubscribe" as the Subject
+ archives at http://www.lazarus.freepascal.org/mailarchives