On Sun, 21 Apr 2002, Robert Watson wrote:

> On Mon, 22 Apr 2002, Joshua Goodall wrote:
> 
> In recent -CURRENT, you can just use
> 
>   trace <pid>
> 
> or
> 
>   trace <addressofstack>
> 
> I have to say that since that since this feature was introduced, life
> has become a *lot* easier :-). 

Sigh.  Remote gdb, not ddb.  I tried the usual tricks (updating $sp in
gdb, etc) but gdb persisted in using the old frame.  Nevermind.  It seemed
to me that on i386, just using the value of

allproc.lh_first->(....)->p_threads.tqh_first.td_frame.tf_esp

should DTRT, but apparently not.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
[EMAIL PROTECTED]      NAI Labs, Safeport Network Services



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to