Sign in Join
Wiki copytemporary

LazDebuggerFpRspRemote: what changed

Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11> **Note:** For more information about the Free Pascal debugger see [[Debugger Status]] and [[FpDebug]]
22
33**LazDebuggerFpRspRemote** is a [[Debugger|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.
44
55## Installation in the IDE
66
77Install the package LazDebuggerFpRspRemote
88
99- menu \[Package\|Install/Uninstall packages\]
1010- click **LazDebuggerFpRspRemote** in right pane, and push button \[Install selection\]
1111- Button \[Save and rebuild IDE\]
1212
1313## Debugger specific options
1414
15-`Tools | `[[IDE Window: IDE Options Dialog|Options]]` | `[[IDE Window: Debugger Options|Debugger]]` | Debugger backend`
15+```text
16+Tools | Options | Debugger | Debugger backend
17+```
1618
1719Select RSP \[FpDebug Dwarf remote debugger - RSP\]
1820
1921## Compiling
2022
21-`Project | Options | `[[IDE Window: Compiler Options|Compiler Options]]` | `[[IDE Window: Compiler Options|Debugging]]
23+```text
24+Project | Options | Compiler Options | Debugging
25+```
2226
2327Many of the options are identical to [[LazDebuggerFp]], only the options added by LazDebuggerFpRspRemote will be listed here:
2428
2529AfterConnectMonitorCommands
2630Send remote monitor commands to configure the remote gdb stub.
2731
2832AfterUploadBreakZero
2933Option to add a breakpoint at address zero. This is intended for debugging startup code of embedded targets.
3034
3135AfterUploadMonitorCmds
3236Some gdbserver stubs needs to reset the target after the firmware is uploaded. The monitor reset command can be given here.
3337
3438Host
3539Specify 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.
3640
3741Port
3842The tcp/ip port to connect to.
3943
4044SkipUploadOfSectionList
4145Specify 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.
4246
4347UploadBinary
4448If 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.
4549
4650---
4751*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](/wiki-contact).*
4852Category: Debugging

Back to history