summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-04-22 00:53:54 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-04-22 00:53:54 +0000
commit7c0bd5be89aa29c82016326d2e886ee6cd495de6 (patch)
tree8b10c3a8c6166c93d585ffbb2cf2a27149eb029a
parent5594970054507da67acbd5ec1a8def43c240f5bb (diff)
downloadgdb-7c0bd5be89aa29c82016326d2e886ee6cd495de6.tar.gz
Ongoing multi-arch conversion for HP/UX.
* config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define if already defined (allows hppa64 to stay non-multiarched for now). * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/config/pa/tm-hppa.h4
-rw-r--r--gdb/config/pa/tm-hppa64.h4
3 files changed, 14 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index eec6d3c7325..a93a4edc646 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2003-04-21 J. Brobecker <brobecker@gnat.com>
+
+ Ongoing multi-arch conversion for HP/UX.
+ * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define
+ if already defined (allows hppa64 to stay non-multiarched for now).
+ * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.
+
2003-04-21 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_id_eq): Fail when the code_addr's do not match.
diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h
index c0b3e2630ea..7d8d111b30b 100644
--- a/gdb/config/pa/tm-hppa.h
+++ b/gdb/config/pa/tm-hppa.h
@@ -27,7 +27,9 @@
/* Wonder if this is correct? Should be using push_dummy_call(). */
#define DEPRECATED_DUMMY_WRITE_SP(SP) generic_target_write_sp (SP)
-#define GDB_MULTI_ARCH 0
+#ifndef GDB_MULTI_ARCH
+#define GDB_MULTI_ARCH 1
+#endif
/* NOTE: cagney/2002-11-24: This is a guess. */
#define DEPRECATED_USE_GENERIC_DUMMY_FRAMES 0
diff --git a/gdb/config/pa/tm-hppa64.h b/gdb/config/pa/tm-hppa64.h
index 503e42688df..b97cc3063db 100644
--- a/gdb/config/pa/tm-hppa64.h
+++ b/gdb/config/pa/tm-hppa64.h
@@ -28,6 +28,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
gotten working yet. */
#define GDB_TARGET_IS_HPPA_20W
+/* FIXME: brobecker 2003-04-21: Although 32bit hppa is partially multiarched,
+ the conversion for hppa64 hasn't been completed yet. */
+#define GDB_MULTI_ARCH 0
+
#include "pa/tm-hppah.h"
#define HPUX_1100 1