On Wed, Mar 21, 2012 at 11:28 AM, Martin <laza...@mfriebe.de> wrote: > On 21/03/2012 13:48, Marcos Douglas wrote: >> >> Which GDB SVN do you think is the best choice? > > > Not really sure. I have versions from 6.3 to 7.4. (for win 32). > There is a testcase in the debugger/test/GDBMI directory > > Most of the differences are handled by the IDE (like different text of error > message) > > Differences I do know: > > - All versions over 7.0 have a problem with typecasting objects (stabs only) > http://bugs.freepascal.org/view.php?id=19920 > This is partly fixed by the IDE > > - All 6.x and 7.3 / 7.4 versions (not sure about 7.1 / 7.2) have an issue > with handling threads, in a rare race condition > 7.0.50 does not have that issue > > The issue occurs if a pause request (either hit "pause button" er > modify/set/unset a breakpoint (which requires the ap to be paused and then > continued)) is made, while the app is already paused. > On Windows an app is paused via some windows function, opening a special > thread in the app. (Not sure if the issue is triggered just by any thread, > or by something else). > > Normally the IDE will not send such a request to a paused app. But if the > app has just hit a breakpoint, and the IDE had not yet read that > notification from GDB, then it can happen.... > > > - IIRC: Somewhere in 7.1 or 7.2 some essential suppor for using breakpoints > when debugging a dll with starter app was added > > - 7.4 > Has some issue with "-break-insert +0" > The IDE only uses that as fallback (unless you change config), and can deal > with this. So it does not currently cause any issues. > > 7.4 has new features, but the IDE does not support then yet... > Otherwise, I haven't yet worked out where/if 7.4 differs significantly
Oh my... =) There are many differences, many options to choice. Using a simple vision, I think the IDE should be use the last GDB that works fine in the major cases. What GDB version represents that? The URL that I wrote gets the 7.3 version. That is the recommended by Lazarus Team? Marcos Douglas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal