From: Joel Brobecker Date: Tue, 22 Apr 2003 00:53:54 +0000 (+0000) Subject: Ongoing multi-arch conversion for HP/UX. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61995b3b2cde51b28bae421f38f9f01e53b0049d;p=binutils-gdb.git 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. --- 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 + + 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 * 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