gdbstub initial code
Srikar Dronamraju
srikar at linux.vnet.ibm.com
Tue Jul 13 05:44:40 UTC 2010
> Hello.
>
> Please see the attachment. Don't take this code seriously, this is
> the early prototype and everything should be rewritten. It barely
> uses utrace, only to stop the target.
>
> (gdb) file /path/to/binary
> (gdb) target extended-remote /proc/ugdb
> (gdb) attach PID
> (gdb) disassemble _start
What is the reasoning for selecting /proc/ugdb instead of something like
/proc/<pid>/ugdb?
We had a discussion sometime back in utrace_devel
https://www.redhat.com/archives/utrace-devel/2008-June/msg00070.html
where we thought having /proc/utrace was a bad choice.
--
Thanks and Regards
Srikar
More information about the utrace-devel
mailing list