[lazarus] gdb detection bug
Marc Weustink
marc at dommelstein.net
Tue Jun 24 19:33:55 EDT 2003
At 01:05 25-6-2003 +0200, I wrote:
>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
More information about the Lazarus
mailing list