* MAINTAINERS: Undelete v850.
* Makefile.in: Re-add v850-tdep.o dependencies. * configure.tgt: Re-add v850. * v850-tdep.c: Reorder code slightly. Add register number enumerator. (struct v850_frame_cache): New structure. (v850_processor_type_table): Remove. Move functionality into v850_register_name, v850e_register_name and v850_gdbarch_init. (v850_register_name): New function. (v850e_register_name): New function. (struct prologue_info): Remove definition. (v850_register_type): New function. (v850_type_is_scalar): New function. (v850_use_struct_convention): Align to gcc behaviour. (v850_handle_prepare): Renamed from handle_prepare. Change third parameter to struct v850_frame_cache *. (v850_handle_pushm): Renamed from handle_pushm. Change third parameter to struct v850_frame_cache *. (v850_is_save_register): New function to evaluate if a register is caller-save. (v850_analyze_prologue): Replace v850_scan_prologue. Change to support new frame code. (v850_init_extra_frame_info): Remove. (v850_frame_chain): Remove. (v850_find_callers_reg): Remove. (v850_skip_prologue): Make static. (v850_pop_frame): Remove. (v850_frame_align): New function. (v850_push_dummy_call): Replace v850_push_arguments. (v850_push_return_address): Remove. (v850_extract_return_value): New function. (v850_store_return_value): New function. (v850_return_value): New function. (v850_frame_saved_pc): Remove. (v850_breakpoint_from_pc): New function. (v850_alloc_frame_cache): New function. (v850_fix_call_dummy): Remove. (v850_frame_cache): New function. (v850_target_architecture_hook): Remove. (v850_frame_prev_register): New function. (v850_frame_this_id): New function. (v850_frame_unwind): New structure. (v850_frame_sniffer): New function. (v850_unwind_sp): New function. (v850_unwind_pc): New function. (v850_unwind_dummy_id): New function. (v850_frame_base_address): New function. (v850_frame_base): New structure. (v850_gdbarch_init): New function. * config/v850/v850.mt: Undelete. Drop TM_FILE.
This commit is contained in:
parent
0445d02047
commit
181124bc7c
6 changed files with 1108 additions and 1 deletions
|
@ -1,3 +1,55 @@
|
|||
2005-05-17 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* MAINTAINERS: Undelete v850.
|
||||
* Makefile.in: Re-add v850-tdep.o dependencies.
|
||||
* configure.tgt: Re-add v850.
|
||||
* v850-tdep.c: Reorder code slightly. Add register number enumerator.
|
||||
(struct v850_frame_cache): New structure.
|
||||
(v850_processor_type_table): Remove. Move functionality into
|
||||
v850_register_name, v850e_register_name and v850_gdbarch_init.
|
||||
(v850_register_name): New function.
|
||||
(v850e_register_name): New function.
|
||||
(struct prologue_info): Remove definition.
|
||||
(v850_register_type): New function.
|
||||
(v850_type_is_scalar): New function.
|
||||
(v850_use_struct_convention): Align to gcc behaviour.
|
||||
(v850_handle_prepare): Renamed from handle_prepare. Change third
|
||||
parameter to struct v850_frame_cache *.
|
||||
(v850_handle_pushm): Renamed from handle_pushm. Change third parameter
|
||||
to struct v850_frame_cache *.
|
||||
(v850_is_save_register): New function to evaluate if a register is
|
||||
caller-save.
|
||||
(v850_analyze_prologue): Replace v850_scan_prologue. Change to support
|
||||
new frame code.
|
||||
(v850_init_extra_frame_info): Remove.
|
||||
(v850_frame_chain): Remove.
|
||||
(v850_find_callers_reg): Remove.
|
||||
(v850_skip_prologue): Make static.
|
||||
(v850_pop_frame): Remove.
|
||||
(v850_frame_align): New function.
|
||||
(v850_push_dummy_call): Replace v850_push_arguments.
|
||||
(v850_push_return_address): Remove.
|
||||
(v850_extract_return_value): New function.
|
||||
(v850_store_return_value): New function.
|
||||
(v850_return_value): New function.
|
||||
(v850_frame_saved_pc): Remove.
|
||||
(v850_breakpoint_from_pc): New function.
|
||||
(v850_alloc_frame_cache): New function.
|
||||
(v850_fix_call_dummy): Remove.
|
||||
(v850_frame_cache): New function.
|
||||
(v850_target_architecture_hook): Remove.
|
||||
(v850_frame_prev_register): New function.
|
||||
(v850_frame_this_id): New function.
|
||||
(v850_frame_unwind): New structure.
|
||||
(v850_frame_sniffer): New function.
|
||||
(v850_unwind_sp): New function.
|
||||
(v850_unwind_pc): New function.
|
||||
(v850_unwind_dummy_id): New function.
|
||||
(v850_frame_base_address): New function.
|
||||
(v850_frame_base): New structure.
|
||||
(v850_gdbarch_init): New function.
|
||||
* config/v850/v850.mt: Undelete. Drop TM_FILE.
|
||||
|
||||
2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
Dennis Brueni <dennis@slickedit.com>
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ the native maintainer when resolving ABI issues.
|
|||
sparc --target=sparc-elf broken
|
||||
(bfd/elfxx-sparc:512 bfd_elf64_swap_reloca_out undef)
|
||||
|
||||
v850 Deleted
|
||||
v850 --target=v850-elf ,-Werror
|
||||
|
||||
vax --target=vax-netbsd broken
|
||||
(opcodes/vax-dis.c:224 longjmp clober)
|
||||
|
|
|
@ -1448,6 +1448,7 @@ ALLDEPFILES = \
|
|||
sparc64nbsd-nat.c sparc64nbsd-tdep.c sparc64obsd-tdep.c \
|
||||
sparcnbsd-nat.c sparcnbsd-tdep.c sparcobsd-tdep.c \
|
||||
symm-tdep.c symm-nat.c \
|
||||
v850-tdep.c \
|
||||
vax-nat.c vax-tdep.c vaxbsd-nat.c vaxnbsd-tdep.c \
|
||||
win32-nat.c \
|
||||
xcoffread.c xcoffsolib.c \
|
||||
|
@ -2697,6 +2698,10 @@ utils.o: utils.c $(defs_h) $(gdb_assert_h) $(gdb_string_h) $(event_top_h) \
|
|||
$(gdb_curses_h) $(readline_h)
|
||||
uw-thread.o: uw-thread.c $(defs_h) $(gdbthread_h) $(target_h) $(inferior_h) \
|
||||
$(regcache_h) $(gregset_h)
|
||||
v850-tdep.o: v850-tdep.c $(defs_h) $(frame_h) $(frame_base_h) $(trad_frame_h) \
|
||||
$(frame_unwind_h) $(dwarf2_frame_h) $(gdbtypes_h) $(inferior_h) \
|
||||
$(gdb_string_h) $(gdb_assert_h) $(gdbcore_h) $(arch_utils_h) \
|
||||
$(regcache_h) $(dis_asm_h) $(osabi_h)
|
||||
valarith.o: valarith.c $(defs_h) $(value_h) $(symtab_h) $(gdbtypes_h) \
|
||||
$(expression_h) $(target_h) $(language_h) $(gdb_string_h) \
|
||||
$(doublest_h) $(infcall_h)
|
||||
|
|
4
gdb/config/v850/v850.mt
Normal file
4
gdb/config/v850/v850.mt
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Target: NEC V850 processor
|
||||
TDEPFILES= v850-tdep.o
|
||||
SIM_OBS = remote-sim.o
|
||||
SIM = ../sim/v850/libsim.a
|
|
@ -193,6 +193,8 @@ sparc64-*-*) gdb_target=sparc64 ;;
|
|||
|
||||
xstormy16-*-*) gdb_target=xstormy16 ;;
|
||||
|
||||
v850*-*-elf) gdb_target=v850 ;;
|
||||
|
||||
vax-*-netbsd* | vax-*-knetbsd*-gnu)
|
||||
gdb_target=nbsd ;;
|
||||
vax-*-openbsd*) gdb_target=obsd ;;
|
||||
|
|
1044
gdb/v850-tdep.c
Normal file
1044
gdb/v850-tdep.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue