aboutsummaryrefslogtreecommitdiff
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
commit61995b3b2cde51b28bae421f38f9f01e53b0049d (patch)
tree8862746a81d3a8ffd7e953be5982c8ddefe036bf
parent52ad6187b726dedeea79f9f2b54caea25ba6153f (diff)
downloadfsf-binutils-gdb-61995b3b2cde51b28bae421f38f9f01e53b0049d.zip
fsf-binutils-gdb-61995b3b2cde51b28bae421f38f9f01e53b0049d.tar.gz
fsf-binutils-gdb-61995b3b2cde51b28bae421f38f9f01e53b0049d.tar.bz2
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 eec6d3c..a93a4ed 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 c0b3e26..7d8d111 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 503e426..b97cc30 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