Implement -trace-find.
authorVladimir Prus <vladimir@codesourcery.com>
Tue, 23 Mar 2010 22:01:47 +0000 (22:01 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Tue, 23 Mar 2010 22:01:47 +0000 (22:01 +0000)
commitf197e0f1b1c70895aae1395b96d780379ec695ab
treed311581ba37d0b40fa82e8abce8cd2a28a1b8359
parent40e1c229a2dd402eb050b1025c4b1b7667a7e83e
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.
gdb/ChangeLog
gdb/mi/mi-cmds.c
gdb/mi/mi-cmds.h
gdb/mi/mi-main.c
gdb/remote.c
gdb/target.h
gdb/tracepoint.c
gdb/tracepoint.h