unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Frustration with gud (gdb)
@ 2014-02-14 20:15 Neal Becker
  0 siblings, 0 replies; 2+ messages in thread
From: Neal Becker @ 2014-02-14 20:15 UTC (permalink / raw)
  To: help-gnu-emacs

I've been using emacs and occasionally needing to use gdb for probably 20 years.  
But I can't seem to get it to work now.

I have my source window, and Input/Output window showing.  I can't get to gdb 
buffer, if I try to switch to it, I get:

Can't switch buffers in a dedicated window




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Frustration with gud (gdb)
@ 2014-02-14 22:57 Christian Henz
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Henz @ 2014-02-14 22:57 UTC (permalink / raw)
  To: help-gnu-emacs


> I have my source window, and Input/Output window showing. I can't get to gdb
> buffer, if I try to switch to it, I get:
>
> Can't switch buffers in a dedicated window

I have recently switched to Emacs 24, and this bothered me as well. But it seems that when you start GDB with "gud-gdb" instead of "gdb", you get the familiar combined buffer *without* any dedicated windows.

Also, you can programatically "un-dedicate" a window. Unfortunately there is no interactive function provided for this, but it is easy to write yourself or find online (first search result: https://github.com/statico/dotfiles/blob/master/.emacs.d/elisp/toggle-current-window-dedication.el).

Cheers,
Christian



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-14 22:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-14 22:57 Frustration with gud (gdb) Christian Henz
  -- strict thread matches above, loose matches on Subject: below --
2014-02-14 20:15 Neal Becker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).