GNU bug report logs -
#11365
24.1.50; quitting gdb does not restore window configuration
Previous Next
Reported by: sds <at> gnu.org
Date: Fri, 27 Apr 2012 18:42:02 UTC
Severity: wishlist
Tags: moreinfo
Found in version 24.1.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Wed, 02 May 2012 11:40:03 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: sds <at> gnu.org, 11365 <at> debbugs.gnu.org
>
> > The function to look at is gdb-reset.
> > (gdb-delete-frame-or-window is just what causes GDB to quit, but when
> > it actually does, the comint process sentinel kicks in and calls
> > gdb-reset.) But for gdb-reset to do what Sam wants, gdb-setup-windows
> > should record the configuration of windows before it sets up the GDB
> > windows, otherwise we will have no information about the previous
> > window configuration.
>
> I fail to understand you. The window configuration *is* handled by
> `gdb-delete-frame-or-window'. What should `gdb-reset' do about it and
> when? IIUC Sam wants `gdb-delete-frame-or-window' restore a previous
> configuration.
It is IMO wrong to do what Sam wants in gdb-delete-frame-or-window.
That's because the restoration of the window configuration should be
done when GDB actually exits, not when the user _tells_ GDB to exit.
The function which handles the exit event is gdb-reset.
This bug report was last modified 2 years and 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.