* 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.
This commit is contained in:
Rainer Orth
2010-01-25 13:22:02 +00:00
parent 1c1238a5e8
commit 6bcc772dec
4 changed files with 15 additions and 7 deletions

View 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.

6
gdb/configure vendored
View File

@@ -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
;;

View 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
;;

View 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;