diff options
author | Mark Wielaard <mjw@redhat.com> | 2010-02-02 13:47:19 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2010-02-02 13:54:19 +0100 |
commit | 87748e2b87e574d3c83866ccd0d83678c3c68d93 (patch) | |
tree | f3db83626aa63188c6cf0f41489f6908d78a1255 /testsuite/systemtap.exelib/libmarkunamestack.tcl | |
parent | 42eca8cc5a5b1073332596dd3fc0ecfe98394f60 (diff) | |
download | systemtap-steved-87748e2b87e574d3c83866ccd0d83678c3c68d93.tar.gz systemtap-steved-87748e2b87e574d3c83866ccd0d83678c3c68d93.tar.xz systemtap-steved-87748e2b87e574d3c83866ccd0d83678c3c68d93.zip |
Make sure cfa_ops are always retrieved through dwfl global address.
dwflpp::translate_location() works on the dw address space, but
get_cfa_ops() starts out with dwfl calls (only dwarf_cfi_addrframe()
needs to be adjusted for bias).
* dwflpp.cxx (translate_location): Pass pc plus module bias through to
get_cfa_ops.
(get_cfa_ops): Adjust for bias when calling dwarf_cfi_addrframe(),
add frame start/end address when found if verbose logging.
* testsuite/systemtap.exelib/lib.stp: Add $foo and $bar variables to
process.function probes.
* testsuite/systemtap.exelib/libmarkunamestack.stp: Likewise.
* testsuite/systemtap.exelib/lib.tcl: Expect correct values for
process.function probe variables.
* testsuite/systemtap.exelib/libmarkunamestack.tcl: Likewise.
Diffstat (limited to 'testsuite/systemtap.exelib/libmarkunamestack.tcl')
-rw-r--r-- | testsuite/systemtap.exelib/libmarkunamestack.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.exelib/libmarkunamestack.tcl b/testsuite/systemtap.exelib/libmarkunamestack.tcl index 55dc10ee..20111b3f 100644 --- a/testsuite/systemtap.exelib/libmarkunamestack.tcl +++ b/testsuite/systemtap.exelib/libmarkunamestack.tcl @@ -47,9 +47,9 @@ expect { # lib -re {^main\r\n} {incr lib; exp_continue} - -re {^main_func\r\n} {incr lib; exp_continue} + -re {^main_func: [1-3]\r\n} {incr lib; exp_continue} -re {^lib_main\r\n} {incr lib; exp_continue} - -re {^lib_func\r\n} {incr lib; exp_continue} + -re {^lib_func: [1-3]\r\n} {incr lib; exp_continue} # mark -re {^main_count: [1-3]\r\n} {incr mark; exp_continue} |