diff options
author | markj <markj@FreeBSD.org> | 2014-06-23 01:10:56 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2014-06-23 01:10:56 +0000 |
commit | a10172c6e2ac4d6f7b8539c9efb43b495e764cea (patch) | |
tree | 291f134c9512fa509fa4f064b69e5037fa8055b4 /lib/libc | |
parent | 4e4bbc03f3649c78031ade578716d3821a5a9fae (diff) | |
download | FreeBSD-src-a10172c6e2ac4d6f7b8539c9efb43b495e764cea.zip FreeBSD-src-a10172c6e2ac4d6f7b8539c9efb43b495e764cea.tar.gz |
Fix a couple of bugs on amd64 when fetching probe arguments beyond the
first five for probes entered through a UD fault (i.e. FBT probes).
Specifically, handle the fact that dtrace_invop_callsite must be
16 byte-aligned and thus may not immediately follow the call to
dtrace_invop() in dtrace_invop_start(). Also fetch register arguments and
the stack pointer through a struct trapframe instead of a struct reg.
PR: 191260
Submitted by: luke.tw@gmail.com
MFC after: 3 weeks
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions