1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-09 02:28:12 +01:00
Commit graph

2693 commits

Author SHA1 Message Date
mostang.com!davidm
8de87a48cd (UNW_VERSION_MAJOR): New macro.
(UNW_VERSION_MINOR): Likewise.
(UNW_VERSION_EXTRA): Likewise.

}(Logical change 1.261)
2004-09-08 17:36:28 +00:00
mostang.com!davidm
012a4844cb (UNW_VERSION_MAJOR): New macro.
(UNW_VERSION_MINOR): Likewise.
(UNW_VERSION_EXTRA): Likewise.

2004/09/08 08:15:35-07:00 mostang.com!davidm
Rename: include/libunwind-common.h -> include/libunwind-common.h.in

(Logical change 1.261)
2004-09-08 17:36:28 +00:00
hp.com!davidm
5501d8c39a Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/08/27 09:33:38+02:00 ibm.com!masbock
[PATCH] x86-64: fix unw_get_proc_info()

The unw_get_proc_info() function from my x86_64 patch is bogus.  It
doesn't update the passed in proc info. Here is a fix for it.

Signed-off-by: Max Asbock <masbock@us.ibm.com>
Signed-off-by: David Mosberger <davidm@hpl.hp.com>

BKrev: 41348449Xbf4YtlvXOTgwFap8u4eug
2004-08-31 13:59:37 +00:00
com[davidm]!masbock
e09e6ce1ad x86-64: fix unw_get_proc_info()
(Logical change 1.260)
2004-08-31 13:59:37 +00:00
hp.com!davidm
bca75e7d65 ia64: Fix unw_resume(), longjmp(), and siglongjmp() so they can resume
execution in a function with a floating stacked-register frame
	(i.e., a function whose stacked registers are _not_ backed by
	valid memory).

BKrev: 4134842er3hI9a53izod1_4UXvJycg
2004-08-31 13:59:10 +00:00
hp.com!davidm
7ccee42004 bsig
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
f7671b5cf7 Regenerate.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
352642247a Move JB_* macros to jmpbuf.h.
(_longjmp): Simplify by taking advantage of new _UI_longjmp_cont.

(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
197c9d517b Initial revision 2004-08-31 13:59:10 +00:00
hp.com!davidm
f789a1e1d1 Fix up a little so it's silent by default.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
3b57368f67 (struct cursor): Clarify meaning of "rbs_curr" member.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
c961dc646e (sigsetjmp): Use macros from jmpbuf.h instead of hardcoded values.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
e1e7db0e9b (siglongjmp): Use macros from jmpbuf.h instead of hardcoded values.
For ia64, if the longjmp is crossing a signal-frame, install
	the new signal mask by updating the sc_mask member in the
	oldest signal-frame.

(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
14abd25ff5 (setjmp): Use macros from jmpbuf.h instead of hardcoded values.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
8f2272c097 (noinst_PROGRAMS_arch): Move ia64-test-sig to...
(check_PROGRAMS_arch): ...here.  Mention ia64-test-setjmp.
(ia64_test_setjmp_LDADD): Mention libunwind-setjmp.la.

(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
9645369110 (local_resume): Adjust for expanded interface of rbs_cover_and_flush() and
ia64_install_cursor().

(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
f4c8d534bc (libunwind_setjmp_la_SOURCES_ia64): Mention ia64/longjmp.S.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
0aa29032f6 (ia64_install_cursor): Take additional arguments "bspstore", "dirty_size",
"dirty_partition", and "dirty_nat".  If size of dirty partition
	is non-zero, load it up via "loadrs" before resuming execution.

(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
3386d284fa (ia64_install_cursor): Adjust declaration for expanded interface.
(rbs_cover_and_flush): Likewise.

(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
cd69bfec0c (get_rnat): Simplify to return only the RNaT value itself.
(rbs_cover_and_flush): Take additional arguments "dirty_partition",
	"dirty_rnat", and "bspstore".  When it is necessary to copy
	backing-store words, copy them to "dirty_partition" instead of
	the target rbs, which may be full already.

(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
3dd5ca6713 (_setjmp): Use macros from jmpbuf.h instead of hardcoded values.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
d7418c600f (__sigsetjmp): Use macros from "jmpbuf.h" instead of hardcoded values.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
e29611e7d3 (Logical change 1.259) 2004-08-31 13:59:10 +00:00
hp.com!davidm
9c01662f1d (EXTRA_DIST): Mention include/{ia64,x86,x86_64}/jmpbuf.h.
(Logical change 1.259)
2004-08-31 13:59:10 +00:00
hp.com!davidm
70361981a9 ia64: Improve compatibility of setjmp/longjmp with libc's version. NPTL
is known to peek into the jump-buffer to look up the SP and the BSP,
	so this should improve NPTL-compatibility.

BKrev: 412dc459_Ucm8fVRzuNnw1MXisvqHQ
2004-08-26 11:07:05 +00:00
hp.com!davidm
18b501de4c Store rp and bsp in the same location as libc's setjmp().
(Logical change 1.258)
2004-08-26 11:07:05 +00:00
hp.com!davidm
ff2dcb9897 Pick up rp and bsp from locations compatible with libc's setjmp().
(Logical change 1.258)
2004-08-26 11:07:05 +00:00
hp.com!davidm
60665021da Tweak debug-levels a bit so you can get a function-trace with debug-level set
to 2.  Move unwind-internal.h to unwind subdirectory where it belongs.

BKrev: 412db5465GoE9lhZ1RCtwZABF9X9YA
2004-08-26 10:02:46 +00:00
hp.com!davidm
23366e72e5 Rename: src/unwind-internal.h -> src/unwind/unwind-internal.h
}(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
17c2244f91 Rename: src/unwind-internal.h -> src/unwind/unwind-internal.h
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
e965c295cf Regenerate.
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
e75a89cd6c Initial revision 2004-08-26 10:02:46 +00:00
hp.com!davidm
746fbe08e7 Increase debug-level of state-record printing to 2.
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
f576cce748 Drop debug-level for function-trace to 1.
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
f20eb7ea72 Add missing newlines in Debug statements.
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
hp.com!davidm
22d6f35cda (EXTRA_DIST): unwind-internal.h is now in unwind subdirectory.
(Logical change 1.257)
2004-08-26 10:02:46 +00:00
model.com!marky
6a349d88a5 [PATCH] dwarf: fix local & remote table lookup
remote_lookup() may return the wrong table entry or an invalid entry
combining the start address from one entry with the fde_offset from
another. The similar search in lookup() finds the correct entry, but
may perform unnecessary comparisons to get there.  Also fix the
prototype of remote_lookup().

Signed-off-by: Mark F Young <marky@model.com>
Signed-off-by: David Mosberger <davidm@hpl.hp.com>

BKrev: 412af9f4qbo3tgB2jDrMsp8-ODj9iA
2004-08-24 08:19:00 +00:00
com[davidm]!marky
271f706944 dwarf: fix local & remote table lookup
(Logical change 1.256)
2004-08-24 08:19:00 +00:00
homeip.net!davidm
a5e41807d2 check-namespace.sh.in: Check for __libunwind_Unwind* aliases.
BKrev: 4125e2096UlmdgKoZnG4-lGOPC2sIA
2004-08-20 11:35:37 +00:00
homeip.net!davidm
efa755a556 Add checks for __libunwind_* aliases.
(Logical change 1.255)
2004-08-20 11:35:37 +00:00
homeip.net!davidm
b865d61ea6 Split lib_LTLIBRARIES_cdep into two macros so we can list the libraries
in the right order.  This should fix a problem where the wrong library
was picked up if an old libunwind was installed already.  Reported
by HJ Lu.

BKrev: 4125dff9XwKbhk-7KOb0sPYHpZHbAA
2004-08-20 11:26:49 +00:00
homeip.net!davidm
0dfc1c87ed Regenerate.
(Logical change 1.254)
2004-08-20 11:26:49 +00:00
homeip.net!davidm
f028c7db74 (lib_LTLIBRARIES_cdep_setjmp): New macro. Move libunwind-setjmp.la
from lib_LTLIBRARIES_cdep to here.
(libunwind_la_SOURCES_x86_64_common): Mention x86_64/ucontext_i.h so
	it gets included in the tar-ball, too.
(lib_LTLIBRARIES): List $(lib_LTLIBRARIES_cdep_setjmp) after the
	other libraries.

(Logical change 1.254)
2004-08-20 11:26:49 +00:00
homeip.net!davidm
49af3506c7 x86_64: Fix up things some more such that "make check" is starting
to work.  Also, bt works now correctly, except that it still
	crashes when attempting to unwind across a signal-handler on
	an alternate signal-stack.

BKrev: 4125df2334Is8GIamgpMJ-630S9EBw
2004-08-20 11:23:15 +00:00
homeip.net!davidm
642607dbaa Cast register indices of type unw_word_t to (unsigned int) before
printing them.  Avoids compiler-warning for 64-bit targets.

(apply_reg_state): Handle the special case where the stack-pointer
	plays the role of the CFA and the stack-pointer hasn't
	been saved.  This is based on a patch by Max Asbock.

(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
6058013abe (unw_step): If dwarf_step() fails, fall back on using the frame-chain.
In theory, this may not be needed.  In practice, I find that
	Red Hat Enterprise Linux AS release 3, the _start() routine has
	no unwind-info, but we need to be able to unwind into this
	routine to find the end-of-frame-chain marker (RBP == 0).

(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
be2bed2712 (tdep_access_reg): If c->dwarf.cfa_is_sp is set, treat UNW_X86_64_RSP
as a read-only alias of CFA.

(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
9034bd158a (struct dwarf_cursor): Add new member "cfa_is_sp" to mark the case
when the (unsaved) stack-pointer is the CFA.

(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
9ac7a860d1 (parse_cie): Clarify the comment about the default FDE-encoding a bit.
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
18acb92530 (flush_cache): Provide dummy-implementation for x86-64.
(Logical change 1.253)
2004-08-20 11:23:15 +00:00