From 00b037e2131ae8c4a7b931e7d231e90347e39050 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 3 Jun 2003 21:02:49 +0000 Subject: [PATCH] 2003-06-03 Andrew Cagney * sparc-tdep.c (sparc_convert_to_virtual): Delete function. (sparc_convert_to_raw): Delete function. (sparc_gdbarch_init): Do not set register_convert_to_raw or register_convert_to_virtual. --- gdb/ChangeLog | 7 +++++++ gdb/sparc-tdep.c | 16 ---------------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 88505df93bf..48ba951e5f6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2003-06-03 Andrew Cagney + + * sparc-tdep.c (sparc_convert_to_virtual): Delete function. + (sparc_convert_to_raw): Delete function. + (sparc_gdbarch_init): Do not set register_convert_to_raw or + register_convert_to_virtual. + 2003-06-03 Jeff Johnston * thread-db.c (thread_db_mourn_inferior): Unpush thread target diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index e2db95672bb..ccd3a3b5f8b 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -3152,19 +3152,6 @@ sparc_saved_pc_after_call (struct frame_info *fi) return sparc_pc_adjust (read_register (RP_REGNUM)); } -/* Convert registers between 'raw' and 'virtual' formats. - They are the same on sparc, so there's nothing to do. */ - -static void -sparc_convert_to_virtual (int regnum, struct type *type, char *from, char *to) -{ /* do nothing (should never be called) */ -} - -static void -sparc_convert_to_raw (struct type *type, int regnum, char *from, char *to) -{ /* do nothing (should never be called) */ -} - /* Init saved regs: nothing to do, just a place-holder function. */ static void @@ -3335,9 +3322,6 @@ sparc_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_push_return_address (gdbarch, sparc_push_return_address); set_gdbarch_deprecated_push_dummy_frame (gdbarch, sparc_push_dummy_frame); set_gdbarch_read_pc (gdbarch, generic_target_read_pc); - set_gdbarch_register_convert_to_raw (gdbarch, sparc_convert_to_raw); - set_gdbarch_register_convert_to_virtual (gdbarch, - sparc_convert_to_virtual); set_gdbarch_reg_struct_has_addr (gdbarch, sparc_reg_struct_has_addr); set_gdbarch_return_value_on_stack (gdbarch, sparc_return_value_on_stack); set_gdbarch_deprecated_saved_pc_after_call (gdbarch, sparc_saved_pc_after_call); -- 2.30.2