diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2010-03-23 22:01:47 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2010-03-23 22:01:47 +0000 |
commit | f197e0f1b1c70895aae1395b96d780379ec695ab (patch) | |
tree | d311581ba37d0b40fa82e8abce8cd2a28a1b8359 /gdb/mi/mi-cmds.c | |
parent | 40e1c229a2dd402eb050b1025c4b1b7667a7e83e (diff) | |
download | gdb-f197e0f1b1c70895aae1395b96d780379ec695ab.zip gdb-f197e0f1b1c70895aae1395b96d780379ec695ab.tar.gz gdb-f197e0f1b1c70895aae1395b96d780379ec695ab.tar.bz2 |
Implement -trace-find.
* mi/mi-cmds.c (mi_cmds): Register -trace-find.
* mi/mi-cmds.h (mi_cmd_trace_find): Declare.
* mi/mi-main.c (mi_cmd_trace_find): New.
* target.h (struct target_ops): Document to_trace_find.
* tracepoint.h (tfind_1): Declare.
* tracepoint.c (finish_tfind_command): Rename to...
(tfind_1): ...this.
* remote.c (remote_trace_find): Return -1 if target say
there's no frame. Improve error diagnostics.
Diffstat (limited to 'gdb/mi/mi-cmds.c')
-rw-r--r-- | gdb/mi/mi-cmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mi/mi-cmds.c b/gdb/mi/mi-cmds.c index a07ee3b..f430698 100644 --- a/gdb/mi/mi-cmds.c +++ b/gdb/mi/mi-cmds.c @@ -107,6 +107,7 @@ struct mi_cmd mi_cmds[] = { "thread-list-ids", { NULL, 0 }, mi_cmd_thread_list_ids}, { "thread-select", { NULL, 0 }, mi_cmd_thread_select}, { "trace-define-variable", { NULL, 0 }, mi_cmd_trace_define_variable }, + { "trace-find", { NULL, 0 }, mi_cmd_trace_find }, { "trace-list-variables", { NULL, 0 }, mi_cmd_trace_list_variables }, { "trace-start", { NULL, 0 }, mi_cmd_trace_start }, { "trace-status", { NULL, 0 }, mi_cmd_trace_status }, |