2005-07-15 Nick Roberts <nickrob@snap.net.nz>
authorDaniel Jacobowitz <drow@false.org>
Fri, 15 Jul 2005 04:12:19 +0000 (04:12 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 15 Jul 2005 04:12:19 +0000 (04:12 +0000)
commit1ecb4ee0309ec7962314a8f98d45ac91be48aebf
treea653dbd8674e8acc1979271d013ec8a8023af084
parentfb6ae37f9e6776de6a048387949575b08a52ab1f
2005-07-15  Nick Roberts  <nickrob@snap.net.nz>
    Daniel Jacobowitz  <dan@codesourcery.com>

* mi/mi-cmds.h (mi_no_values, mi_simple_values, mi_all_values): New
declarations.
* mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Use string
constants instead of literals for MI command options.
* mi/mi-cmd-var.c (mi_no_values, mi_simple_values, mi_all_values):
New variables.
(mi_parse_values_option, mi_print_value_p): New functions.
(mi_cmd_var_list_children): Use mi_parse_values_option and
mi_print_value_p.
(mi_cmd_var_update): Support a PRINT_VALUES option.  Update calls
to varobj_update_one.
(varobj_update_one): Take a print_values argument.  Call
mi_print_value_p.
* varobj.c (varobj_get_gdb_type): New function.
* varobj.h (varobj_get_gdb_type): New prototype.
gdb/ChangeLog
gdb/mi/mi-cmd-stack.c
gdb/mi/mi-cmd-var.c
gdb/mi/mi-cmds.h
gdb/varobj.c
gdb/varobj.h