boards: esp32: add note on using GDB stub
This adds note to the board documentation about using GDB stub on the esp32 board. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
bdc812c15a
commit
5040f94dd6
1 changed files with 11 additions and 0 deletions
|
@ -243,6 +243,17 @@ FSF mainline get inexplicable protocol errors when connecting.
|
||||||
Further documentation can be obtained from the SoC vendor in `JTAG debugging
|
Further documentation can be obtained from the SoC vendor in `JTAG debugging
|
||||||
for ESP32`_.
|
for ESP32`_.
|
||||||
|
|
||||||
|
Note on Debugging with GDB Stub
|
||||||
|
===============================
|
||||||
|
|
||||||
|
GDB stub is enabled on ESP32.
|
||||||
|
|
||||||
|
* When adding breakpoints, please use hardware breakpoints with command
|
||||||
|
``hbreak``. Command ``break`` uses software breakpoints which requires
|
||||||
|
modifying memory content to insert break/trap instructions.
|
||||||
|
This does not work as the code is on flash which cannot be randomly
|
||||||
|
accessed for modification.
|
||||||
|
|
||||||
References
|
References
|
||||||
**********
|
**********
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue