diff options
| author | Nick Roberts | 2006-04-17 20:26:27 +0000 |
|---|---|---|
| committer | Nick Roberts | 2006-04-17 20:26:27 +0000 |
| commit | 58dfccb32d08688ae4e0688d8d2aed59c0ac09d2 (patch) | |
| tree | bdcd7f7470bfe015be6ec9501c850851cf386e94 | |
| parent | 791223f7e868cc90de8ff641045c189d51ba3792 (diff) | |
| download | emacs-58dfccb32d08688ae4e0688d8d2aed59c0ac09d2.tar.gz emacs-58dfccb32d08688ae4e0688d8d2aed59c0ac09d2.zip | |
(Watch Expressions): Update.
| -rw-r--r-- | man/building.texi | 15 |
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 |
| 933 | stops, move point into the variable name and click on the watch icon | 934 | stops, move point into the variable name and click on the watch icon |
| 934 | in the tool bar (@code{gud-watch}). | 935 | in the tool bar (@code{gud-watch}) or type @kbd{C-x C-a C-w}. If you |
| 936 | specify a prefix argument, you can enter the variable name in the | ||
| 937 | minibuffer. | ||
| 935 | 938 | ||
| 936 | Each watch expression is displayed in the speedbar. Complex data | 939 | Each watch expression is displayed in the speedbar. Complex data |
| 937 | types, such as arrays, structures and unions are represented in a tree | 940 | types, such as arrays, structures and unions are represented in a tree |
| 938 | format. Leaves and simple data types show the name of the expression | 941 | format. Leaves and simple data types show the name of the expression |
| 939 | and its value and, when the speedbar frame is selected, display the | 942 | and its value and, when the speedbar frame is selected, display the |
| 940 | type as a tooltip. Higher levels show the name, type and address | 943 | type as a tooltip. Higher levels show the name, type and address |
| 941 | value for pointers and just the name and type otherwise. | 944 | value for pointers and just the name and type otherwise. Root expressions |
| 945 | also display the frame address as a tooltip to help identify the frame | ||
| 946 | in 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} |
| 944 | on the tag to the left of the expression. | 949 | on 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 |
| 948 | expression in the speedbar and type @kbd{D} (@code{gdb-var-delete}). | 954 | expression 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 |
| 967 | non-@code{nil}, Emacs uses the @samp{@var{function}::@var{variable}} | 973 | non-@code{nil}, Emacs uses the @samp{@var{function}::@var{variable}} |
| 968 | format to display variables in the speedbar. Since this does not work | 974 | format. This allows the user to display watch expressions which share |
| 969 | for variables defined in compound statements, the default value is | 975 | the 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 |
| 973 | To automatically raise the speedbar every time the display of watch | 978 | To automatically raise the speedbar every time the display of watch |