Re: GDB cannot access memory after Emacs abort

Andreas Schwab
2007-11-13T23:51:08Z

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."