public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Fix gdb.base/solib-corrupted.exp after dtrace probes changes
@ 2015-02-20 23:26 Pedro Alves
  0 siblings, 0 replies; only message in thread
From: Pedro Alves @ 2015-02-20 23:26 UTC (permalink / raw)
  To: gdb-patches

Commit 6f9b8491 (Adapt `info probes' to support printing probes of
different types.) added a new type column to "info probes".  That
caused a solib-corrupted.exp regression:

 ~~~~~~~~~~~~~~~~~~~~~
 Running /home/pedro/gdb/mygit/src/gdb/testsuite/gdb.base/solib-corrupted.exp ...
 FAIL: gdb.base/solib-corrupted.exp: corrupted list

		 === gdb Summary ===

 # of expected passes            2
 # of unexpected failures        1
 ~~~~~~~~~~~~~~~~~~~~~

Tested on x86_64 Fedora 20.

gdb/testsuite/ChangeLog:
2015-02-20  Pedro Alves  <palves@redhat.com>

	* gdb.base/solib-corrupted.exp: Expect "stap" as first column of
	info probes.
---
 gdb/testsuite/ChangeLog                    | 5 +++++
 gdb/testsuite/gdb.base/solib-corrupted.exp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 2ea6940..1e1ee53 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
 2015-02-20  Pedro Alves  <palves@redhat.com>
 
+	* gdb.base/solib-corrupted.exp: Expect "stap" as first column of
+	info probes.
+
+2015-02-20  Pedro Alves  <palves@redhat.com>
+
 	* gdb.threads/multi-create-ns-info-thr.exp: New file.
 
 2015-02-20  Pedro Alves  <palves@redhat.com>
diff --git a/gdb/testsuite/gdb.base/solib-corrupted.exp b/gdb/testsuite/gdb.base/solib-corrupted.exp
index 33192bc..3e3a6bb 100644
--- a/gdb/testsuite/gdb.base/solib-corrupted.exp
+++ b/gdb/testsuite/gdb.base/solib-corrupted.exp
@@ -44,7 +44,7 @@ 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\]" {
+    -re "^stap\[ \t\]+rtld\[ \t\]+(?:rtld_)?(\[a-z_\]+)\[ \t\]" {
 	set idx [lsearch -exact $probes $expect_out(1,string)]
 	if { $idx >= 0 } {
 	    set probes [lreplace $probes $idx $idx]
-- 
1.9.3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-20 23:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-20 23:26 [pushed] Fix gdb.base/solib-corrupted.exp after dtrace probes changes Pedro Alves

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).