1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-28 04:11:43 +02:00
Fork of the libunwind official github repo — http://www.nongnu.org/libunwind/
Go to file
(none)!davidm 68ffdc1fce When printing a value of type unw_word_t, use the %lu format and
cast the value to (long).

(struct ia64_labeled_state): New type.
(alloc_labeled_state): New macro.
(free_labeled_state): Ditto.
(push, pop): Update for new ia64_state_record layout.
(dup_state_stack): New function.
(free_state_stack): Ditto.
(desc_copy_state): Make it restore the entire stack of states, not
	just the current one.
(desc_label_state): Make it save the entire stack of states, not
	just the current one.
(ia64_free_state_record): Free the list of labeled states.

(desc_prologue): Terminate parsing at end of region regardless of
	whether the next region is a body or a prologue.

(lookup): Verify that unwind table entry found by binary search
	really includes the desired IP.  If not, return NULL.
(get_proc_info): Adjust for move of start/end from unwind table
	to the unwind table info.  Return -UNW_ENOMEM if unable
	to allocate a new table.  If unwind entry does not exist
	for desired IP, clear the procedure info to zero.  Check
	the unwind version number and return -UNW_EBADVERSION if
	it is not 1.

(Logical change 1.5)
2002-02-22 21:58:53 +00:00
BitKeeper/etc Logging to logging@openlogging.org accepted 2002-02-22 21:58:53 +00:00
include Include architecture-specific header file first and then define 2002-02-22 21:58:53 +00:00
src When printing a value of type unw_word_t, use the %lu format and 2002-02-22 21:58:53 +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
COPYING (Logical change 1.3) 2002-02-15 23:22:05 +00:00
NOTES (Logical change 1.3) 2002-02-15 23:22:05 +00:00
README (Logical change 1.3) 2002-02-15 23:22:05 +00:00

This is version 0.0 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/unwind.h
and include/unwind-ia64.h.  Finally, the test program in
src/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
src/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:

	$ cd src
	$ make dep
	$ make
	$ make install prefix=PREFIX

where PREFIX is the installation prefix.  By default, a prefix of /usr
is used, such that libunwind.a is installed in /usr/lib and unwind.h
is installed in /usr/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