This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[obish] Disconnect sh64 from sh
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 01 Aug 2004 17:42:24 -0400
- Subject: [obish] Disconnect sh64 from sh
FYI,
This severs the sh64 from the SH. The removal of legacy frame code will
break the sh64, this ensures that the sh continues to build.
committed,
Andrew
2004-08-01 Andrew Cagney <cagney@gnu.org>
* sh-tdep.c (sh_gdbarch_init): Disable call to sh64_gdbarch_init.
* config/sh/nbsd.mt (TDEPFILES): Remove sh64-tdep.o.
* config/sh/linux.mt (TDEPFILES): Remove sh64-tdep.o.
* config/sh/embed.mt (TDEPFILES): Remove sh64-tdep.o.
Index: sh-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sh-tdep.c,v
retrieving revision 1.170
diff -p -u -r1.170 sh-tdep.c
--- sh-tdep.c 20 Jun 2004 17:18:06 -0000 1.170
+++ sh-tdep.c 1 Aug 2004 21:37:15 -0000
@@ -2180,10 +2180,12 @@ sh_gdbarch_init (struct gdbarch_info inf
sh_show_regs = sh4_nofpu_show_regs;
break;
+#if 0
case bfd_mach_sh5:
sh_show_regs = sh64_show_regs;
/* SH5 is handled entirely in sh64-tdep.c */
return sh64_gdbarch_init (info, arches);
+#endif
}
/* If there is already a candidate, use it. */
Index: config/sh/embed.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sh/embed.mt,v
retrieving revision 1.3
diff -p -u -r1.3 embed.mt
--- config/sh/embed.mt 10 Oct 2003 07:13:11 -0000 1.3
+++ config/sh/embed.mt 1 Aug 2004 21:37:15 -0000
@@ -1,5 +1,5 @@
# Target: Embedded Renesas Super-H with ICE and simulator
-TDEPFILES= sh-tdep.o sh64-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o
+TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o
TM_FILE= tm-sh.h
SIM_OBS = remote-sim.o
Index: config/sh/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sh/linux.mt,v
retrieving revision 1.6
diff -p -u -r1.6 linux.mt
--- config/sh/linux.mt 10 Oct 2003 07:13:11 -0000 1.6
+++ config/sh/linux.mt 1 Aug 2004 21:37:15 -0000
@@ -1,5 +1,5 @@
# Target: Renesas Super-H running GNU/Linux
-TDEPFILES= sh-tdep.o sh64-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o solib.o solib-svr4.o solib-legacy.o
+TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o solib.o solib-svr4.o solib-legacy.o
TM_FILE= tm-linux.h
SIM_OBS = remote-sim.o
Index: config/sh/nbsd.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sh/nbsd.mt,v
retrieving revision 1.4
diff -p -u -r1.4 nbsd.mt
--- config/sh/nbsd.mt 8 Sep 2003 11:26:21 -0000 1.4
+++ config/sh/nbsd.mt 1 Aug 2004 21:37:15 -0000
@@ -1,5 +1,5 @@
# Target: SuperH running NetBSD
-TDEPFILES= sh-tdep.o sh64-tdep.o shnbsd-tdep.o corelow.o nbsd-tdep.o solib.o solib-svr4.o
+TDEPFILES= sh-tdep.o shnbsd-tdep.o corelow.o nbsd-tdep.o solib.o solib-svr4.o
TM_FILE= tm-nbsd.h
SIM_OBS = remote-sim.o
Index: config/sh/wince.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/sh/wince.mt,v
retrieving revision 1.4
diff -p -u -r1.4 wince.mt
--- config/sh/wince.mt 10 Oct 2003 07:13:11 -0000 1.4
+++ config/sh/wince.mt 1 Aug 2004 21:37:15 -0000
@@ -1,5 +1,5 @@
# Target: Renesas Super-H running on Windows CE
-TDEPFILES= sh-tdep.o sh64-tdep.o wince.o
+TDEPFILES= sh-tdep.o wince.o
TM_FILE= tm-wince.h
MT_CFLAGS=-DSHx -U_X86_ -U_M_IX86 -U__i386__ -U__i486__ -U__i586__ -U__i686__ -DUNICODE -D_WIN32_WCE -DWINCE_STUB='"${target_alias}-stub.exe"'
TM_CLIBS=-lrapi