diff options
author | mp <mp@FreeBSD.org> | 2002-10-16 05:43:52 +0800 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2002-10-16 05:43:52 +0800 |
commit | 1405348f384d2fbabdac54028764c1ac9fe21fa9 (patch) | |
tree | 7e434e30850a7f722b79da892d804f875b8b1bb0 /devel/gdb53 | |
parent | 200878bb49876901d0684104bcd347028718512a (diff) | |
download | freebsd-ports-graphics-1405348f384d2fbabdac54028764c1ac9fe21fa9.tar.gz freebsd-ports-graphics-1405348f384d2fbabdac54028764c1ac9fe21fa9.tar.zst freebsd-ports-graphics-1405348f384d2fbabdac54028764c1ac9fe21fa9.zip |
Changes to allow compilation on a sparc64.
Diffstat (limited to 'devel/gdb53')
-rw-r--r-- | devel/gdb53/files/patch-gdb_config_sparc_fbsd.mh | 10 | ||||
-rw-r--r-- | devel/gdb53/files/patch-gdb_config_sparc_nm-fbsd.h | 26 | ||||
-rw-r--r-- | devel/gdb53/files/patch-sparc_fbsd.mh | 16 |
3 files changed, 36 insertions, 16 deletions
diff --git a/devel/gdb53/files/patch-gdb_config_sparc_fbsd.mh b/devel/gdb53/files/patch-gdb_config_sparc_fbsd.mh new file mode 100644 index 00000000000..5631903da98 --- /dev/null +++ b/devel/gdb53/files/patch-gdb_config_sparc_fbsd.mh @@ -0,0 +1,10 @@ +--- gdb/config/sparc/fbsd.mh Wed Mar 13 03:20:24 2002 ++++ gdb/config/sparc/fbsd.mh Tue Oct 15 20:54:37 2002 +@@ -21,5 +21,6 @@ + # Host: FreeBSD/sparc64 + NATDEPFILES= sparc-nat.o \ + corelow.o fork-child.o infptrace.o inftarg.o \ +- solib.o solib-svr4.o solib-legacy.o ++ solib.o solib-svr4.o solib-legacy.o kvm-fbsd.o + NAT_FILE= nm-fbsd.h ++NAT_CLIBS= -lkvm diff --git a/devel/gdb53/files/patch-gdb_config_sparc_nm-fbsd.h b/devel/gdb53/files/patch-gdb_config_sparc_nm-fbsd.h new file mode 100644 index 00000000000..c7261a0ca45 --- /dev/null +++ b/devel/gdb53/files/patch-gdb_config_sparc_nm-fbsd.h @@ -0,0 +1,26 @@ +--- gdb/config/sparc/nm-fbsd.h Fri Mar 1 18:35:24 2002 ++++ gdb/config/sparc/nm-fbsd.h Tue Oct 15 18:53:19 2002 +@@ -36,6 +36,7 @@ + + #define SVR4_SHARED_LIBS + ++#include "config/nm-fbsd.h" + #include "solib.h" /* Support for shared libraries. */ + #include "elf/common.h" /* Additional ELF shared library info. */ + +@@ -49,12 +50,9 @@ + #define GDB_GREGSET_T struct reg + #define GDB_FPREGSET_T struct fpreg + +-#define regs trapframe +-#define r_g1 tf_global[1] +-#define r_ps tf_tstate +-#define r_pc tf_tpc +-#define r_npc tf_tnpc +-#define r_y tf_y ++#define regs reg ++#define r_g1 r_global[1] ++#define r_ps r_tstate + + #define FPU_FSR_TYPE unsigned long + #define fp_status fpreg /* our reg.h */ diff --git a/devel/gdb53/files/patch-sparc_fbsd.mh b/devel/gdb53/files/patch-sparc_fbsd.mh deleted file mode 100644 index 76462162ffe..00000000000 --- a/devel/gdb53/files/patch-sparc_fbsd.mh +++ /dev/null @@ -1,16 +0,0 @@ ---- gdb/config/sparc/nm-fbsd.h.orig Fri Mar 1 10:35:24 2002 -+++ gdb/config/sparc/nm-fbsd.h Sat Oct 12 12:05:27 2002 -@@ -50,10 +50,7 @@ - #define GDB_FPREGSET_T struct fpreg - --#define regs trapframe --#define r_g1 tf_global[1] --#define r_ps tf_tstate --#define r_pc tf_tpc --#define r_npc tf_tnpc --#define r_y tf_y -+#define regs reg -+#define r_g1 r_global[1] -+#define r_ps r_tstate - - #define FPU_FSR_TYPE unsigned long |