summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-04-13 14:46:54 -0700
committerJosh Stone <jistone@redhat.com>2009-04-13 14:58:55 -0700
commit675e4d2a0635f822e8258c3f219c6dda685c67cf (patch)
tree40543b71791b695e30b6936c09e17d04e40d7d2d /testsuite/systemtap.base
parent8ca27b7dc58bf14e86cd40ae6246962fa580966d (diff)
downloadsystemtap-steved-675e4d2a0635f822e8258c3f219c6dda685c67cf.tar.gz
systemtap-steved-675e4d2a0635f822e8258c3f219c6dda685c67cf.tar.xz
systemtap-steved-675e4d2a0635f822e8258c3f219c6dda685c67cf.zip
PR10049: Restore better errors for $return
In commit c4ce66a1 I shifted some of the variable accesses around, and that caused the error messages for $return variables to lose context. The root problem in this case was that dwarf_attr didn't find the type attribute, and that failure wasn't immediately caught. Now that result is checked so we can provide a proper error message. While I'm at it, changing that lookup to dwarf_attr_integrate is enough to make the $return value usable again, at least for the reported test case.
Diffstat (limited to 'testsuite/systemtap.base')
0 files changed, 0 insertions, 0 deletions