Mail Archives: djgpp-workers/1999/03/16/05:12:30
On Fri, 12 Mar 1999, Nate Eldredge wrote:
> If GDB
> tries to access a page I have uncommitted, GDB itself crashes. "Cannot
> continue from exception..."
What did you expect? After all, GDB runs in the same process as the
debuggee, right?
> I'm not sure if there is anything to be done about this, but if so it's
> going to make my system rather a pain to use.
Can't you fix the problem (by committing the page) before returning?
The ``cannot continue'' problem is easy to work around (just longjmp
instead of returning), but you need to fix the cause of the exception
first.
I'm afraid I don't have a clear idea of what you wanted to do,
though. Suppose the debugger weren't crashing: what did you want to
do then? Why did you try to access the uncommitted page in the first
place?
- Raw text -