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/tracepoint.h | |
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/tracepoint.h')
-rw-r--r-- | gdb/tracepoint.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h index ef4c8f0..b9555b7 100644 --- a/gdb/tracepoint.h +++ b/gdb/tracepoint.h @@ -20,6 +20,9 @@ #if !defined (TRACEPOINT_H) #define TRACEPOINT_H 1 +#include "breakpoint.h" +#include "target.h" + enum actionline_type { BADLINE = -1, @@ -177,4 +180,8 @@ extern void trace_status_mi (int on_stop); extern void tvariables_info_1 (void); +extern void tfind_1 (enum trace_find_type type, int num, + ULONGEST addr1, ULONGEST addr2, + int from_tty); + #endif /* TRACEPOINT_H */ |