* MAINTAINERS: Change sh64-elf state to non-broken.

* Makefile.in: Fix dependencies for sh64-tdep.o.
	* configure.tgt: Add sh64-*-elf case.
	* sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
	* sh64-tdep.c: Rework to replace all deprecated mechanisms with
	modern methods.
	* config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
	* config/sh/sh64.mt: Resurrect.
This commit is contained in:
Corinna Vinschen 2005-04-15 08:01:15 +00:00
parent 6efba98792
commit c30dc7000d
8 changed files with 513 additions and 873 deletions

View File

@ -1,3 +1,14 @@
2005-04-15 Corinna VInschen <vinschen@redhat.com>
* MAINTAINERS: Change sh64-elf state to non-broken.
* Makefile.in: Fix dependencies for sh64-tdep.o.
* configure.tgt: Add sh64-*-elf case.
* sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
* sh64-tdep.c: Rework to replace all deprecated mechanisms with
modern methods.
* config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
* config/sh/sh64.mt: Resurrect.
2005-04-15 Kei Sakamoto <sakamoto.kei@renesas.com>
* regformats/reg-m32r.dat: New file.

View File

@ -108,7 +108,7 @@ the native maintainer when resolving ABI issues.
s390 --target=s390-linux-gnu ,-Werror
sh --target=sh-elf ,-Werror
--target=sh64-elf broken
--target=sh64-elf ,-Werror
sparc --target=sparc-elf ,-Werror

View File

@ -2498,11 +2498,11 @@ ser-unix.o: ser-unix.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_unix_h) \
sh3-rom.o: sh3-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
$(serial_h) $(srec_h) $(arch_utils_h) $(regcache_h) $(gdb_string_h) \
$(sh_tdep_h)
sh64-tdep.o: sh64-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(objfiles_h) \
$(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) $(value_h) $(dis_asm_h) \
$(inferior_h) $(gdb_string_h) $(arch_utils_h) $(floatformat_h) \
$(regcache_h) $(doublest_h) $(osabi_h) $(elf_bfd_h) $(solib_svr4_h) \
$(elf_sh_h) $(gdb_sim_sh_h)
sh64-tdep.o: sh64-tdep.c $(defs_h) $(frame_h) $(frame_base_h) \
$(frame_unwind_h) $(dwarf2_frame_h) $(symtab_h) $(gdbtypes_h) \
$(gdbcmd_h) $(gdbcore_h) $(value_h) $(dis_asm_h) $(inferior_h) \
$(gdb_string_h) $(gdb_assert_h) $(arch_utils_h) $(regcache_h) \
$(osabi_h) $(elf_bfd_h) $(elf_sh_h) $(gdb_sim_sh_h)
shnbsd-nat.o: shnbsd-nat.c $(defs_h) $(inferior_h) $(sh_tdep_h) \
$(shnbsd_tdep_h)
shnbsd-tdep.o: shnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) $(value_h) \

View File

@ -1,5 +1,5 @@
# Target: Embedded Renesas Super-H with ICE and simulator
TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o
TDEPFILES= sh-tdep.o sh64-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o
DEPRECATED_TM_FILE= tm-sh.h
SIM_OBS = remote-sim.o

5
gdb/config/sh/sh64.mt Normal file
View File

@ -0,0 +1,5 @@
# Target: Renesas/Super-H 64 bit with simulator
TDEPFILES= sh-tdep.o sh64-tdep.o
SIM_OBS = remote-sim.o
SIM = ../sim/sh64/libsim.a

View File

@ -171,6 +171,7 @@ sh-*-linux*) gdb_target=linux
sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
gdb_target=nbsd ;;
sh-*-nto*) gdb_target=nto ;;
sh64-*-elf*) gdb_target=sh64 ;;
sh*) gdb_target=embed ;;
sparc-*-linux*) gdb_target=linux ;;

View File

@ -2560,12 +2560,10 @@ 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. */

File diff suppressed because it is too large Load Diff