This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

[commit] lib/gdb.exp (gdb_skip_xml_test): Add comment.


Hi,

I checked this in.
I was tripping over the fact that gdb_skip_xml_test must be called
while gdb is not running, so I decided to document it.

2010-01-07  Doug Evans  <dje@google.com>

	* lib/gdb.exp (gdb_skip_xml_test): Add comment.

Index: lib/gdb.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
retrieving revision 1.130
diff -u -p -r1.130 gdb.exp
--- lib/gdb.exp	1 Jan 2010 07:32:07 -0000	1.130
+++ lib/gdb.exp	7 Jan 2010 23:23:54 -0000
@@ -2730,6 +2730,7 @@ proc gdb_skip_bogus_test { msg } {
 
 # Return true if a test should be skipped due to lack of XML support
 # in the host GDB.
+# NOTE: This must be called while gdb is *not* running.
 
 proc gdb_skip_xml_test { } {
     global gdb_prompt


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