From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25818 invoked by alias); 15 Mar 2011 20:41:46 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 25787 invoked by uid 306); 15 Mar 2011 20:41:44 -0000 Date: Tue, 15 Mar 2011 20:41:00 -0000 Message-ID: <20110315204143.25772.qmail@sourceware.org> From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-sergiodj-stap: check for stap probe in unwinder X-Git-Refname: refs/heads/archer-sergiodj-stap X-Git-Reftype: branch X-Git-Oldrev: e54d21757a87c22d7c3f0119ccc11aa1f4d0a4a4 X-Git-Newrev: 05d6ff701153e1d819de3105800ccf517d5102b7 X-SW-Source: 2011-q1/txt/msg00201.txt.bz2 List-Id: The branch, archer-sergiodj-stap has been updated via 05d6ff701153e1d819de3105800ccf517d5102b7 (commit) from e54d21757a87c22d7c3f0119ccc11aa1f4d0a4a4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 05d6ff701153e1d819de3105800ccf517d5102b7 Author: Tom Tromey Date: Tue Mar 15 14:41:21 2011 -0600 check for stap probe in unwinder ----------------------------------------------------------------------- Summary of changes: gdb/testsuite/gdb.cp/nextoverthrow.exp | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) First 500 lines of diff: diff --git a/gdb/testsuite/gdb.cp/nextoverthrow.exp b/gdb/testsuite/gdb.cp/nextoverthrow.exp index 89c02d6..a970bb9 100644 --- a/gdb/testsuite/gdb.cp/nextoverthrow.exp +++ b/gdb/testsuite/gdb.cp/nextoverthrow.exp @@ -53,6 +53,17 @@ gdb_test_multiple "print _Unwind_DebugHook" "check for unwinder hook" { } } if {!$ok} { + gdb_test_multiple "info probe" "check for stap probe in unwinder" { + -re ".*libgcc.*unwind.*\r\n$gdb_prompt $" { + pass "check for stap probe in unwinder" + set ok 1 + } + -re "\r\n$gdb_prompt $" { + } + } +} + +if {!$ok} { unsupported "nextoverthrow.exp could not find _Unwind_DebugHook" return -1 } hooks/post-receive -- Repository for Project Archer.