bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LD_DEBUG not giving anything


From: Roland McGrath
Subject: Re: LD_DEBUG not giving anything
Date: Sat, 16 Jun 2001 19:41:32 -0400 (EDT)

It's not your breakpoint, it's the starting trap.  You can't use "run" to
debug initialization, because the initial SIGTRAP is sent after libc is
initialized.  You need to attach to the task before it starts running.  
Use shd to run it:

bash# /bin/shd
# pause
# ld.so /bin/rpctrace
Pausing (child PID 123)...

Then you can use gdb to attach to PID 123 before hitting return,
and then gdb will have the task suspended before ld.so starts running.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]