LazDebuggerFpRspRemote: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: LazDebuggerFpRspRemote
| Old | New | Line | |
|---|---|---|---|
| 1 | + | > **Note:** For more information about the Free Pascal debugger see [[Debugger Status]] and [[FpDebug]] | |
| 2 | + | ||
| 3 | + | **LazDebuggerFpRspRemote** is a [[Debugger|debugger]] integrated into the IDE based on <b>[[FpDebug]]</b>. 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. | |
| 4 | + | ||
| 5 | + | ## Installation in the IDE | |
| 6 | + | ||
| 7 | + | Install the package LazDebuggerFpRspRemote | |
| 8 | + | ||
| 9 | + | - menu \[Package\|Install/Uninstall packages\] | |
| 10 | + | - click **LazDebuggerFpRspRemote** in right pane, and push button \[Install selection\] | |
| 11 | + | - Button \[Save and rebuild IDE\] | |
| 12 | + | ||
| 13 | + | ## Debugger specific options | |
| 14 | + | ||
| 15 | + | `Tools | `[[IDE Window: IDE Options Dialog|Options]]` | `[[IDE Window: Debugger Options|Debugger]]` | Debugger backend` | |
| 16 | + | ||
| 17 | + | Select RSP \[FpDebug Dwarf remote debugger - RSP\] | |
| 18 | + | ||
| 19 | + | ## Compiling | |
| 20 | + | ||
| 21 | + | `Project | Options | `[[IDE Window: Compiler Options|Compiler Options]]` | `[[IDE Window: Compiler Options|Debugging]] | |
| 22 | + | ||
| 23 | + | Many of the options are identical to [[LazDebuggerFp]], only the options added by LazDebuggerFpRspRemote will be listed here: | |
| 24 | + | ||
| 25 | + | AfterConnectMonitorCommands | |
| 26 | + | Send remote monitor commands to configure the remote gdb stub. | |
| 27 | + | ||
| 28 | + | AfterUploadBreakZero | |
| 29 | + | Option to add a breakpoint at address zero. This is intended for debugging startup code of embedded targets. | |
| 30 | + | ||
| 31 | + | AfterUploadMonitorCmds | |
| 32 | + | Some gdbserver stubs needs to reset the target after the firmware is uploaded. The monitor reset command can be given here. | |
| 33 | + | ||
| 34 | + | Host | |
| 35 | + | 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. | |
| 36 | + | ||
| 37 | + | Port | |
| 38 | + | The tcp/ip port to connect to. | |
| 39 | + | ||
| 40 | + | SkipUploadOfSectionList | |
| 41 | + | 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. | |
| 42 | + | ||
| 43 | + | UploadBinary | |
| 44 | + | 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. | |
| 45 | + | ||
| 46 | + | --- | |
| 47 | + | *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).* | |
| 48 | + | Category: Debugging |
