cs01 / gdbgui

Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in your browser.
https://gdbgui.com
GNU General Public License v3.0
9.9k stars 499 forks source link

[gcc-arm-none-eabi] Cannot access memory at address #422

Open liukangcc opened 2 years ago

liukangcc commented 2 years ago

Describe the bug gdb error reading variable: Cannot access memory at address 0xdeadbef.

To Reproduce Steps to reproduce the behavior:

  1. debug board: NUCLEO-F412ZG
  2. download gdbgui: pip install gdbgui
  3. download arm-none-eabi-gcc
  4. download pyocd: pip install pyocd
  5. compile NUCLEO-F412ZG project and generate .elf file
  6. start pyocd: pyocd gdbserver --board NUCLEO-F412ZG
  7. start gdbgui: gdbgui -g /home/tools/gcc-arm-none-eabi-10.3-2021.07/bin/arm-none-eabi-gdb
  8. load Binary
  9. Connect to gdbserver

Screenshots image

image

Please complete the following information: