aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/building.texi15
1 files changed, 10 insertions, 5 deletions
diff --git a/man/building.texi b/man/building.texi
index ec44b828022..cc5e667f1c3 100644
--- a/man/building.texi
+++ b/man/building.texi
@@ -929,20 +929,26 @@ the new frame.
929@cindex Watching expressions in GDB 929@cindex Watching expressions in GDB
930 930
931@findex gud-watch 931@findex gud-watch
932@kindex C-x C-a C-w @r{(GUD)}
932 If you want to see how a variable changes each time your program 933 If you want to see how a variable changes each time your program
933stops, move point into the variable name and click on the watch icon 934stops, move point into the variable name and click on the watch icon
934in the tool bar (@code{gud-watch}). 935in the tool bar (@code{gud-watch}) or type @kbd{C-x C-a C-w}. If you
936specify a prefix argument, you can enter the variable name in the
937minibuffer.
935 938
936 Each watch expression is displayed in the speedbar. Complex data 939 Each watch expression is displayed in the speedbar. Complex data
937types, such as arrays, structures and unions are represented in a tree 940types, such as arrays, structures and unions are represented in a tree
938format. Leaves and simple data types show the name of the expression 941format. Leaves and simple data types show the name of the expression
939and its value and, when the speedbar frame is selected, display the 942and its value and, when the speedbar frame is selected, display the
940type as a tooltip. Higher levels show the name, type and address 943type as a tooltip. Higher levels show the name, type and address
941value for pointers and just the name and type otherwise. 944value for pointers and just the name and type otherwise. Root expressions
945also display the frame address as a tooltip to help identify the frame
946in which they were defined.
942 947
943 To expand or contract a complex data type, click @kbd{Mouse-2} 948 To expand or contract a complex data type, click @kbd{Mouse-2}
944on the tag to the left of the expression. 949on the tag to the left of the expression.
945 950
951@kindex D @r{(GDB speedbar)}
946@findex gdb-var-delete 952@findex gdb-var-delete
947 To delete a complex watch expression, move point to the root 953 To delete a complex watch expression, move point to the root
948expression in the speedbar and type @kbd{D} (@code{gdb-var-delete}). 954expression in the speedbar and type @kbd{D} (@code{gdb-var-delete}).
@@ -965,9 +971,8 @@ edit its value.
965@vindex gdb-use-colon-colon-notation 971@vindex gdb-use-colon-colon-notation
966 If the variable @code{gdb-use-colon-colon-notation} is 972 If the variable @code{gdb-use-colon-colon-notation} is
967non-@code{nil}, Emacs uses the @samp{@var{function}::@var{variable}} 973non-@code{nil}, Emacs uses the @samp{@var{function}::@var{variable}}
968format to display variables in the speedbar. Since this does not work 974format. This allows the user to display watch expressions which share
969for variables defined in compound statements, the default value is 975the same variable name. The default value is @code{nil}.
970@code{nil}.
971 976
972@vindex gdb-speedbar-auto-raise 977@vindex gdb-speedbar-auto-raise
973To automatically raise the speedbar every time the display of watch 978To automatically raise the speedbar every time the display of watch