summaryrefslogtreecommitdiff
path: root/gdb/probe.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-18 23:37:57 +0000
committerDoug Evans <dje@google.com>2012-07-18 23:37:57 +0000
commit1d10b4ff69eee1789b1217f30497f138f5186dd2 (patch)
treea01ac4c896d5020a1c784396db6c37b187e6c151 /gdb/probe.h
parent960de796479fcf5869d03654480cfaa647c32d05 (diff)
downloadgdb-1d10b4ff69eee1789b1217f30497f138f5186dd2.tar.gz
* 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 7c892ebad36..f26d8dd6a0f 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