aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-osf.c
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2010-01-25 13:22:02 +0000
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2010-01-25 13:22:02 +0000
commit6bcc772dec145e131137cf8cbc3786f3c4d96003 (patch)
tree505e1d50b9754d34827de8516854b25bba5e6ba7 /gdb/solib-osf.c
parent1c1238a5e85604eb3e351c06973c61599072320f (diff)
downloadgdb-6bcc772dec145e131137cf8cbc3786f3c4d96003.zip
gdb-6bcc772dec145e131137cf8cbc3786f3c4d96003.tar.gz
gdb-6bcc772dec145e131137cf8cbc3786f3c4d96003.tar.bz2
* 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 ab6ea56..a8354a1 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;