From: Andrew Cagney Date: Sun, 1 Aug 2004 21:38:03 +0000 (+0000) Subject: 2004-08-01 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03d363a1457cd1aed97903af8880a6c158226665;p=binutils-gdb.git 2004-08-01 Andrew Cagney * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f623a84fc37..a3e5f1921d0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2004-08-01 Andrew Cagney + * 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. + * infcall.c (call_function_by_hand): Do not use DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP, DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_TARGET_READ_FP, diff --git a/gdb/config/sh/embed.mt b/gdb/config/sh/embed.mt index 807aa110e99..b2fcc185dae 100644 --- a/gdb/config/sh/embed.mt +++ b/gdb/config/sh/embed.mt @@ -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 diff --git a/gdb/config/sh/linux.mt b/gdb/config/sh/linux.mt index 83ada467161..a18900b2cef 100644 --- a/gdb/config/sh/linux.mt +++ b/gdb/config/sh/linux.mt @@ -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 diff --git a/gdb/config/sh/nbsd.mt b/gdb/config/sh/nbsd.mt index 85d9bb04398..62d0c5ce3e8 100644 --- a/gdb/config/sh/nbsd.mt +++ b/gdb/config/sh/nbsd.mt @@ -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 diff --git a/gdb/config/sh/wince.mt b/gdb/config/sh/wince.mt index 89a5a89ce69..4ff5d6b5d9f 100644 --- a/gdb/config/sh/wince.mt +++ b/gdb/config/sh/wince.mt @@ -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 diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 86380ceb835..90e25c60b86 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -2180,10 +2180,12 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) 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. */