diff options
author | jistone <jistone> | 2006-05-09 20:52:53 +0000 |
---|---|---|
committer | jistone <jistone> | 2006-05-09 20:52:53 +0000 |
commit | e8ceb45c053fbcc326b82c2f360c1175c44d7d20 (patch) | |
tree | e271ad5f9dc637354eef42923a32a6e36301cbf8 /tapset/context.stp | |
parent | 7fc04af4d3eed82dcefe595a5718e1e21178f65a (diff) | |
download | systemtap-steved-e8ceb45c053fbcc326b82c2f360c1175c44d7d20.tar.gz systemtap-steved-e8ceb45c053fbcc326b82c2f360c1175c44d7d20.tar.xz systemtap-steved-e8ceb45c053fbcc326b82c2f360c1175c44d7d20.zip |
2006-05-09 Josh Stone <joshua.i.stone@intel.com>
* context.stp (probefunc): define our own exit label
Diffstat (limited to 'tapset/context.stp')
-rw-r--r-- | tapset/context.stp | 5 |
1 files changed, 3 insertions, 2 deletions
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 */ |