diff options
author | Yao Qi <yao@codesourcery.com> | 2013-06-03 03:16:24 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-06-03 03:16:24 +0000 |
commit | 87967e273fc2c3c801869e6a57608aa82e8e4514 (patch) | |
tree | afc35151321c6d4b107348c1b16aa7d12126e48b /gdb/mi/mi-cmds.h | |
parent | 0a59cc46ca1f0c610c21c0014857ba0b097e7cdf (diff) | |
download | gdb-87967e273fc2c3c801869e6a57608aa82e8e4514.zip gdb-87967e273fc2c3c801869e6a57608aa82e8e4514.tar.gz gdb-87967e273fc2c3c801869e6a57608aa82e8e4514.tar.bz2 |
gdb/
* mi/mi-cmd-var.c (mi_no_values, mi_simple_values): Move to
mi-parse.c. Make them static.
(mi_all_values): Likewise.
(mi_parse_values_option): Move to mi-parse.c. Rename it to
mi_parse_print_values. Make it external.
* mi/mi-cmds.h (mi_no_values, mi_simple_values, mi_all_values):
Remove the declarations.
* mi/mi-parse.c (mi_parse_print_values): Moved from mi-cmd-var.c.
* mi/mi-parse.h (mi_parse_print_values): Declare.
* mi/mi-cmd-stack.c: Include mi-parse.h.
(parse_print_values): Remove
(mi_cmd_stack_list_locals): Call mi_parse_print_values instead
of parse_print_values.
(mi_cmd_stack_list_args, mi_cmd_stack_list_variables): Likewise.
Diffstat (limited to 'gdb/mi/mi-cmds.h')
-rw-r--r-- | gdb/mi/mi-cmds.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/mi/mi-cmds.h b/gdb/mi/mi-cmds.h index 8199d15..8839319 100644 --- a/gdb/mi/mi-cmds.h +++ b/gdb/mi/mi-cmds.h @@ -28,10 +28,6 @@ enum print_values { PRINT_SIMPLE_VALUES }; -extern const char mi_no_values[]; -extern const char mi_simple_values[]; -extern const char mi_all_values[]; - typedef void (mi_cmd_argv_ftype) (char *command, char **argv, int argc); /* Declarations of the functions implementing each command. */ |