GDB cannot access memory after Emacs abort

Andreas Schwab schwab@suse.de
Tue Nov 13 23:51:00 GMT 2007


Stephen Berman <Stephen.Berman@gmx.net> writes:

> Note, however, that this only happens when running emacs under gdb; if I
> start emacs directly from the shell, induce the abort, then the Emacs
> window vanishes, but the desktop remains responsive and no other
> problems are apparent.

Of course, when an X client disappears any grab held by it is
automatically cancelled.

> So again the (or a) question is, why does this only happen when running
> emacs under gdb?

Because the process is _stopped_, not killed.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gdb mailing list