From f642be6b2e99b51fd66d83cc4dbd6f2e0e68c6dd Mon Sep 17 00:00:00 2001 From: Markus Deuling Date: Mon, 18 Feb 2008 10:56:43 +0000 Subject: [PATCH] * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch variables. --- gdb/ChangeLog | 5 +++++ gdb/arch-utils.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index adcae26..ba94183 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 92724ec..2c8b34b 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, -- 2.7.4