aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-legacy.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-02-07 23:08:55 +0000
committerMichael Snyder <msnyder@vmware.com>2002-02-07 23:08:55 +0000
commit78b29b405f3dc1907cb7fbb81c16563e3b1754ba (patch)
tree18cedcd019aa329689ebabaadd622b07508c569d /gdb/solib-legacy.c
parentc7ef9c3fe55a9f8e5aaa1499b485cbd44fc5045a (diff)
downloadgdb-78b29b405f3dc1907cb7fbb81c16563e3b1754ba.zip
gdb-78b29b405f3dc1907cb7fbb81c16563e3b1754ba.tar.gz
gdb-78b29b405f3dc1907cb7fbb81c16563e3b1754ba.tar.bz2
2002-02-07 Michael Snyder <msnyder@redhat.com>
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Logic bug, remove misplaced else.
Diffstat (limited to 'gdb/solib-legacy.c')
-rw-r--r--gdb/solib-legacy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/solib-legacy.c b/gdb/solib-legacy.c
index a7a4f7e..ca730c4 100644
--- a/gdb/solib-legacy.c
+++ b/gdb/solib-legacy.c
@@ -135,11 +135,10 @@ legacy_svr4_fetch_link_map_offsets (void)
if (bfd_get_arch_size (exec_bfd) == 32)
return lmp32;
}
- else if (TARGET_PTR_BIT == 32)
+ if (TARGET_PTR_BIT == 32)
return lmp32;
- else
#endif
- return lmp;
+ return lmp;
}
#endif /* HAVE_LINK_H */