aboutsummaryrefslogtreecommitdiff
path: root/src/monkey/gdbmi_var_obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/monkey/gdbmi_var_obj.c')
-rw-r--r--src/monkey/gdbmi_var_obj.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/monkey/gdbmi_var_obj.c b/src/monkey/gdbmi_var_obj.c
index d3829dbd2..435feecb7 100644
--- a/src/monkey/gdbmi_var_obj.c
+++ b/src/monkey/gdbmi_var_obj.c
@@ -5,7 +5,8 @@
5 5
6 Module: Variable objects. 6 Module: Variable objects.
7 Comments: 7 Comments:
8 GDB/MI commands for the "Variable Objects" section.@p 8 GDB/MI commands for the "Variable Objects" section.
9 @<p>
9 10
10@<pre> 11@<pre>
11gdb command: Imp? Description: 12gdb command: Imp? Description:
@@ -23,13 +24,14 @@ gdb command: Imp? Description:
23-var-update Yes* update the variable and its children 24-var-update Yes* update the variable and its children
24@</pre> 25@</pre>
25 26
26Notes:@p 27Notes: @<p>
271) I suggest letting gdb to choose the names for the variables.@* 281) I suggest letting gdb to choose the names for the variables.@*
282) -var-list-children supports an optional "show values" argument in MI v2. 292) -var-list-children supports an optional "show values" argument in MI v2.
29It isn't implemented.@* 30It isn't implemented.@*
30@p
31 31
32* MI v1 and v2 result formats supported.@p 32 @<p>
33
34* MI v1 and v2 result formats supported. @<p>
33 35
34***************************************************************************/ 36***************************************************************************/
35 37
@@ -113,7 +115,7 @@ void mi_var_list_children(mi_h *h, const char *name)
113/**[txh]******************************************************************** 115/**[txh]********************************************************************
114 116
115 Description: 117 Description:
116 Create a variable object. I recommend using @x{gmi_var_create} and letting 118 Create a variable object. I recommend using gmi_var_create and letting
117gdb choose the names. 119gdb choose the names.
118 120
119 Command: -var-create 121 Command: -var-create
@@ -131,7 +133,7 @@ mi_gvar *gmi_var_create_nm(mi_h *h, const char *name, int frame, const char *exp
131 133
132 Description: 134 Description:
133 Create a variable object. The name is selected by gdb. Alternative: 135 Create a variable object. The name is selected by gdb. Alternative:
134@x{gmi_full_var_create}. 136 gmi_full_var_create.
135 137
136 Command: -var-create [auto name] 138 Command: -var-create [auto name]
137 Return: A new mi_gvar strcture or NULL on error. 139 Return: A new mi_gvar strcture or NULL on error.
@@ -292,7 +294,7 @@ mi_gvar *gmi_full_var_create(mi_h *h, int frame, const char *exp)
292updated. 294updated.
293 295
294 Command: -var-update 296 Command: -var-update
295 Return: !=0 OK. The @var{changed} list contains the list of changed vars. 297 Return: !=0 OK. The changed list contains the list of changed vars.
296 298
297***************************************************************************/ 299***************************************************************************/
298 300
@@ -305,7 +307,7 @@ int gmi_var_update(mi_h *h, mi_gvar *var, mi_gvar_chg **changed)
305/**[txh]******************************************************************** 307/**[txh]********************************************************************
306 308
307 Description: 309 Description:
308 Change variable. The new value replaces the @var{value} field. 310 Change variable. The new value replaces the value field.
309 311
310 Command: -var-assign 312 Command: -var-assign
311 Return: !=0 OK 313 Return: !=0 OK