aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
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/arch-utils.c
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/arch-utils.c')
-rw-r--r--gdb/arch-utils.c2
1 files changed, 0 insertions, 2 deletions
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,