FirmAE icon indicating copy to clipboard operation
FirmAE copied to clipboard

can't set breakpoint with gdb-multiarch in remote debug

Open Marchibun opened this issue 2 years ago • 1 comments

After i selected the gdb-server to remote debug, i launched the gdb-multiarch to connect the target ip and port, since gdb-multiarch need to access firmware's filesysterm, so i typed "sysroot /filepath" to get the right of accessing, but it till not working, and i have try to mount firmware's filesysterm by executing /script/mount.sh, and it nothing changes. how can i fix it ? image

image

image

image

image

Marchibun avatar Aug 24 '22 07:08 Marchibun

Sorry for the lateness.

gdb-multiarch can perform without a target filesystem. It can download target binaries from a remote gdbserver.

If you correctly select the target PID in menu 4, then just command target remote 192.168.0.1:1337 in gdb-multiarch.

pr0v3rbs avatar Oct 03 '22 06:10 pr0v3rbs