]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* sparc64-tdep.c (BIAS): Remove define.
authorMark Kettenis <kettenis@gnu.org>
Thu, 1 Jan 2004 20:51:54 +0000 (20:51 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 1 Jan 2004 20:51:54 +0000 (20:51 +0000)
* sparc64-sol2-tdep.c (BIAS): Remove define.
* sparc64fbsd-tdep.c: Likewise.

gdb/ChangeLog
gdb/sparc64-sol2-tdep.c
gdb/sparc64-tdep.c
gdb/sparc64-tdep.h
gdb/sparc64fbsd-tdep.c

index f37bef7857a7248870e2429660c31a5b6933d3c6..6db7252675c5791dc060067c0824a7fb26a0ee37 100644 (file)
@@ -1,5 +1,9 @@
 2004-01-01  Mark Kettenis  <kettenis@gnu.org>
 
+       * sparc64-tdep.c (BIAS): Remove define.
+       * sparc64-sol2-tdep.c (BIAS): Remove define.
+       * sparc64fbsd-tdep.c: Likewise.
+
        * sparc64-tdep.h: Update copyright year.
        (BIAS): Define.
        * sparc64nbsd-tdep.c: Update copyright year.  Include "frame.h",
index 1686b6ca3f655839c8777bc33b0876e564cf94dc..e9abad91730114e9358e8da2fdf8792d7cdba668 100644 (file)
 
 #include "sparc64-tdep.h"
 
-/* The stack pointer is offset from the stack frame by a BIAS of 2047
-   (0x7ff) for 64-bit code.  BIAS is likely to be defined on SPARC
-   hosts, so undefine it first.  */
-#undef BIAS
-#define BIAS 2047
-
 /* From <sys/regset.h>.  */
 const struct sparc_gregset sparc64_sol2_gregset =
 {
index 177a7b04b7b7076e51ff0b5848d18acc6ce22a9f..a1f60d49e9cfc39aa1fa950f27ab809cc73afbbd 100644 (file)
    sparc64_-prefix for 64-bit specific code and the sparc_-prefix for
    code can handle both.  */
 
-/* The stack pointer is offset from the stack frame by a BIAS of 2047
-   (0x7ff) for 64-bit code.  BIAS is likely to be defined on SPARC
-   hosts, so undefine it first.  */
-#undef BIAS
-#define BIAS 2047
-
 /* Macros to extract fields from SPARC instructions.  */
 #define X_OP(i) (((i) >> 30) & 0x3)
 #define X_RD(i) (((i) >> 25) & 0x1f)
index f84ea442e1f8598397c30db9fb13da2cddaee0b1..4a150d9970e3ab16f15366a6e000a3862e86937d 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for UltraSPARC.
 
-   Copyright 2003 Free Software Foundation, Inc.
+   Copyright 2003, 2004 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 
 #include "sparc-tdep.h"
 
+/* The stack pointer is offset from the stack frame by a BIAS of 2047
+   (0x7ff) for 64-bit code.  BIAS is likely to be defined on SPARC
+   hosts, so undefine it first.  */
+#undef BIAS
+#define BIAS 2047
+
 /* Register offsets for the general-purpose register set.  */
 
 /* UltraSPARC doesn't have %psr.  */
index 96945d727f5b2ec9f96ca98b22f0bc1c4825e125..4ca49a84c2b8100c6cad66c4fb5bf1d7faf3aac2 100644 (file)
 
 #include "sparc64-tdep.h"
 
-/* The stack pointer is offset from the stack frame by a BIAS of 2047
-   (0x7ff) for 64-bit code.  BIAS is likely to be defined on SPARC
-   hosts, so undefine it first.  */
-#undef BIAS
-#define BIAS 2047
-
 /* From <machine/reg.h>.  */
 const struct sparc_gregset sparc64fbsd_gregset =
 {