[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debugging a pager
From: |
Diego Roversi |
Subject: |
Re: debugging a pager |
Date: |
Fri, 28 Dec 2001 11:09:05 +0100 |
User-agent: |
Mutt/1.2.5i |
On Fri, Dec 21, 2001 at 03:26:05PM -0800, Thomas Bushnell, BSG wrote:
> > I discover a strange thing. The process stop when encounter the breakpoint
> > but the stack frame is of the instruction that start the page foult, instead
> > of the pager. So I can't follow the dev_read step by step. I hope it was
> > clear...
>
> One thread is the instruction that generated the page fault, a
> different thread is the thread which is handling the fault.
Thanks. But I still have some problem... I used the info thread, and thread
gdb commands, and now I can see the stack of the offending thread, but I
can't use step and next command, they work like continue. The only way is to
set a lot of breakpoint in the target function, but maybe I'm still
missing something.
TIA.
--
Saluti / Regards
Diego Roversi | diegor at maganet.net
| diegor at tiscalinet.it