This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: close-on-exec internal file descriptors
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 22 Apr 2013 14:17:51 -0600
- Subject: Re: RFC: close-on-exec internal file descriptors
- References: <874njjs1aa dot fsf at fleche dot redhat dot com> <m2vcbzui0o dot fsf at igel dot home> <87fw32p00e dot fsf at fleche dot redhat dot com> <874niy6y35 dot fsf at fleche dot redhat dot com> <87d2tmsey0 dot fsf at fleche dot redhat dot com>
Tom> I rebased it and then regression tested it on x86-64 Fedora 18.
... and somehow it still regressed selftest.exp.
I don't understand how since I remember re-running the test suite and
running my comparison script.
Anyhow, here is the obvious fix.
I am checking it in.
Tom
2013-04-22 Tom Tromey <tromey@redhat.com>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
notice_open_fds.
Index: testsuite/gdb.gdb/selftest.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.gdb/selftest.exp,v
retrieving revision 1.33
diff -u -r1.33 selftest.exp
--- testsuite/gdb.gdb/selftest.exp 22 Jan 2013 15:47:54 -0000 1.33
+++ testsuite/gdb.gdb/selftest.exp 22 Apr 2013 20:16:37 -0000
@@ -154,6 +154,10 @@
set description "next over bfd_init"
set command "next"
}
+ -re ".*notice_open_fds ..;.*$gdb_prompt $" {
+ set description "next over notice_open_fds"
+ set command "next"
+ }
-re ".*VEC_cleanup .cmdarg_s.*$gdb_prompt $" {
set description "next over cmdarg_s VEC_cleanup"
set command "next"