aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmds.h
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2009-09-19 09:59:29 +0000
committerVladimir Prus <vladimir@codesourcery.com>2009-09-19 09:59:29 +0000
commitdaf3c9776f0c101dea753d0011ac5c7ca2caf665 (patch)
tree586672edd26d68c87c57b6ded505daa5107729d9 /gdb/mi/mi-cmds.h
parent3145548fd3b5f2267576ef362280f5c89351728a (diff)
downloadgdb-daf3c9776f0c101dea753d0011ac5c7ca2caf665.zip
gdb-daf3c9776f0c101dea753d0011ac5c7ca2caf665.tar.gz
gdb-daf3c9776f0c101dea753d0011ac5c7ca2caf665.tar.bz2
* mi/mi-cmds.h (mi_cmd_stack_list_variables): Declare.
* mi/mi-cmds.c (mi_cmds): Register -stack-list-variables. * mi/mi-cmd-stack.c (enum what_to_list): New. (list_args_or_locals): Accept what_to_list parameter. Use 'variables' as output name of all are requested. (mi_cmd_stack_list_variables): New. (mi_cmd_stack_list_locals, mi_cmd_stack_list_args): Adjust.
Diffstat (limited to 'gdb/mi/mi-cmds.h')
-rw-r--r--gdb/mi/mi-cmds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mi/mi-cmds.h b/gdb/mi/mi-cmds.h
index dfab411..491c1f2 100644
--- a/gdb/mi/mi-cmds.h
+++ b/gdb/mi/mi-cmds.h
@@ -75,6 +75,7 @@ extern mi_cmd_argv_ftype mi_cmd_stack_info_frame;
extern mi_cmd_argv_ftype mi_cmd_stack_list_args;
extern mi_cmd_argv_ftype mi_cmd_stack_list_frames;
extern mi_cmd_argv_ftype mi_cmd_stack_list_locals;
+extern mi_cmd_argv_ftype mi_cmd_stack_list_variables;
extern mi_cmd_argv_ftype mi_cmd_stack_select_frame;
extern mi_cmd_argv_ftype mi_cmd_symbol_list_lines;
extern mi_cmd_argv_ftype mi_cmd_target_detach;