haiku/headers/private/libroot
Michael Lotz c012e7e930 libroot: Add private __arch_get_stack_trace().
It can be used to get a stack trace of the current thread. Note that
this works by walking frame pointers and will not produce anything
useful if an application is compiled with the frame pointers omitted.

The stack base and end addresses have to be provided as arguments and
are used to check that the frame pointers fall within that range. These
values are thread specific and can be retrieved with get_thread_info().
No other sanity checks (like checking for loops in the linked list) are
done.

This is a simplified rewrite of the stack trace code from the kernel
debugger.

As this code is common to x86 and x86_64 but is not generic across
architectures I introduced x86_common as a directory to put such
sources.
2015-04-11 23:37:54 +02:00
..
locale Allow switching of timezone string to messages locale, too. 2012-02-23 23:15:36 +01:00
time * Merged weak-symbols branch. 2010-11-22 13:06:36 +00:00
dirent_private.h * Fixed fdopendir(): We have to explicitly (re-)open the directory, because FDs 2009-11-10 10:55:43 +00:00
errno_private.h Introduce __set_errno() throughout libroot. 2011-11-24 23:48:18 +01:00
ErrnoMaintainer.h Let ErrnoMaintainer restore errno unconditionally. 2011-11-24 23:48:18 +01:00
extended_system_info.h Added new private API to get more information on a team: 2010-11-16 19:42:08 +00:00
fork.h * Private libroot locking primitives: 2010-04-15 21:52:49 +00:00
image_private.h Added private get_image_symbol_etc() that can recursively search for a symbol 2009-02-28 18:50:40 +00:00
libroot_lock.h * Retry in benaphore_lock() when interrupted. 2008-09-07 15:27:14 +00:00
libroot_private.h libroot: Add private __arch_get_stack_trace(). 2015-04-11 23:37:54 +02:00
mathimpl.h Removed unused includes. 2003-05-03 16:05:18 +00:00
memory_private.h Add private get_memory_properties() syscall which allows one to retrieve the 2011-06-12 20:17:14 +00:00
pthread_private.h kernel: atomic_*() functions rework 2013-11-05 22:32:59 +01:00
signal_private.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
stdlib_private.h Add private __getenv_reentrant() 2013-11-17 19:11:02 +01:00
system_revision.h Cleanup system-revision stuff. 2011-05-15 16:33:30 +00:00
time_private.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
times_private.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
trig.h for libroot's trig functions we need PI2 = 2*pi, so undef the math definitions. this affects only this private header (trig.h) and the files that include it from libroot (sincos.c, tan.c). fixes sin/cos/tan problems. 2005-05-18 21:39:36 +00:00
umask.h * Added private header defining __gUmask which is now used everywhere where 2009-06-17 14:09:40 +00:00
unistd_private.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
user_group.h Added missing spwd::sp_lstchg field. 2008-05-19 02:16:12 +00:00
user_thread.h * Introduced new header directory headers/private/system which is supposed 2008-05-14 03:55:16 +00:00
wchar_private.h Cleanup: correct variable name in mbrtowc() signature. 2012-02-07 21:43:00 +01:00