Sign in Join

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

Mailing lists / lazarus / 2012-09

win 32: GDB downgraded to 7.2

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Martin

On win 32 there is currently a choice between:
- gdb 7.2 (or older)
does not have http://sourceware.org/bugzilla/show_bug.cgi?id=14018 which means the debug session can be lost at any time. all later versions have this issue.
- gdb 7.3 (which has both known issues...)
- gdb 7.4 / 7.5
which can set environment vars for the debuggee
http://sourceware.org/bugzilla/show_bug.cgi?id=10989

There is also an error with stepping, if a library is unloaded (or maybe it is a thread being closed). It was observed with 7.4 and 7.5. But as it is not reproducible, it is not known, if it will occur with earlier versions.
If encountered, the IDE will display a gdb message about being unable to set a breakpoint with a negative number.

Otherwise, all Lazarus debugging abilities seem to run equally good on 7.2 and 7.4/7.5
This should affect all win32 snapshots from tomorrow (including "fixes branch"), and all future releases.

Given the choice I decided to go back to 7.2. Since the stability affects everyone.

If you need environment, then please keep a copy of 7.4. (All IDE changes are usually tested for all gdb 7.x versions) If you encounter other issues please mail.

Reply by email

Reinier Olislagers
to Martin
Martin wrote 30 lines
On win 32 there is currently a choice between: - gdb 7.2 (or older) does not have http://sourceware.org/bugzilla/show_bug.cgi?id=14018 which means the debug session can be lost at any time. all later versions have this issue. - gdb 7.3 (which has both known issues...) - gdb 7.4 / 7.5 which can set environment vars for the debuggee http://sourceware.org/bugzilla/show_bug.cgi?id=10989 There is also an error with stepping, if a library is unloaded (or maybe it is a thread being closed). It was observed with 7.4 and 7.5. But as it is not reproducible, it is not known, if it will occur with earlier versions. If encountered, the IDE will display a gdb message about being unable to set a breakpoint with a negative number. Otherwise, all Lazarus debugging abilities seem to run equally good on 7.2 and 7.4/7.5 This should affect all win32 snapshots from tomorrow (including "fixes branch"), and all future releases. Given the choice I decided to go back to 7.2. Since the stability affects everyone. If you need environment, then please keep a copy of 7.4. (All IDE changes are usually tested for all gdb 7.x versions) If you encounter other issues please mail.

Thanks, Martin,

I noticed the files in
http://svn.freepascal.org/svn/lazarus/binaries/i386-win32/gdb/bin/ contains 7.2, but
http://svn.freepascal.org/svn/lazarus/binaries/x86_64-win64/gdb/bin/ for 64 bit has GNU gdb (GDB) 7.3.50.20110510-cvs

Is that as expected?

Thanks,
Reinier

Reply by email

Martin
to Reinier Olislagers
Reinier Olislagers wrote 6 lines
I noticed the files in http://svn.freepascal.org/svn/lazarus/binaries/i386-win32/gdb/bin/ contains 7.2, but http://svn.freepascal.org/svn/lazarus/binaries/x86_64-win64/gdb/bin/ for 64 bit has GNU gdb (GDB) 7.3.50.20110510-cvs

Yes.
It is not yet known how or if the 64 bit version(s) are affected. And I do not remember how well the 7.2.xx did...

You can try the debugger test case (though I did additional tests on w32). But note: Some tests are marked as expected to fail (as they can not be fixed). So they do not report errors. And most of this is according to the w32 situation.

Reply by email