comparison man/building.texi @ 66421:c5bb9ba4c102

(GDB Graphical Interface): Describe gdb-mouse-until.
author Nick Roberts <nickrob@snap.net.nz>
date Tue, 25 Oct 2005 03:49:15 +0000
parents 4a7b16ad0fba
children 1b800330fe1f
comparison
equal deleted inserted replaced
66420:bfef75322aba 66421:c5bb9ba4c102
752 @findex gdb-mouse-toggle-breakpoint 752 @findex gdb-mouse-toggle-breakpoint
753 By default, the command @code{gdb} starts GDB using a graphical 753 By default, the command @code{gdb} starts GDB using a graphical
754 interface where you view and control the program's data using Emacs 754 interface where you view and control the program's data using Emacs
755 windows. You can still interact with GDB through the GUD buffer, but 755 windows. You can still interact with GDB through the GUD buffer, but
756 the point of this mode is that you can do it through menus and clicks, 756 the point of this mode is that you can do it through menus and clicks,
757 without needing to know GDB commands. For example, you can click 757 without needing to know GDB commands. For example, you can click
758 @kbd{Mouse-1} on a line of the source buffer, in the fringe or display 758 @kbd{Mouse-1} in the fringe or display margin of a source buffer to
759 margin, to set a breakpoint there. If a breakpoint already exists on 759 set a breakpoint there and, on a graphical display, a red bullet will
760 that line, this action will remove it 760 appear. If a breakpoint already exists on that line, this action will
761 (@code{gdb-mouse-set-clear-breakpoint}). Where Emacs uses the margin 761 remove it (@code{gdb-mouse-set-clear-breakpoint}). You can also
762 to display breakpoints, it is also possible to enable or disable them 762 enable or disable a breakpoint by clicking @kbd{Mouse-3} on the
763 when you click @kbd{Mouse-3} there 763 bullet. If you drag the debugger arrow in the fringe with
764 (@code{gdb-mouse-toggle-breakpoint}). 764 @kbd{Mouse-1}, execution will continue to where you release the button
765 (@code{gdb-mouse-until}). Alternatively, you can click @kbd{Mouse-2}
766 at some point in the fringe of this buffer and execution will advance
767 to there.
765 768
766 @vindex gud-gdb-command-name 769 @vindex gud-gdb-command-name
767 @findex gdba 770 @findex gdba
768 You can also run GDB in text command mode, which creates a buffer 771 You can also run GDB in text command mode, which creates a buffer
769 for input and output to GDB. To do this, set 772 for input and output to GDB. To do this, set