From: Andrew Cagney Date: Thu, 17 Jul 2003 18:49:36 +0000 (+0000) Subject: 2003-07-17 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=606e3b82eb5bb1168ad55e8b2e94388ddd1baa0e;p=binutils-gdb.git 2003-07-17 Andrew Cagney * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by configure. * sparc-tdep.c (sparc_intreg_size): Make non-static. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_PARTIAL. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aa707688171..63cf4ce5c82 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2003-07-17 Andrew Cagney + + * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by + configure. + * sparc-tdep.c (sparc_intreg_size): Make non-static. + * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to + GDB_MULTI_ARCH_PARTIAL. + 2003-07-17 Elena Zannoni * Makefile.in (x86-64-linux-nat.o): Update dependencies. diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index e40f52e2197..29267ed665e 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -22,6 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#define GDB_MULTI_ARCH GDB_MULTI_ARCH_PARTIAL + #include "regcache.h" struct type; diff --git a/gdb/defs.h b/gdb/defs.h index eb7ae082a89..86808e14cb3 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -780,16 +780,6 @@ typedef struct ptid ptid_t; #include "tm.h" #endif -/* GDB_MULTI_ARCH is normally set by configure.in using information - from configure.tgt or the config/%/%.mt Makefile fragment. Since - some targets have defined it in their "tm.h" file, delay providing - a default definition until after "tm.h" has been included.. */ - -#ifndef GDB_MULTI_ARCH -#define GDB_MULTI_ARCH 0 -#endif - - /* If the xm.h file did not define the mode string used to open the files, assume that binary files are opened the same way as text files */ diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 0d1b47bd7ef..ef6368f69f6 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -3218,7 +3218,7 @@ sparc_reg_struct_has_addr (int gcc_p, struct type *type) return (gcc_p != 1); } -static int +int sparc_intreg_size (void) { return SPARC_INTREG_SIZE;