summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/printf.c
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2014-06-23 02:00:14 +0000
committermarkj <markj@FreeBSD.org>2014-06-23 02:00:14 +0000
commitf4fc0f344494005046953951113833a269f39583 (patch)
treeadb22f82df21c9840370fef252aeca6c0b73c3f7 /lib/libc/stdio/printf.c
parentdc769e3b99fb91d7c0744365e48470b2e288aa23 (diff)
downloadFreeBSD-src-f4fc0f344494005046953951113833a269f39583.zip
FreeBSD-src-f4fc0f344494005046953951113833a269f39583.tar.gz
Fix some bugs when fetching probe arguments in i386. Firstly ensure that
the 4 byte-aligned dtrace_invop_callsite can be found and that it immediately follows the call to dtrace_invop(). Secondly, fix some pointer arithmetic to account for differences between struct i386_frame and illumos' struct frame. Finally, ensure that dtrace_getarg() isn't inlined. It works by following a fixed number of frame pointers to the probe site, so inlining breaks it. MFC after: 3 weeks
Diffstat (limited to 'lib/libc/stdio/printf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud