* 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.
This commit is contained in:
Frank Ch. Eigler 2001-09-19 15:39:54 +00:00
parent f3bcedc1a9
commit 2015650dea
2 changed files with 7 additions and 1 deletions

View 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

View 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