public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] gbenson/rtld-probes: http://pkgs.fedoraproject.org/cgit/gdb.git/plain/gdb-dlopen-stap-probe-test2.patch?h=f18
@ 2013-04-05 10:15 gary
0 siblings, 0 replies; only message in thread
From: gary @ 2013-04-05 10:15 UTC (permalink / raw)
To: archer-commits
The branch, gbenson/rtld-probes has been updated
via ac72383262518bb91f8be8f98e53b0362367ad3b (commit)
from 732b63ff72c827bf5554b1ea5bc579a9405f5a4b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit ac72383262518bb91f8be8f98e53b0362367ad3b
Author: Gary Benson <gbenson@redhat.com>
Date: Fri Apr 5 11:14:48 2013 +0100
http://pkgs.fedoraproject.org/cgit/gdb.git/plain/gdb-dlopen-stap-probe-test2.patch?h=f18
-----------------------------------------------------------------------
Summary of changes:
gdb/testsuite/gdb.base/solib-corrupted.exp | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
First 500 lines of diff:
diff --git a/gdb/testsuite/gdb.base/solib-corrupted.exp b/gdb/testsuite/gdb.base/solib-corrupted.exp
index 6b703d9..4b92b8b 100644
--- a/gdb/testsuite/gdb.base/solib-corrupted.exp
+++ b/gdb/testsuite/gdb.base/solib-corrupted.exp
@@ -36,6 +36,33 @@ if ![runto_main] {
return
}
+# With probes interface GDB no longer scans the inferior library list so its
+# corruption cannot be tested. There is no way to disable the probes
+# interface.
+
+set probes { init_start init_complete map_start reloc_complete unmap_start
+ unmap_complete }
+set test "info probes"
+gdb_test_multiple $test $test {
+ -re "^rtld\[ \t\]+(?:rtld_)?(\[a-z_\]+)\[ \t\]" {
+ set idx [lsearch -exact $probes $expect_out(1,string)]
+ if { $idx >= 0 } {
+ set probes [lreplace $probes $idx $idx]
+ }
+ exp_continue
+ }
+ -re "^\[^\r\n\]*\r\n" {
+ exp_continue
+ }
+ -re "^$gdb_prompt $" {
+ }
+}
+if { [llength $probes] == 0 } {
+ xfail $test
+ untested "GDB is using probes"
+ return
+}
+
gdb_test "info sharedlibrary" "From * To .*" "normal list"
# GDB checks there for matching L_PREV.
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-05 10:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-05 10:15 [SCM] gbenson/rtld-probes: http://pkgs.fedoraproject.org/cgit/gdb.git/plain/gdb-dlopen-stap-probe-test2.patch?h=f18 gary
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).