summaryrefslogtreecommitdiffstats
path: root/gdb/probe.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-18 23:37:58 +0000
committerDoug Evans <dje@google.com>2012-07-18 23:37:58 +0000
commit48faced0e5066aaa68f1e84766760e5d7de8b3c9 (patch)
tree6d61fdce8d6cf153f5a5521c71db1fb6116ce5c9 /gdb/probe.h
parent66f1999bd8985be71e30d4cc75ce700a5bceefd0 (diff)
downloadppe42-binutils-48faced0e5066aaa68f1e84766760e5d7de8b3c9.tar.gz
ppe42-binutils-48faced0e5066aaa68f1e84766760e5d7de8b3c9.zip
* common/gdb_vecs.h: Moved here from ./gdb_vecs.h.
* common/gdb_vecs.c: New file, contents from utils.c. * common/host-defs.h: New file, contents from defs.h. * utils.h: New file, contents from defs.h. * defs.h: Move all declarations of objects defined in utils.c to utils.h (except QUIT() and related). #include "utils.h", "host-defs.h". * probe.h (probe_p): Move here from gdb_vecs.h. * symfile.c: #include "probe.h" instead of "gdb_vecs.h". * utils.c (free_char_ptr_vec): Moved to common/gdb_vecs.c. (dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): Ditto. * Makefile.in (SFILES): Add common/gdb_vecs.c. (HFILES_NO_SRCDIR): Add common/gdb_vecs.h, common/host-defs.h, utils.h. (COMMON_OBS): Add gdb_vecs.o. (gdb_vecs.o): New rule.
Diffstat (limited to 'gdb/probe.h')
-rw-r--r--gdb/probe.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/probe.h b/gdb/probe.h
index 7c892ebad3..f26d8dd6a0 100644
--- a/gdb/probe.h
+++ b/gdb/probe.h
@@ -22,6 +22,11 @@
#include "gdb_vecs.h"
+/* Definition of a vector of probes. */
+
+typedef struct probe *probe_p;
+DEF_VEC_P (probe_p);
+
struct linespec_result;
/* Structure useful for passing the header names in the method
OpenPOWER on IntegriCloud