[Lazarus] Testers for GDB Based debugger / Windows / Lazarus SVN

Martin Frb lazarus at mfriebe.de
Sun Mar 28 03:03:06 CEST 2021


Looking for testers for some updates to the GDB based debugger.

Anyone using Lazarus SVN on Windows (64 or 32 bit)

* Testing the current GDB  (includes users on all other OS - if gdb is used)
- please update to rev 64877 or later
Ensure all works as before.


* Testing the **NEW** GDB
- please update to rev 64877 or later
- Download the new version of GDB (and cygwin1.dll) from
   32Bit: 
https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Alternative%20GDB/GDB%209.2/
   64Bit: 
https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Alternative%20GDB/GDB%209.2/

- Place GDB exe and cygwin1.dll in a new Folder.
- Tools > Options > Debugger Backend
   Choose the new gdb.exe

What are the changes.

The new version of GDB supports Unicode for
- Environment (any existing, as well as any env-var set under "Run > Run 
Param" can now contain Unicode)
- Command line arguments "Run > Run Param"
- Hopefully the Path of the current dir, and the exe name (though the 
latter is limited by what FPC can generate)
This does/should not affect inspecting variables, even if the contain 
Unicode.

All else should work as before.

Since the new gdb has a habit of showing directories as 
/cygdrive/c/path, the IDE now has code to correct that. Look out, if 
"/cygdrive/" is displayed anywhere by the debugger.

Thanks



More information about the lazarus mailing list