* arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
variables.
This commit is contained in:
parent
ca75ed2d8f
commit
f642be6b2e
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
2008-02-15 Markus Deuling <deuling@de.ibm.com>
|
||||||
|
|
||||||
* mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
|
* mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
|
||||||
|
|
|
@ -454,8 +454,6 @@ gdbarch_update_p (struct gdbarch_info info)
|
||||||
struct gdbarch *
|
struct gdbarch *
|
||||||
gdbarch_from_bfd (bfd *abfd)
|
gdbarch_from_bfd (bfd *abfd)
|
||||||
{
|
{
|
||||||
struct gdbarch *old_gdbarch = current_gdbarch;
|
|
||||||
struct gdbarch *new_gdbarch;
|
|
||||||
struct gdbarch_info info;
|
struct gdbarch_info info;
|
||||||
|
|
||||||
/* If we call gdbarch_find_by_info without filling in info.abfd,
|
/* If we call gdbarch_find_by_info without filling in info.abfd,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue