2006-04-20 Michael Snyder <msnyder@redhat.com>

* 2006-03-22  Jim Blandy  <jimb@redhat.com>
	Add support for the Renesas M32C and M16C.

	* configure.tgt (m32c-*-*): New entry.
	* config/m32c/m32c.mt: New file.
	* m32c-tdep.c: New file.
	* Makefile.in (elf_m32c_h): New variable.
	(m32c-tdep.o): New rule.
	* NEWS: Mention new target.
	* MAINTAINERS: Designate Jim Blandy as responsible maintainer.
This commit is contained in:
Michael Snyder 2006-04-20 23:18:48 +00:00
parent 9d54351548
commit 9630918965
6 changed files with 2577 additions and 0 deletions

View File

@ -266,6 +266,9 @@ the native maintainer when resolving ABI issues.
ia64 --target=ia64-linux-gnu ,-Werror
(--target=ia64-elf broken)
m32c --target=m32c-elf ,-Werror
Jim Blandy, jimb@codesourcery.com
m32r --target=m32r-elf ,-Werror
m68hc11 --target=m68hc11-elf ,-Werror ,

View File

@ -582,6 +582,7 @@ elf_sh_h = $(INCLUDE_DIR)/elf/sh.h
elf_arm_h = $(INCLUDE_DIR)/elf/arm.h $(elf_reloc_macros_h)
elf_bfd_h = $(BFD_SRC)/elf-bfd.h
elf_frv_h = $(INCLUDE_DIR)/elf/frv.h $(elf_reloc_macros_h)
elf_m32c_h = $(INCLUDE_DIR)/elf/m32c.h $(elf_reloc_macros_h)
libaout_h = $(BFD_SRC)/libaout.h
libiberty_h = $(INCLUDE_DIR)/libiberty.h
libbfd_h = $(BFD_SRC)/libbfd.h
@ -598,6 +599,7 @@ gdb_callback_h = $(INCLUDE_DIR)/gdb/callback.h
gdb_sim_arm_h = $(INCLUDE_DIR)/gdb/sim-arm.h
gdb_sim_d10v_h = $(INCLUDE_DIR)/gdb/sim-d10v.h
gdb_sim_frv_h = $(INCLUDE_DIR)/gdb/sim-frv.h
gdb_sim_m32c_h = $(INCLUDE_DIR)/gdb/sim-m32c.h
gdb_sim_ppc_h = $(INCLUDE_DIR)/gdb/sim-ppc.h
gdb_sim_sh_h = $(INCLUDE_DIR)/gdb/sim-sh.h
splay_tree_h = $(INCLUDE_DIR)/splay-tree.h
@ -2215,6 +2217,11 @@ m2-typeprint.o: m2-typeprint.c $(defs_h) $(bfd_h) $(symtab_h) $(gdbtypes_h) \
$(expression_h) $(value_h) $(gdbcore_h) $(target_h) $(m2_lang_h)
m2-valprint.o: m2-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
$(m2_lang_h) $(c_lang_h)
m32c-tdep.o: m32c-tdep.c $(defs_h) $(gdb_assert_h) $(elf_bfd_h) \
$(elf_m32c_h) $(gdb_sim_m32c_h) $(dis_asm_h) $(gdbtypes_h) \
$(regcache_h) $(arch_utils_h) $(frame_h) $(frame_unwind_h) \
$(dwarf2_frame_h) $(dwarf2expr_h) $(symtab_h) $(gdbcore_h) \
$(value_h) $(reggroups_h) $(prologue_value_h) $(target_h)
m32r-linux-nat.o: m32r-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
$(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \
$(gregset_h) $(m32r_tdep_h) $(target_h)

View File

@ -3,6 +3,12 @@
*** Changes since GDB 6.4
* New targets
Renesas M32C/M16C m32c-elf
Morpho Technologies ms1 ms1-elf
* New commands
init-if-undefined Initialize a convenience variable, but

7
gdb/config/m32c/m32c.mt Normal file
View File

@ -0,0 +1,7 @@
# Target: Renesas M32C family
TDEPFILES = m32c-tdep.o prologue-value.o
# There may also be a SID / CGEN simulator for this, but we do have DJ
# Delorie's mini-sim.
SIM_OBS = remote-sim.o
SIM = ../sim/m32c/libsim.a

View File

@ -107,6 +107,8 @@ ia64*-*-*) gdb_target=ia64 ;;
iq2000-*-*) gdb_target=iq2000 ;;
m32c-*-*) gdb_target=m32c ;;
m32r*-*-linux*) gdb_target=linux ;;
m32r*-*-*) gdb_target=m32r ;;

2552
gdb/m32c-tdep.c Normal file

File diff suppressed because it is too large Load Diff