summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapset/ChangeLog4
-rw-r--r--tapset/context.stp5
2 files changed, 7 insertions, 2 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index feb08a51..57380ea6 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-09 Josh Stone <joshua.i.stone@intel.com>
+
+ * context.stp (probefunc): define our own exit label
+
2006-05-08 Josh Stone <joshua.i.stone@intel.com>
PR 2594
diff --git a/tapset/context.stp b/tapset/context.stp
index bea07d81..a97d6f13 100644
--- a/tapset/context.stp
+++ b/tapset/context.stp
@@ -104,7 +104,7 @@ function probefunc:string () %{ /* pure */
while (*ptr != '@' && --len > 0 && *ptr)
*dst++ = *ptr++;
*dst = 0;
- goto out;
+ goto done;
}
if (CONTEXT->regs) {
str = _stp_string_init (0);
@@ -120,9 +120,10 @@ function probefunc:string () %{ /* pure */
else {
strlcpy(THIS->__retvalue, _stp_string_ptr(str),MAXSTRINGLEN);
}
- goto out;
+ goto done;
}
THIS->__retvalue[0] = '\0';
+done: ;
%}
function is_return:long () %{ /* pure */