diff options
author | Daniel Jacobowitz <dan@debian.org> | 2005-07-15 04:12:19 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2005-07-15 04:12:19 +0000 |
commit | c46579bdf3c41c912035fce8d670c3e1d0206245 (patch) | |
tree | 74bd035370bbfb7108c3bddfb1a9d520c63fa6f2 /gdb/varobj.h | |
parent | 6cf23233ea284f951cbe63eaf7f0d6ca160fee7d (diff) | |
download | gdb-c46579bdf3c41c912035fce8d670c3e1d0206245.tar.gz |
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.
Diffstat (limited to 'gdb/varobj.h')
-rw-r--r-- | gdb/varobj.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/varobj.h b/gdb/varobj.h index cd3023310a6..68ae62931d5 100644 --- a/gdb/varobj.h +++ b/gdb/varobj.h @@ -1,5 +1,5 @@ /* GDB variable objects API. - Copyright 1999, 2000 Free Software Foundation, Inc. + Copyright 1999, 2000, 2001, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -85,6 +85,8 @@ extern int varobj_list_children (struct varobj *var, extern char *varobj_get_type (struct varobj *var); +extern struct type *varobj_get_gdb_type (struct varobj *var); + extern enum varobj_languages varobj_get_language (struct varobj *var); extern int varobj_get_attributes (struct varobj *var); |