Mercurial > emacs
comparison man/building.texi @ 72227:ae7cfda9e821
(GDB Graphical Interface): Shorten node names.
(GDB-UI Layout): Use GDB-related.
(Stack Buffer): Simplify English.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Tue, 01 Aug 2006 06:50:51 +0000 |
parents | 423408615aaa |
children | bec9a701aee6 858cb33ae39d |
comparison
equal
deleted
inserted
replaced
72226:8e59824f44f3 | 72227:ae7cfda9e821 |
---|---|
831 do use text command mode to run multiple debugging sessions within one | 831 do use text command mode to run multiple debugging sessions within one |
832 Emacs session. If you have customized @code{gud-gdb-command-name} in | 832 Emacs session. If you have customized @code{gud-gdb-command-name} in |
833 that way, you can use @kbd{M-x gdba} to invoke GDB in graphical mode. | 833 that way, you can use @kbd{M-x gdba} to invoke GDB in graphical mode. |
834 | 834 |
835 @menu | 835 @menu |
836 * GDB User Interface Layout:: Control the number of displayed buffers. | 836 * GDB-UI Layout:: Control the number of displayed buffers. |
837 * Source Buffers:: Use the mouse in the fringe/margin to | 837 * Source Buffers:: Use the mouse in the fringe/margin to |
838 control your program. | 838 control your program. |
839 * Breakpoints Buffer:: A breakpoint control panel. | 839 * Breakpoints Buffer:: A breakpoint control panel. |
840 * Stack Buffer:: Select a frame from the call stack. | 840 * Stack Buffer:: Select a frame from the call stack. |
841 * Other GDB User Interface Buffers:: Input/output, locals, registers, | 841 * Other GDB-UI Buffers:: Input/output, locals, registers, |
842 assembler, threads and memory buffers. | 842 assembler, threads and memory buffers. |
843 * Watch Expressions:: Monitor variable values in the speedbar. | 843 * Watch Expressions:: Monitor variable values in the speedbar. |
844 @end menu | 844 @end menu |
845 | 845 |
846 @node GDB User Interface Layout | 846 @node GDB-UI Layout |
847 @subsubsection GDB User Interface Layout | 847 @subsubsection GDB User Interface Layout |
848 @cindex GDB User Interface layout | 848 @cindex GDB User Interface layout |
849 | 849 |
850 @vindex gdb-many-windows | 850 @vindex gdb-many-windows |
851 If the variable @code{gdb-many-windows} is @code{nil} (the default | 851 If the variable @code{gdb-many-windows} is @code{nil} (the default |
882 @findex gdb-many-windows | 882 @findex gdb-many-windows |
883 To switch between this standard layout and a simple layout | 883 To switch between this standard layout and a simple layout |
884 containing just the GUD buffer and a source file, type @kbd{M-x | 884 containing just the GUD buffer and a source file, type @kbd{M-x |
885 gdb-many-windows}. | 885 gdb-many-windows}. |
886 | 886 |
887 You may also specify additional GUD-related buffers to display, | 887 You may also specify additional GDB-related buffers to display, |
888 either in the same frame or a different one. Select the buffers you | 888 either in the same frame or a different one. Select the buffers you |
889 want with the @samp{GUD->GDB-windows} and @samp{GUD->GDB-Frames} | 889 want with the @samp{GUD->GDB-windows} and @samp{GUD->GDB-Frames} |
890 sub-menus. If the menu-bar is unavailable, type @code{M-x | 890 sub-menus. If the menu-bar is unavailable, type @code{M-x |
891 gdb-display-@var{buffertype}-buffer} or @code{M-x | 891 gdb-display-@var{buffertype}-buffer} or @code{M-x |
892 gdb-frame-@var{buffertype}-buffer} respectively, where | 892 gdb-frame-@var{buffertype}-buffer} respectively, where |
1006 frame and type @key{RET} (@code{gdb-frames-select}), or click | 1006 frame and type @key{RET} (@code{gdb-frames-select}), or click |
1007 @kbd{Mouse-2} on a stack frame. If the locals buffer is visible, | 1007 @kbd{Mouse-2} on a stack frame. If the locals buffer is visible, |
1008 selecting a stack frame updates it to display the local variables of | 1008 selecting a stack frame updates it to display the local variables of |
1009 the new frame. | 1009 the new frame. |
1010 | 1010 |
1011 @node Other GDB User Interface Buffers | 1011 @node Other GDB-UI Buffers |
1012 @subsubsection Other Buffers | 1012 @subsubsection Other Buffers |
1013 | 1013 |
1014 @table @asis | 1014 @table @asis |
1015 @item Input/Output Buffer | 1015 @item Input/Output Buffer |
1016 @vindex gdb-use-separate-io-buffer | 1016 @vindex gdb-use-separate-io-buffer |
1017 If the variable @code{gdb-use-separate-io-buffer} is non-@code{nil}, | 1017 If the variable @code{gdb-use-separate-io-buffer} is non-@code{nil}, |
1018 the executable program that is being debugged takes its input and | 1018 the program being debugged takes its input and displays its output |
1019 displays its output here. Otherwise it uses the GUD buffer for that. | 1019 here. Otherwise it uses the GUD buffer for that. To toggle whether |
1020 To toggle whether GUD mode uses this buffer, do @kbd{M-x | 1020 GUD mode uses this buffer, do @kbd{M-x gdb-use-separate-io-buffer}. |
1021 gdb-use-separate-io-buffer}. That takes effect when you next | 1021 That takes effect when you next restart the program you are debugging. |
1022 restart the program you are debugging. | |
1023 | 1022 |
1024 The history and replay commands from Shell mode are available here, | 1023 The history and replay commands from Shell mode are available here, |
1025 as are the commands to send signals to the program you are debugging. | 1024 as are the commands to send signals to the debugged program. |
1026 @xref{Shell Mode}. | 1025 @xref{Shell Mode}. |
1027 | 1026 |
1028 @item Locals Buffer | 1027 @item Locals Buffer |
1029 The locals buffer displays the values of local variables of the | 1028 The locals buffer displays the values of local variables of the |
1030 current frame for simple data types (@pxref{Frame Info, Frame Info, | 1029 current frame for simple data types (@pxref{Frame Info, Frame Info, |