2003-07-17 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 17 Jul 2003 18:49:36 +0000 (18:49 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 17 Jul 2003 18:49:36 +0000 (18:49 +0000)
* 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.

gdb/ChangeLog
gdb/config/sparc/tm-sparc.h
gdb/defs.h
gdb/sparc-tdep.c

index aa70768..63cf4ce 100644 (file)
@@ -1,3 +1,11 @@
+2003-07-17  Andrew Cagney  <cagney@redhat.com>
+
+       * 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  <ezannoni@redhat.com>
 
        * Makefile.in (x86-64-linux-nat.o): Update dependencies.
index e40f52e..29267ed 100644 (file)
@@ -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;
index eb7ae08..86808e1 100644 (file)
@@ -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 */
index 0d1b47b..ef6368f 100644 (file)
@@ -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;