can't set breakpoint with gdb-multiarch in remote debug
Marchibun opened this issue · 1 comments
Marchibun commented
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 ?
pr0v3rbs commented
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
.