<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/libexecinfo, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Don't rely on sys/_types.h including sys/cdefs.h</title>
<updated>2025-06-11T16:39:01+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2025-06-11T16:39:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b01e971fd39d10273a387788019457792873e81c'/>
<id>b01e971fd39d10273a387788019457792873e81c</id>
<content type='text'>
These headers relied in __BEGIN_DECS/__END_DECLS being defined when
sys/_types.h was included, but there's not a requirement that this be
the case.

Reviewed by:	imp
Exp-run by:	antoine (PR 286274)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1595
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These headers relied in __BEGIN_DECS/__END_DECLS being defined when
sys/_types.h was included, but there's not a requirement that this be
the case.

Reviewed by:	imp
Exp-run by:	antoine (PR 286274)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1595
</pre>
</div>
</content>
</entry>
<entry>
<title>Pull in fix from upstream NetBSD rev. 1.5:</title>
<updated>2020-09-21T16:43:38+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2020-09-21T16:43:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=895a7e604db4ddf2b5d58833a82c2b4956585d02'/>
<id>895a7e604db4ddf2b5d58833a82c2b4956585d02</id>
<content type='text'>
    If Unwind_Backtrace is broken, ctx.n will still contain ~0, and we will
    return that which poor behavior for the user, so return 0 instead.
    We could document ~0 to be an error, but that would deviate from the
    Linux behavior which is not desirable. Noted by Poul-Henning Kamp

PR:		209842
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    If Unwind_Backtrace is broken, ctx.n will still contain ~0, and we will
    return that which poor behavior for the user, so return 0 instead.
    We could document ~0 to be an error, but that would deviate from the
    Linux behavior which is not desirable. Noted by Poul-Henning Kamp

PR:		209842
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync up with NetBSD libexecinfo changes 2014-2019</title>
<updated>2019-10-26T06:59:59+00:00</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2019-10-26T06:59:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=499fe48de8938d4c7b0a91e20eb6c16db9d55633'/>
<id>499fe48de8938d4c7b0a91e20eb6c16db9d55633</id>
<content type='text'>
Drop portions that are unlit or redundant with llvm-libunwind: builtin.c,
unwind.h, and unwind_arm_ehabi_stub.c.

This code should now work with -fPIE binaries, should we choose to build any
that way.

When backtrace() array is full, signal an error so the underlying
Itanium-style C++ exception handling library (llvm-libunwind) knows to stop
tracing instead of continuing.  (It should stop on its own when it finishes
unwinding, so this is mostly an extra seatbelt against an infinite loop bug
in the unwinder.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drop portions that are unlit or redundant with llvm-libunwind: builtin.c,
unwind.h, and unwind_arm_ehabi_stub.c.

This code should now work with -fPIE binaries, should we choose to build any
that way.

When backtrace() array is full, signal an error so the underlying
Itanium-style C++ exception handling library (llvm-libunwind) knows to stop
tracing instead of continuing.  (It should stop on its own when it finishes
unwinding, so this is mostly an extra seatbelt against an infinite loop bug
in the unwinder.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove usage of _WITH_DPRINTF</title>
<updated>2016-07-30T01:16:06+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2016-07-30T01:16:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=999c1fd64b489eda8c04f1e1529f828ebe5c7794'/>
<id>999c1fd64b489eda8c04f1e1529f828ebe5c7794</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>backtrace.3: Fix prototype of backtrace_symbols_fd_fmt().</title>
<updated>2015-12-22T22:40:42+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-12-22T22:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d8eb75b41884ff1a9e257ae68ccce691e7be4e3c'/>
<id>d8eb75b41884ff1a9e257ae68ccce691e7be4e3c</id>
<content type='text'>
While here, fix a typo

Submitted by:	Sascha Wildner &lt;saw@online.de&gt;
Obtained from:	DragonflyBSD
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While here, fix a typo

Submitted by:	Sascha Wildner &lt;saw@online.de&gt;
Obtained from:	DragonflyBSD
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in the function name</title>
<updated>2015-11-05T07:43:15+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-11-05T07:43:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=458b591fb0ccbeaf80f7116cd145fe896cbf7421'/>
<id>458b591fb0ccbeaf80f7116cd145fe896cbf7421</id>
<content type='text'>
Submitted by:	Sascha Wildner &lt;saw@online.de&gt;
Obtained from:	DragonflyBSD
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	Sascha Wildner &lt;saw@online.de&gt;
Obtained from:	DragonflyBSD
</pre>
</div>
</content>
</entry>
<entry>
<title>libexecinfo: Include terminating null in byte count</title>
<updated>2013-11-21T14:12:36+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2013-11-21T14:12:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e7aca6f4e25e87cc473a4c0c5a0a6eb4671fde4'/>
<id>3e7aca6f4e25e87cc473a4c0c5a0a6eb4671fde4</id>
<content type='text'>
Otherwise, a formatted string with a strlen equal to the remaining
buffer space would have the last character omitted (because vsnprintf
always null-terminates), and later the assert in backtrace_symbols_fmt
would fail.

MFC after:	3 days
Sponsored by:	DARPA, AFRL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, a formatted string with a strlen equal to the remaining
buffer space would have the last character omitted (because vsnprintf
always null-terminates), and later the assert in backtrace_symbols_fmt
would fail.

MFC after:	3 days
Sponsored by:	DARPA, AFRL
</pre>
</div>
</content>
</entry>
<entry>
<title>Add $FreeBSD$ tag for user-facing header</title>
<updated>2013-09-03T13:36:23+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2013-09-03T13:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e7fec5c320c1d52fdc932880f311c9b03fc43a5b'/>
<id>e7fec5c320c1d52fdc932880f311c9b03fc43a5b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to 2013-08-29 NetBSD libexecinfo snapshot</title>
<updated>2013-08-29T16:57:55+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2013-08-29T16:57:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f357c00bf7d397bdcf68a4366a9d1dd20fa21496'/>
<id>f357c00bf7d397bdcf68a4366a9d1dd20fa21496</id>
<content type='text'>
This adds my patch to use the kern.proc.pathname sysctl instead of
relying on procfs(5).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds my patch to use the kern.proc.pathname sysctl instead of
relying on procfs(5).
</pre>
</div>
</content>
</entry>
<entry>
<title>Update libexecinfo man page for FreeBSD</title>
<updated>2013-08-23T13:47:18+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2013-08-23T13:47:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b32840d0480d149dd768d1e8165fb0d56af9b6b3'/>
<id>b32840d0480d149dd768d1e8165fb0d56af9b6b3</id>
<content type='text'>
Sponsored by:	DARPA, AFRL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:	DARPA, AFRL
</pre>
</div>
</content>
</entry>
</feed>
