* sparc64-sol2-tdep.c (BIAS): Remove define.
* sparc64fbsd-tdep.c: Likewise.
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",
#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 =
{
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)
/* 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. */
#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 =
{