public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: gary@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  gbenson/rtld-probes: http://pkgs.fedoraproject.org/cgit/gdb.git/plain/gdb-dlopen-stap-probe-test2.patch?h=f18
Date: Fri, 05 Apr 2013 10:15:00 -0000	[thread overview]
Message-ID: <20130405101500.7894.qmail@sourceware.org> (raw)

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.


                 reply	other threads:[~2013-04-05 10:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130405101500.7894.qmail@sourceware.org \
    --to=gary@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).