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
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
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
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
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
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
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
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
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
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
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
homeip.net!davidm
c0603a8ebc
Initial revision
2004-08-19 14:00:14 +00:00
ibm.com!masbock
e407f9a720
Regenerate.
...
(Logical change 1.249)
2004-08-19 13:39:10 +00:00
ibm.com!masbock
aa9a917cb4
Add x86_64 support.
...
(Logical change 1.249)
2004-08-19 13:39:10 +00:00
ibm.com!masbock
a766efd844
(Logical change 1.249)
2004-08-19 13:39:10 +00:00
ibm.com!masbock
58e37267be
Initial revision
2004-08-19 13:39:10 +00:00
homeip.net!davidm
077322d414
Drop DWARF-parsing debug prints from level 16 to 15.
...
(parse_cie): Pick correct default for FDE-encoding, not just DW_EH_PE_omit.
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
aae368ace2
Drop DWARF-parsing debug prints from level 16 to 15.
...
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
e9045e3cca
Add include of dwarf_i.h now that we need dwarf_reads32().
...
Drop DWARF-parsing debug prints from level 16 to 15.
(struct table_entry): Change member types from unw_word_t to int32_t. The members
need to be of a signed type and forcing them to 32 bits makes the type
work for both 32-bit and 64-bit executables (up to 4GB of text-size).
(callback): Only allow search tables which have 32-bit members.
Fix initialization of di->u.rti.table_len to express table-length as a count
of unw_word_t, as it's defined to be (we get lucky here: even with 32-bit
members, each table-entry contains two members so we're guaranteed that the
table has a size that is an integer-multiple of unw_word_t even on 64-bit
platforms).
(lookup): Change type of "rel_ip" from unw_word_t to int32_t. Simplify the
code a bit.
(remote_read): Delete.
(remote_lookup): Use dwarf_reads32() instead of remote_read() to read out table
members. Simplify code a bit.
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
5742642c24
(unw_step): Drop extra 'x' from Debug statement.
...
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
1ba865a631
Regenerate.
...
(Logical change 1.246)
2004-08-19 10:45:23 +00:00
homeip.net!davidm
66100609bb
Add alias required by ia64 unwind specification.
...
(Logical change 1.246)
2004-08-19 10:45:23 +00:00
homeip.net!davidm
ccdd644cf2
(SOVERSION): Change from 3:0:2 to 0:0:0 for ia64 unwind-specification compliance.
...
(Logical change 1.246)
2004-08-19 10:45:23 +00:00
bea.com!thallgre
779632ee82
Regenerate.
...
(Logical change 1.245)
2004-08-18 15:16:46 +00:00
bea.com!thallgre
0f818455ce
Initial revision
2004-08-18 15:16:46 +00:00
bea.com!thallgre
cb503ba4e5
(libunwind_la_SOURCES_common): Mention mi/strerror.c.
...
(Logical change 1.245)
2004-08-18 15:16:46 +00:00
bea.com!thallgre
48cc8c5712
(Logical change 1.245)
2004-08-18 15:16:46 +00:00