gdbgui icon indicating copy to clipboard operation
gdbgui copied to clipboard

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

Open liukangcc opened this issue 2 years ago • 0 comments

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:

  • OS: ubuntu 20.04
  • gdbgui version (gdbgui -v): 0.15.0.1
  • gdb version (gdb -v):GNU gdb (GNU Arm Embedded Toolchain 10.3-2021.07) 10.2.90.20210621-git
  • browser [e.g. chrome, safari]:edge
  • python packages (pip freeze):

liukangcc avatar Mar 10 '22 01:03 liukangcc