* configure.ac: Only use host_os part when disabling TUI on osf.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Mon, 25 Jan 2010 13:22:02 +0000 (13:22 +0000)
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Mon, 25 Jan 2010 13:22:02 +0000 (13:22 +0000)
Use test to check variables, prefix strings with x.
* configure: Regenerate.

* solib-osf.c (osf_current_sos): Initialize tail.

gdb/ChangeLog
gdb/configure
gdb/configure.ac
gdb/solib-osf.c

index fc3214010780cb30a90a563c4cb52e6d82c785d2..8ab26f61e946e5481f87372292e456e25893fc53 100644 (file)
@@ -1,3 +1,11 @@
+2010-01-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * 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.
+
 2010-01-25  gingold  <gingold@adacore.com>
 
         * windows-nat.c (windows_continue): Use %x to print thread id.
index 498010608bc3c7d1a05312aaa5ea04f8d7421154..d444b08f54c22f5c18bc530be0d9a3f793dae316 100755 (executable)
@@ -8518,11 +8518,11 @@ _ACEOF
 # broken on alpha-osf.
 
 case $host_os in
-  alpha*-*-osf* )
-    if "$enable_tui" = "yes"; then
+  osf* )
+    if test x"$enable_tui" = xyes; then
       as_fn_error "Building GDB with TUI mode is not supported on this host" "$LINENO" 5
     fi
-    if "$enable_tui" = "auto"; then
+    if test x"$enable_tui" = xauto; then
       enable_tui=no
     fi
     ;;
index a756a2d6f556cf7726ae5291504718deafe0afe4..8da6867a6a18812e85cfc3e3e0394081abe3f8ac 100644 (file)
@@ -447,11 +447,11 @@ AM_ICONV
 # broken on alpha-osf.
 
 case $host_os in
-  alpha*-*-osf* )
-    if "$enable_tui" = "yes"; then
+  osf* )
+    if test x"$enable_tui" = xyes; then
       AC_MSG_ERROR([Building GDB with TUI mode is not supported on this host])
     fi
-    if "$enable_tui" = "auto"; then
+    if test x"$enable_tui" = xauto; then
       enable_tui=no
     fi
     ;;
index ab6ea56fcfdbac772dd5fb12197ddf5ad120e134..a8354a135ceb04c67da71b92eb74cab364951898 100644 (file)
@@ -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;
 
This page took 0.03471 seconds and 4 git commands to generate.