summaryrefslogtreecommitdiff
path: root/gdb/ia64-tdep.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-03-05 11:41:50 +0000
committerTristan Gingold <gingold@adacore.com>2012-03-05 11:41:50 +0000
commitb1cbc81dcd50133d818266c439306157efa90757 (patch)
treecf2b5a03ed36b7d2186dac6ae0deb6acb9ed420d /gdb/ia64-tdep.h
parentb51b9a59d31163ed4033cef8b6527d9df7529fdf (diff)
downloadgdb-b1cbc81dcd50133d818266c439306157efa90757.tar.gz
2012-03-05 Tristan Gingold <gingold@adacore.com>
* ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h. (ia64_unw_accessors, ia64_unw_rse_accessors) (ia64_libunwind_descr): Declare. * ia64-vms-tdep.c: New file. * ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors) (ia64_libunwind_descr): Make them public. * configure.tgt: Add ia64-*-*vms*. * Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o (ALLDEPFILES): Add ia64-vms-tdep.c
Diffstat (limited to 'gdb/ia64-tdep.h')
-rw-r--r--gdb/ia64-tdep.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ia64-tdep.h b/gdb/ia64-tdep.h
index 48cc3e0f4d8..7501eb417b1 100644
--- a/gdb/ia64-tdep.h
+++ b/gdb/ia64-tdep.h
@@ -20,6 +20,11 @@
#ifndef IA64_TDEP_H
#define IA64_TDEP_H
+#ifdef HAVE_LIBUNWIND_IA64_H
+#include "libunwind-ia64.h"
+#include "libunwind-frame.h"
+#endif
+
/* Register numbers of various important registers. */
/* General registers; there are 128 of these 64 bit wide registers.
@@ -250,4 +255,10 @@ struct gdbarch_tdep
extern void ia64_write_pc (struct regcache *, CORE_ADDR);
+#ifdef HAVE_LIBUNWIND_IA64_H
+extern unw_accessors_t ia64_unw_accessors;
+extern unw_accessors_t ia64_unw_rse_accessors;
+extern struct libunwind_descr ia64_libunwind_descr;
+#endif
+
#endif /* ia64-tdep.h */