aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-02-18 10:56:43 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-02-18 10:56:43 +0000
commitf642be6b2e99b51fd66d83cc4dbd6f2e0e68c6dd (patch)
treeca91792d20881241751f729b7acf323e9b17b7eb /gdb
parentca75ed2d8fd6fd97f7536ceb9fb0f3e2b99f6211 (diff)
downloadgdb-f642be6b2e99b51fd66d83cc4dbd6f2e0e68c6dd.zip
gdb-f642be6b2e99b51fd66d83cc4dbd6f2e0e68c6dd.tar.gz
gdb-f642be6b2e99b51fd66d83cc4dbd6f2e0e68c6dd.tar.bz2
* arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
variables.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/arch-utils.c2
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 <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.
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,