1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-28 20:21:45 +02:00
Fork of the libunwind official github repo — http://www.nongnu.org/libunwind/
Go to file
mostang.com!davidm 503d83fa69 (uc_addr): New function to translate a register number into a ucontext address.
(_U_ia64_uc_addr): New function.
(access_reg): Use uc_addr() to calculate ucontext address.  Use uc->sc_rbs_base
	when accessing ar.bsp or ar.bspstore (see comments for unw_init_local()).
(access_fpreg): Ditto.
(ia64_local_resume): Renamed from resume().  Read NaT bits via ia64_access_reg().
	Call abort() instead of fprintf() when encountering a signal trampoline.
(unw_init_local): Initialize uc->sc_rbs_base to the bsp value of the current function.
	For UNW_LOCAL_ONLY case, just initialize c->uc and then call
	common_init() to do the remaining initialization.  For the general case,
	just initialize the accessor and then also call common_init().

(Logical change 1.8)
2002-02-28 16:24:48 +00:00
aux Initial revision 2002-02-23 20:27:03 +00:00
BitKeeper/etc Added Makefile.in configure doc/Makefile.in include/libunwind-tdep.h include/stamp-h include/stamp-h1 libunwind-0.2.tar.gz src/Makefile-orig src/Makefile.in tests/Makefile.in to the ignore list 2002-02-23 20:27:03 +00:00
doc Rename: NOTES -> doc/NOTES 2002-02-23 20:27:03 +00:00
include Remove include of libunwind-config.h. Include libunwind-tdep.h instead of 2002-02-23 20:27:03 +00:00
src (uc_addr): New function to translate a register number into a ucontext address. 2002-02-28 16:24:48 +00:00
tests mvdir 2002-02-23 20:27:03 +00:00
acinclude.m4 Initial revision 2002-02-23 20:27:03 +00:00
aclocal.m4 Initial revision 2002-02-23 20:27:03 +00:00
AUTHORS Initial revision 2002-02-23 20:27:03 +00:00
ChangeLog (Logical change 1.3) 2002-02-15 23:22:05 +00:00
ChangeSet Initial revision 2002-02-15 18:20:10 +00:00
configure.in Initial revision 2002-02-23 20:27:03 +00:00
COPYING (Logical change 1.3) 2002-02-15 23:22:05 +00:00
INSTALL Initial revision 2002-02-23 20:27:03 +00:00
Makefile.am Initial revision 2002-02-23 20:27:03 +00:00
NEWS Initial revision 2002-02-23 20:27:03 +00:00
README Update version number and build instructions. 2002-02-23 20:27:03 +00:00

This is version 0.2 of the unwind library.  At the moment, only the
IA-64 Linux (IPF Linux) platform is supported and even that support
has received only light testing.  Consequently, this release is
intended primarily to expose the unwind API to more developers and to
collect feedback on what does and does not work.  Having said that,
backtracing through gcc-generated code might work reasonably well.

There is virtually no documentation at the moment.  A brief outline of
the unwind API is in file NOTES.  To get a feel for how things are
intended to work, you may also want to take a look at
include/libunwind.h and include/libunwind-ia64.h.  Finally, the test
program in tests/bt.c shows two ways of how to do a simple backtrace:
one uses libunwind directly, the other uses a libunwind-based
implementation of the backtrace() function.  The test program in
tests/exc.c shows the basics of how to do exception handling with this
library.

The following steps should be used to compile and install this library:

	$ ./configure
	$ make
	$ make install prefix=PREFIX

where PREFIX is the installation prefix.  By default, a prefix of
/usr/local is used, such that libunwind.a is installed in
/usr/local/lib and unwind.h is installed in /usr/local/include.  For
testing, you may want to use a prefix of /usr/local instead.

Please direct all questions regarding this library to:

	libunwind@linux.hpl.hp.com

For spam protection, you'll have to subscribe to this list before
posting a question.  You can do this by sending a mail to
libunwind-request@linux.hpl.hp.com with a body of:

	subscribe libunwind

Note: the host that is running this list is behind a firewall, so
you'll not be able to use the Web interface to manage your
subscription.  Send a mail containing "help" to
libunwind-request@linux.hpl.hp.com for information on how to manage
your subscription via email.

	--david