* arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch

variables.
This commit is contained in:
Markus Deuling 2008-02-18 10:56:43 +00:00
parent ca75ed2d8f
commit f642be6b2e
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-02-18 Markus Deuling <deuling@de.ibm.com>
* arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
variables.
2008-02-15 Markus Deuling <deuling@de.ibm.com>
* mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.

View File

@ -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,