comparison man/building.texi @ 78961:b1c01a5355f9

(GDB Graphical Interface): Remove references to gdba and mention gud-gdb.
author Nick Roberts <nickrob@snap.net.nz>
date Thu, 04 Oct 2007 07:54:41 +0000
parents 62ba8fc1101f
children 25fa3be251af
comparison
equal deleted inserted replaced
78960:d11b67d93bf3 78961:b1c01a5355f9
818 This mode requires telling GDB that its ``screen size'' is 818 This mode requires telling GDB that its ``screen size'' is
819 unlimited, so it sets the height and width accordingly. For correct 819 unlimited, so it sets the height and width accordingly. For correct
820 operation you must not change these values during the GDB session. 820 operation you must not change these values during the GDB session.
821 821
822 @vindex gud-gdb-command-name 822 @vindex gud-gdb-command-name
823 @findex gdba 823 You can also run GDB in text command mode, like the other debuggers
824 You can also run GDB in text command mode, like other debuggers. To 824 in Emacs. To do this, replace the GDB @code{"--annotate=3"} option
825 do this, replace the GDB @code{"--annotate=3"} option with 825 with @code{"--fullname"} either in the minibuffer for the current
826 @code{"--fullname"} either in the minibuffer for the current Emacs 826 Emacs session, or the custom variable @code{gud-gdb-command-name} for
827 session, or the custom variable @code{gud-gdb-command-name} for all 827 all future sessions. You need to use text command mode to debug
828 future sessions. You need to use text command mode to debug multiple 828 multiple programs within one Emacs session. You can also use
829 programs within one Emacs session. If you have customized 829 @kbd{M-x gud-gdb} to invoke GDB in text command mode if you have
830 @code{gud-gdb-command-name} in this way, you can use @kbd{M-x gdba} to 830 problems before execution has started.
831 invoke GDB in graphical mode. Moreover, this command succeeds where
832 @kbd{M-x gdb} fails, such as when your @file{.gdbinit} file contains
833 executable GDB commands.
834 831
835 @menu 832 @menu
836 * GDB-UI Layout:: Control the number of displayed buffers. 833 * GDB-UI Layout:: Control the number of displayed buffers.
837 * Source Buffers:: Use the mouse in the fringe/margin to 834 * Source Buffers:: Use the mouse in the fringe/margin to
838 control your program. 835 control your program.