gdb - gdbserver: execute a shell commands of a target -
e.g. !ls
execute «ls» command in gdb itself, how on remote side?
it should simple, can't figure out. from documentation page of target remote | ls
or target remote | !ls
should trick, either documentation wrong, either didn't understood right — after such command gdb trying close current session, , start debugging «ls» binary.
also found there monitor cmd
mentioned, monitor !ls
triggers unknown monitor command
message.
shell gdb remote-debugging gdbserver
No comments:
Post a Comment