ctf: Remove unused function prototype for getpname()This function prototype should have been removed along with theimplementation.Fixes: 3dd552426409 ctfdump: Use getprogname()MFC after: 1 day
ctfdump: Use getprogname()Also remove no longer used function `getpname()`.Reviewed by: markjMFC after: 3 daysDifferential Revision: https://reviews.freebsd.org/D38740
ctfconvert: Give bitfield types names distinct from the base typeCTF integers have an explicit width and so can be used to representbitfields. Bitfield types emitted by ctfconvert(1) share the na
ctfconvert: Give bitfield types names distinct from the base typeCTF integers have an explicit width and so can be used to representbitfields. Bitfield types emitted by ctfconvert(1) share the name ofthe base integer type, so a struct field with type "unsigned int : 15"will have a type named "unsigned int".To avoid ambiguity when looking up types by name, add a suffix to namesof bitfield types to distinguish them from the base type. Then, ifctfmerge happens to order bitfield types before the corresponding basetype in a CTF file, a name lookup will return the base type, which isalways going to be the desired behaviour.PR: 265403Reported by: cyMFC after: 1 weekSponsored by: The FreeBSD Foundation
show more ...
ctfdump: Remove definitions of warn() and vwarn()The presence of the latter causes a link error when building astatically linked ctfdump(1) because libc defines the same symbol.libc's warn() is d
ctfdump: Remove definitions of warn() and vwarn()The presence of the latter causes a link error when building astatically linked ctfdump(1) because libc defines the same symbol.libc's warn() is defined as a weak symbol and so does not cause the sameproblem, but let's just use libc's version.Reported by: stephane rochoy <stephane.rochoy@stormshield.eu>MFC after: 1 weekSponsored by: The FreeBSD Foundation
ctf: Import ctf.h from OpenBSDUse it instead of the existing ctf.h from OpenSolaris. This makes iteasier to use CTF in the core kernel, and to extend the CTF format tosupport wider type IDs.Th
ctf: Import ctf.h from OpenBSDUse it instead of the existing ctf.h from OpenSolaris. This makes iteasier to use CTF in the core kernel, and to extend the CTF format tosupport wider type IDs.The imported ctf.h is modified to depend only on _types.h, and also toprovide macros which use the "parent" bit of a type ID to refer to typesin a parent CTF container.No functional change intended.Reviewed by: Domagoj Stolfa, emasteMFC after: 1 monthSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D34358
A lot of changes to make this code compile cleanly on FreeBSD.
This commit was generated by cvs2svn to compensate for changes in r178528,which included commits to RCS files with non-trunk default branches.
This commit was generated by cvs2svn to compensate for changes in r178481,which included commits to RCS files with non-trunk default branches.