[lazarus] gdb detection bug
Marc Weustink
marc.weustink at cuperus.nl
Wed Jun 25 11:49:00 EDT 2003
+ From: cryst [mailto:cryst at golden.net]
+ 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" <marcov at stack.nl>
+ To: <lazarus at miraclec.com>
+ 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 lazarus-request at miraclec.com with
+ > "unsubscribe" as the Subject
+ > archives at http://www.lazarus.freepascal.org/mailarchives
+
+ _________________________________________________________________
+ To unsubscribe: mail lazarus-request at miraclec.com with
+ "unsubscribe" as the Subject
+ archives at http://www.lazarus.freepascal.org/mailarchives
More information about the Lazarus
mailing list