diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 679fdf24913..404e51a1c87 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2001-09-19 Frank Ch. Eigler + + * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY + to localhost:NNN instead of :NNN, in case Xvfb is listening + only on TCP. + 2001-09-19 Corinna Vinschen * gdb.base/recurse.exp: When checking leaving the watchpoint diff --git a/gdb/testsuite/lib/insight-support.exp b/gdb/testsuite/lib/insight-support.exp index db2747e5ce6..a296c7899c9 100644 --- a/gdb/testsuite/lib/insight-support.exp +++ b/gdb/testsuite/lib/insight-support.exp @@ -118,7 +118,7 @@ proc _gdbtk_xvfb_init {} { set screen ":[getpid]" set pid [spawn Xvfb $screen -ac] set _xvfb_spawn_id $spawn_id - set env(DISPLAY) $screen + set env(DISPLAY) localhost$screen } else { # No Xvfb found -- skip test return 0