LazDebuggerFpRspRemote
Note: For more information about the Free Pascal debugger see Debugger Status and FpDebug
LazDebuggerFpRspRemote is a debugger integrated into the IDE based on FpDebug. It inherits from LazDebuggerFp and adds the functionality to debug a remote target using gdb's remote serial protocol over tcp/ip. It is intended that simple targets with gdbserver stub implementations will be supported. Currently only the AVR target is supported. This package is not stable yet.
Installation in the IDE
Install the package LazDebuggerFpRspRemote
- menu [Package|Install/Uninstall packages]
- click LazDebuggerFpRspRemote in right pane, and push button [Install selection]
- Button [Save and rebuild IDE]
Debugger specific options
Tools | Options | Debugger | Debugger backend
Select RSP [FpDebug Dwarf remote debugger - RSP]
Compiling
Project | Options | Compiler Options | Debugging
Many of the options are identical to LazDebuggerFp, only the options added by LazDebuggerFpRspRemote will be listed here:
AfterConnectMonitorCommands
Send remote monitor commands to configure the remote gdb stub.
AfterUploadBreakZero
Option to add a breakpoint at address zero. This is intended for debugging startup code of embedded targets.
AfterUploadMonitorCmds
Some gdbserver stubs needs to reset the target after the firmware is uploaded. The monitor reset command can be given here.
Host
Specify the host IP address or network name where the gdbserver stub is running. Use localhost if it is running on the same computer as the debugger instance.
Port
The tcp/ip port to connect to.
SkipUploadOfSectionList
Specify a list of Elf sections marked as loadable that should not be uploaded to the target. This could be used to skip altering fuse or EEPROM values.
UploadBinary
If set to true, upload loadable section contents to the target before continuing with debugging. Some gdbserver stubs to not support writing to memory when in debug mode, these gdbservers must be launched with the appropriate options to load the latest executable version of the project being debugged.
From the Free Pascal wiki, page "LazDebuggerFpRspRemote", as it stood on 2022-01-09 after a change by Ccrause, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
