• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision8493464201541e817cf39d1097867c2765ed3da7 (tree)
Time2004-01-02 05:51:54
AuthorMark Kettenis <kettenis@gnu....>
CommiterMark Kettenis

Log Message

* sparc64-tdep.c (BIAS): Remove define.
* sparc64-sol2-tdep.c (BIAS): Remove define.
* sparc64fbsd-tdep.c: Likewise.

Change Summary

Incremental Difference

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
11 2004-01-01 Mark Kettenis <kettenis@gnu.org>
22
3+ * sparc64-tdep.c (BIAS): Remove define.
4+ * sparc64-sol2-tdep.c (BIAS): Remove define.
5+ * sparc64fbsd-tdep.c: Likewise.
6+
37 * sparc64-tdep.h: Update copyright year.
48 (BIAS): Define.
59 * sparc64nbsd-tdep.c: Update copyright year. Include "frame.h",
--- a/gdb/sparc64-sol2-tdep.c
+++ b/gdb/sparc64-sol2-tdep.c
@@ -32,12 +32,6 @@
3232
3333 #include "sparc64-tdep.h"
3434
35-/* The stack pointer is offset from the stack frame by a BIAS of 2047
36- (0x7ff) for 64-bit code. BIAS is likely to be defined on SPARC
37- hosts, so undefine it first. */
38-#undef BIAS
39-#define BIAS 2047
40-
4135 /* From <sys/regset.h>. */
4236 const struct sparc_gregset sparc64_sol2_gregset =
4337 {
--- a/gdb/sparc64-tdep.c
+++ b/gdb/sparc64-tdep.c
@@ -49,12 +49,6 @@
4949 sparc64_-prefix for 64-bit specific code and the sparc_-prefix for
5050 code can handle both. */
5151
52-/* The stack pointer is offset from the stack frame by a BIAS of 2047
53- (0x7ff) for 64-bit code. BIAS is likely to be defined on SPARC
54- hosts, so undefine it first. */
55-#undef BIAS
56-#define BIAS 2047
57-
5852 /* Macros to extract fields from SPARC instructions. */
5953 #define X_OP(i) (((i) >> 30) & 0x3)
6054 #define X_RD(i) (((i) >> 25) & 0x1f)
--- a/gdb/sparc64-tdep.h
+++ b/gdb/sparc64-tdep.h
@@ -1,6 +1,6 @@
11 /* Target-dependent code for UltraSPARC.
22
3- Copyright 2003 Free Software Foundation, Inc.
3+ Copyright 2003, 2004 Free Software Foundation, Inc.
44
55 This file is part of GDB.
66
@@ -24,6 +24,12 @@
2424
2525 #include "sparc-tdep.h"
2626
27+/* The stack pointer is offset from the stack frame by a BIAS of 2047
28+ (0x7ff) for 64-bit code. BIAS is likely to be defined on SPARC
29+ hosts, so undefine it first. */
30+#undef BIAS
31+#define BIAS 2047
32+
2733 /* Register offsets for the general-purpose register set. */
2834
2935 /* UltraSPARC doesn't have %psr. */
--- a/gdb/sparc64fbsd-tdep.c
+++ b/gdb/sparc64fbsd-tdep.c
@@ -33,12 +33,6 @@
3333
3434 #include "sparc64-tdep.h"
3535
36-/* The stack pointer is offset from the stack frame by a BIAS of 2047
37- (0x7ff) for 64-bit code. BIAS is likely to be defined on SPARC
38- hosts, so undefine it first. */
39-#undef BIAS
40-#define BIAS 2047
41-
4236 /* From <machine/reg.h>. */
4337 const struct sparc_gregset sparc64fbsd_gregset =
4438 {