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
homeip.net!davidm
99784e02d3
(_UPTi_find_unwind_table): Provide dummy x86-64 implementation so
...
"make check" can be run.
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
d8c89b8a01
(_UPT_reg_offset): Provide x86-64 register offsts (untested).
...
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
982b64232d
Regenerate.
...
(Logical change 1.252)
2004-08-19 14:03:54 +00:00
homeip.net!davidm
9aafad075c
Regenerate some files missed in the x86-64 check-in.
...
Move test-init-remote to where it belongs, so it does not get build for
REMOTE_ONLY.
BKrev: 4124b34apITy6n8Hvroi47or9yP9sw
2004-08-19 14:03:54 +00:00
homeip.net!davidm
3eb739d290
(check_PROGRAMS_cdep): Move test-init-remote from check_PROGRAMS_common to here
...
so it doesn't get built in the REMOTE_ONLY-case.
(Logical change 1.252)
2004-08-19 14:03:54 +00:00
homeip.net!davidm
4980b53aaa
x86_64: Fix cross-compilation issue in src/x86_64/Gstep.c.
...
BKrev: 4124b26ei4ORPfaXUkGRYQfAPW_yVQ
2004-08-19 14:00:14 +00:00
homeip.net!davidm
51ef1210e8
Include ucontext_i.h.
...
(unw_step): Fixup signal-frame-skipping code so it can be cross-compiled.
(Logical change 1.251)
2004-08-19 14:00:14 +00:00
homeip.net!davidm
43425a9beb
(Logical change 1.251)
2004-08-19 14:00:14 +00:00