diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2001-09-19 15:39:54 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2001-09-19 15:39:54 +0000 |
commit | 2015650dea6c2c983cae3732b9f3a3590746c880 (patch) | |
tree | 0808983bb77c64155d5e60870c00a344d1039e92 /gdb/testsuite | |
parent | f3bcedc1a926796552d8932ab92ccd6632cd2dcf (diff) | |
download | gdb-2015650dea6c2c983cae3732b9f3a3590746c880.zip gdb-2015650dea6c2c983cae3732b9f3a3590746c880.tar.gz gdb-2015650dea6c2c983cae3732b9f3a3590746c880.tar.bz2 |
* approved by kseitz
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/lib/insight-support.exp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 679fdf2..404e51a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/lib/insight-support.exp b/gdb/testsuite/lib/insight-support.exp index db2747e..a296c78 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 |