]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of 'gdb-many-windows'
authorEli Zaretskii <eliz@gnu.org>
Fri, 5 Jan 2018 15:05:42 +0000 (17:05 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 5 Jan 2018 15:05:42 +0000 (17:05 +0200)
* doc/emacs/building.texi (GDB User Interface Layout): Add advice
for using a separate frame for 'gdb-many-windows'.

doc/emacs/building.texi

index 6af2d9d7545552fd011230127c45120b51720c6f..eb8d2027cf8de13e1fe4ed600b8eb88b0baa24b5 100644 (file)
@@ -916,6 +916,14 @@ layout by typing @kbd{M-x gdb-restore-windows}.  To toggle
 between the many windows layout and a simple layout with just the GUD
 interaction buffer and a source file, type @kbd{M-x gdb-many-windows}.
 
+  If you have an elaborate window setup, and don't want
+@code{gdb-many-windows} to disrupt that, it is better to invoke
+@kbd{M-x gdb} in a separate frame to begin with, then the arrangement
+of windows on your original frame will not be affected.  A separate
+frame for GDB sessions can come in especially handy if you work on a
+text-mode terminal, where the screen estate for windows could be at a
+premium.
+
   You may also specify additional GDB-related buffers to display,
 either in the same frame or a different one.  Select the buffers you
 want by typing @code{M-x gdb-display-@var{buffertype}-buffer} or