aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmds.h
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2010-03-23 21:50:11 +0000
committerVladimir Prus <vladimir@codesourcery.com>2010-03-23 21:50:11 +0000
commit40e1c229a2dd402eb050b1025c4b1b7667a7e83e (patch)
treee8fa1df36bc7f26c586864858edfca5915448df9 /gdb/mi/mi-cmds.h
parent9b4c786c6c9f2599873343b935a46a446ba1c029 (diff)
downloadbinutils-40e1c229a2dd402eb050b1025c4b1b7667a7e83e.zip
binutils-40e1c229a2dd402eb050b1025c4b1b7667a7e83e.tar.gz
binutils-40e1c229a2dd402eb050b1025c4b1b7667a7e83e.tar.bz2
-trace-define-variable and -trace-list-variables.
* tracepoint.c (create_trace_state_variable): Make private copy of name, as opposed to assuming the pointer lives forever. (tvariables_info_1): New. (tvariables_info): Use the above. * tracepoint.h (create_trace_state_variable, tvariables_info_1): Declare. * mi/mi-cmds.c (mi_cmds): Register -trace-define-variable and -trace-list-variables. * mi/mi-cmds.h (mi_cmd_trace_define_variable) (mi_cmd_trace_list_variables): New. * mi/mi-main.c (mi_cmd_trace_define_variable) (mi_cmd_trace_list_variables): New.
Diffstat (limited to 'gdb/mi/mi-cmds.h')
-rw-r--r--gdb/mi/mi-cmds.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mi/mi-cmds.h b/gdb/mi/mi-cmds.h
index b5ff61f..dc2b2c6 100644
--- a/gdb/mi/mi-cmds.h
+++ b/gdb/mi/mi-cmds.h
@@ -89,6 +89,8 @@ extern mi_cmd_argv_ftype mi_cmd_target_file_delete;
extern mi_cmd_argv_ftype mi_cmd_thread_info;
extern mi_cmd_argv_ftype mi_cmd_thread_list_ids;
extern mi_cmd_argv_ftype mi_cmd_thread_select;
+extern mi_cmd_argv_ftype mi_cmd_trace_define_variable;
+extern mi_cmd_argv_ftype mi_cmd_trace_list_variables;
extern mi_cmd_argv_ftype mi_cmd_trace_start;
extern mi_cmd_argv_ftype mi_cmd_trace_status;
extern mi_cmd_argv_ftype mi_cmd_trace_stop;