This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdbtk testsuite patch: Xvfb access control


Hi -

I'm committing the following approved/obvious patch to gdb/testsuite.
It tells Xvfb (used by gdb.gdbtk tests) to turn off any excess security,
that on some platforms prevents the test execution.


2001-09-15  Frank Ch. Eigler  <fche@redhat.com>

	* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
	the "-ac" (disable access control) flags.


Index: lib/insight-support.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/insight-support.exp,v
retrieving revision 1.1
diff -u -r1.1 insight-support.exp
--- insight-support.exp	2001/08/30 16:34:04	1.1
+++ insight-support.exp	2001/09/15 17:05:34
@@ -116,7 +116,7 @@
     }
   } elseif {!$_using_windows && [which Xvfb] != 0} {
     set screen ":[getpid]"
-    set pid [spawn  Xvfb $screen]
+    set pid [spawn  Xvfb $screen -ac]
     set _xvfb_spawn_id $spawn_id
     set env(DISPLAY) $screen
   } else {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]