summaryrefslogtreecommitdiff
path: root/bcc/codefrag.c
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/codefrag.c')
-rw-r--r--bcc/codefrag.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/bcc/codefrag.c b/bcc/codefrag.c
index e7961ce..bdcb850 100644
--- a/bcc/codefrag.c
+++ b/bcc/codefrag.c
@@ -1617,6 +1617,18 @@ offset_T value;
outset();
outshex(value);
outnl();
+#ifdef FRAMEPOINTER
+ if (framep)
+ {
+ outbyte(LOCALSTARTCHAR);
+ outstr(funcname);
+ outbyte(LOCALSTARTCHAR);
+ outstr(name);
+ outset();
+ outshex(value+sp-framep);
+ outnl();
+ }
+#endif
}
/* shift left register by 1 */