diff options
author | markj <markj@FreeBSD.org> | 2015-05-10 21:39:24 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2015-05-10 21:39:24 +0000 |
commit | 2c4686751c3442d00e8ca8a4684be7de7901df5a (patch) | |
tree | 6b678e85c73a5c729ecc4e4a0cf188da3436a4bf /usr.bin/bmake/unit-tests | |
parent | 6d811dd54182f5c975109aeed42f2ec76b7830fd (diff) | |
download | FreeBSD-src-2c4686751c3442d00e8ca8a4684be7de7901df5a.zip FreeBSD-src-2c4686751c3442d00e8ca8a4684be7de7901df5a.tar.gz |
ctf_add_type(): when looking up an integer or floating point type in the
list of pending dynamic type definitions, a match on the type name is not
sufficient - we need to compare the type encodings as well. For example,
bitfields have their own distinct type definitions which share the name of
the underlying integer type, and these types aren't generally
interchangeable.
This bug was causing the following libdtrace error when attempting to trace
the th_flags member of a struct tcphdr:
cg: bad field: off 104 type <32877> bits 539620016
Reported by: rwatson
MFC after: 3 weeks
Diffstat (limited to 'usr.bin/bmake/unit-tests')
0 files changed, 0 insertions, 0 deletions