> 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

Reply via email to