aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-06-06 00:22:00 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-06-06 00:22:00 +0000
commit7d773d96dba39b73178c6ea4913cfa8f9a0ee4c5 (patch)
treedfc2bdefdcac85ebb6c227d940846e98e24575f0 /gdb/config
parent66e3c0bad329fe39fc27b8e07b10e30a2f70bf7e (diff)
downloadgdb-7d773d96dba39b73178c6ea4913cfa8f9a0ee4c5.zip
gdb-7d773d96dba39b73178c6ea4913cfa8f9a0ee4c5.tar.gz
gdb-7d773d96dba39b73178c6ea4913cfa8f9a0ee4c5.tar.bz2
* hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting
pc_in_sigtramp multiarch method. (hppa_hpux_som_init_abi): Use it. (hppa_hpux_elf_init_abi): Likewise. * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this macro has been multiarched. * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this macro here, as hppa64 isn't multiarched yet.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/pa/tm-hppa64.h11
-rw-r--r--gdb/config/pa/tm-hppah.h5
2 files changed, 8 insertions, 8 deletions
diff --git a/gdb/config/pa/tm-hppa64.h b/gdb/config/pa/tm-hppa64.h
index 6d39ed0..a3cc4be 100644
--- a/gdb/config/pa/tm-hppa64.h
+++ b/gdb/config/pa/tm-hppa64.h
@@ -35,9 +35,14 @@ struct frame_info;
the conversion for hppa64 hasn't been completed yet. */
#define GDB_MULTI_ARCH 0
-/* FIXME: brobecker 2003-04-21: All the definition from this point until
- the include of pa/tm-hppah.h are extracted from tm-hppa.h. They have
- been temporarily moved here, until hppa64 is multiarched too. */
+/* FIXME: brobecker 2003-05-22: All the definition from this point until
+ the include of pa/tm-hppah.h are extracted from tm-hppa.h and tm-hppah.h.
+ They have been temporarily moved here, until hppa64 is multiarched too. */
+
+#if !GDB_MULTI_ARCH
+extern int hppa_hpux_pc_in_sigtramp (CORE_ADDR pc, char *name);
+#define PC_IN_SIGTRAMP(pc, name) hppa_hpux_pc_in_sigtramp (pc, name)
+#endif
#if !GDB_MULTI_ARCH
extern int hppa_reg_struct_has_addr (int gcc_p, struct type *type);
diff --git a/gdb/config/pa/tm-hppah.h b/gdb/config/pa/tm-hppah.h
index 290f752..345baaf 100644
--- a/gdb/config/pa/tm-hppah.h
+++ b/gdb/config/pa/tm-hppah.h
@@ -35,11 +35,6 @@ struct frame_info;
#include "somsolib.h"
#endif
-#if !GDB_MULTI_ARCH
-extern int hppa_hpux_pc_in_sigtramp (CORE_ADDR pc, char *name);
-#define PC_IN_SIGTRAMP(pc, name) hppa_hpux_pc_in_sigtramp (pc, name)
-#endif
-
extern void hppa_hpux_frame_saved_pc_in_sigtramp (struct frame_info *fi,
CORE_ADDR *tmp);
#define FRAME_SAVED_PC_IN_SIGTRAMP(FRAME, TMP) \