* approved by kseitz
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 19 Sep 2001 15:39:54 +0000 (15:39 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 19 Sep 2001 15:39:54 +0000 (15:39 +0000)
2001-09-19  Frank Ch. Eigler  <fche@redhat.com>

* lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
to localhost:NNN instead of :NNN, in case Xvfb is listening
only on TCP.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/insight-support.exp

index 679fdf2491342a928620601d5abd90886a3d7b2e..404e51a1c8787ff5861f91cc4cdd25ba475c71c8 100644 (file)
@@ -1,3 +1,9 @@
+2001-09-19  Frank Ch. Eigler  <fche@redhat.com>
+
+       * 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  <vinschen@redhat.com>
 
        * gdb.base/recurse.exp: When checking leaving the watchpoint
index db2747e5ce6a63abaafc66168ee3ba689dd7299b..a296c7899c97405e9e4e47bb61b8a01663a30933 100644 (file)
@@ -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