summaryrefslogtreecommitdiff
path: root/gdb/solib-osf.c
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2010-01-25 13:22:01 +0000
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2010-01-25 13:22:01 +0000
commit37a2e813957ef397053d79e75ba477c8462cc21a (patch)
tree90428d77449953bf0fdeee3b00a40ab17ffbd821 /gdb/solib-osf.c
parent056a537a5a2c8ab1836c1c6bda90a172f97b02bd (diff)
downloadgdb-37a2e813957ef397053d79e75ba477c8462cc21a.tar.gz
* configure.ac: Only use host_os part when disabling TUI on osf.
Use test to check variables, prefix strings with x. * configure: Regenerate. * solib-osf.c (osf_current_sos): Initialize tail.
Diffstat (limited to 'gdb/solib-osf.c')
-rw-r--r--gdb/solib-osf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-osf.c b/gdb/solib-osf.c
index ab6ea56fcfd..a8354a135ce 100644
--- a/gdb/solib-osf.c
+++ b/gdb/solib-osf.c
@@ -536,7 +536,7 @@ close_map (struct read_map_ctxt *ctxt)
static struct so_list *
osf_current_sos (void)
{
- struct so_list *head = NULL, *tail, *newtail, so;
+ struct so_list *head = NULL, *tail = NULL, *newtail, so;
struct read_map_ctxt ctxt;
int skipped_main;