diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-04-27 20:52:06 +0000 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-04-27 20:52:06 +0000 |
commit | 62e5f89c34f8c206917617978d156da4efb750df (patch) | |
tree | 03e070649e0436121c7549c6666363eb77df25dd /gdb/testsuite/gdb.cp/nextoverthrow.exp | |
parent | 28106bc2feb5553aede17c93fcb01c08bf935ad1 (diff) | |
download | gdb-62e5f89c34f8c206917617978d156da4efb750df.zip gdb-62e5f89c34f8c206917617978d156da4efb750df.tar.gz gdb-62e5f89c34f8c206917617978d156da4efb750df.tar.bz2 |
gdb/doc/ChangeLog:
2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Static Probe Points): New entry, explaining SystemTap
and generic static probe support on GDB.
gdb/testsuite/ChangeLog:
2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
Tom Tromey <tromey@redhat.com>
* gdb.base/default.exp: Add `$_probe_arg*' convenience
variables.
* gdb.base/stap-probe.c: New file.
* gdb.base/stap-probe.exp: New file.
* gdb.trace/stap-trace.c: New file.
* gdb.trace/stap-trace.exp: New file.
* gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
libgcc's unwinder.
Diffstat (limited to 'gdb/testsuite/gdb.cp/nextoverthrow.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/nextoverthrow.exp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/nextoverthrow.exp b/gdb/testsuite/gdb.cp/nextoverthrow.exp index 7d4a0c5..2dafcab 100644 --- a/gdb/testsuite/gdb.cp/nextoverthrow.exp +++ b/gdb/testsuite/gdb.cp/nextoverthrow.exp @@ -54,6 +54,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 } |