From 181124bc7ce9af40ecdc24f29b84a04e20ddb449 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 18 May 2005 08:52:21 +0000 Subject: * 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. --- gdb/Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/Makefile.in') diff --git a/gdb/Makefile.in b/gdb/Makefile.in index d8c73ac..c8ce2fe 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -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) -- cgit v1.1