aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-02-14 11:20:27 +0000
committerPedro Alves <palves@redhat.com>2011-02-14 11:20:27 +0000
commit2a7498d819aef97a9abf94dc20899affe68080fe (patch)
tree97fcf43c8f7bcb84fe060973daa35695160d8820 /gdb/tracepoint.h
parent4d1f5c790bbbc9c638b130fca24a9483c700e8d9 (diff)
downloadgdb-2a7498d819aef97a9abf94dc20899affe68080fe.zip
gdb-2a7498d819aef97a9abf94dc20899affe68080fe.tar.gz
gdb-2a7498d819aef97a9abf94dc20899affe68080fe.tar.bz2
2011-02-14 Pedro Alves <pedro@codesourcery.com>
gdb/ * Makefile.in (SFILES): Add memrange.c. (HFILES_NO_SRCDIR): Add memrange.h. (COMMON_OBS): Add memrange.o. * memrange.c: New file. * memrange.h: New file. * tracepoint.c: Include memrange.h. (struct mem_range): Delete. (mem_range_s): Delete. (traceframe_available_memory): New function. * tracepoint.h (traceframe_available_memory): Declare.
Diffstat (limited to 'gdb/tracepoint.h')
-rw-r--r--gdb/tracepoint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h
index 276501e..ee15e94 100644
--- a/gdb/tracepoint.h
+++ b/gdb/tracepoint.h
@@ -22,6 +22,7 @@
#include "breakpoint.h"
#include "target.h"
+#include "memrange.h"
/* A trace state variable is a value managed by a target being
traced. A trace state variable (or tsv for short) can be accessed
@@ -238,4 +239,7 @@ extern void trace_save (const char *filename, int target_does_save);
extern struct traceframe_info *parse_traceframe_info (const char *tframe_info);
+extern int traceframe_available_memory (VEC(mem_range_s) **result,
+ CORE_ADDR memaddr, ULONGEST len);
+
#endif /* TRACEPOINT_H */