From: Markus Deuling Date: Mon, 18 Feb 2008 10:56:43 +0000 (+0000) Subject: * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f642be6b2e99b51fd66d83cc4dbd6f2e0e68c6dd;p=binutils-gdb.git * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch variables. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index adcae26ebca..ba94183b159 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-02-18 Markus Deuling + + * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch + variables. + 2008-02-15 Markus Deuling * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error. diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 92724ecce2b..2c8b34b4acc 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -454,8 +454,6 @@ gdbarch_update_p (struct gdbarch_info info) struct gdbarch * gdbarch_from_bfd (bfd *abfd) { - struct gdbarch *old_gdbarch = current_gdbarch; - struct gdbarch *new_gdbarch; struct gdbarch_info info; /* If we call gdbarch_find_by_info without filling in info.abfd,