1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-23 16:07:37 +01:00
Commit graph

2498 commits

Author SHA1 Message Date
hp.com!davidm
07e9f4df89 Include "config.h" if we have it.
Include <errno.h>.
Include <ia64intrin.h> if we have it.
(get_bsp): New function.
(doit): Use get_bsp() instead of __builtin_ia64_bsp().
(main): Replace %m with %s/strerror(errno).

(Logical change 1.277)
2004-10-15 13:53:29 +00:00
hp.com!davidm
e4d5a22812 Regenerate.
(Logical change 1.276)
2004-10-15 13:48:38 +00:00
hp.com!davidm
beca885a4b (Logical change 1.276) 2004-10-15 13:48:38 +00:00
hp.com!davidm
935d735557 Initial revision 2004-10-15 13:48:38 +00:00
hp.com!davidm
064fea22b1 Add tests/run-ptrace-misc which is designed to catch a GCC bug which causes
bad unwind info (all but the first sp-restorers fail to get marked with a
".restore sp" directive; see GCC bugzilla report #18010).

BKrev: 416fd5365xn1-FZs2rUwq7kv7MNyGQ
2004-10-15 13:48:38 +00:00
hp.com!davidm
9d47ce5331 (f): Move it to ident.c so the optimizer can't get rid of it.
(Logical change 1.276)
2004-10-15 13:48:38 +00:00
hp.com!davidm
b0048ee762 (do_backtrace): Keep track of initial IP so we can issue better error messages.
(main): Update comment for -t.

(Logical change 1.276)
2004-10-15 13:48:38 +00:00
hp.com!davidm
b4f1459444 (EXTRA_DIST): Mention run-ptrace-misc.
(check_SCRIPTS_cdep): Mention run-ptrace-misc.
(noinst_PROGRAMS_cdep): Mention test-ptrace-misc.
(Gtest_bt_SOURCES): New macro.
(Ltest_bt_SOURCES): Likewise.
(test_ptrace_misc_SOURCES)L: Likewise.

(Logical change 1.276)
2004-10-15 13:48:38 +00:00
hp.com!davidm
76176df770 Update to reflect latest bug-fixes & changes.
(Logical change 1.275)
2004-10-15 13:37:27 +00:00
hp.com!davidm
75b6719352 Update to reflect currently reality.
(Logical change 1.275)
2004-10-15 13:37:27 +00:00
hp.com!davidm
07e4c82af8 Update NEWS & README to reflect current reality.
BKrev: 416fd297x-EpX1YIsrtHWJ7INlcK7A
2004-10-15 13:37:27 +00:00
homeip.net!davidm
8a2fe0901b Update NEWS file for v0.98.1.
(Logical change 1.274)
2004-10-13 14:14:10 +00:00
homeip.net!davidm
fd169cc680 Regenerate.
(Logical change 1.274)
2004-10-13 14:14:10 +00:00
homeip.net!davidm
788a016723 Merge bk://unwind@bkbits.net/libunwind
into mosberger.homeip.net:/home/davidm/src/unwind/libunwind

2004/10/07 11:35:11+02:00 homeip.net!davidm
Get ready for interim v0.98.1 release to fix a stupid install bug.

BKrev: 416d3832q_diEmR8aBNgsLs_4McpCA
2004-10-13 14:14:10 +00:00
homeip.net!davidm
3ad05c8a1d Change pkg_extra to .1.
(Logical change 1.274)
2004-10-13 14:14:10 +00:00
hp.com!davidm
e8518b85c5 Ignore NULL stack-frames---they can't possibly be the correct target of
a longjmp() because the caller of setjmp() must have a non-NULL frame.

(Logical change 1.273)
2004-10-13 14:14:09 +00:00
hp.com!davidm
7c9534a37e Fix {sig,}longjmp() so it works on SLES9 which failed because to
kill() caused a NULL-frame which was incorrectly identified as the
target of the longjmp().

BKrev: 416d38310dca_S_DoJqvMNvQnm6wwA
2004-10-13 14:14:09 +00:00
hp.com!davidm
cf96145116 ia64: Fix ia64 sigsetjmp() so ia64-test-setjmp also succeeds on SLES 9.
BKrev: 416d36c2LlOSPR6SVavY72kaKjCICA
2004-10-13 14:08:02 +00:00
hp.com!davidm
22ac4c078f (__sigsetjmp): Start updating jmp_buf only after sigprocmask() returned
successfully.  This avoids a failure in ia64-test-setjmp which
	was due to the fact that sigprocmask() caused a segfault (due to
	overflowing the stack) and at that point we had a partially updated
	jmp_buf.

(Logical change 1.272)
2004-10-13 14:08:02 +00:00
homeip.net!davidm
b62e5e37b3 Regenerate.
(Logical change 1.271)
2004-10-05 16:28:06 +00:00
homeip.net!davidm
b54d9216d6 Fix bug which caused libunwind-common.h.in instead of libunwind-common.h
to be installed.  Reported by Johan Walles.

BKrev: 4162cb96x9C4SwdWiMYyOt479O5jlg
2004-10-05 16:28:06 +00:00
homeip.net!davidm
ebf7fdb2f3 (include_HEADERS_common): Remove include/libunwind-common.h.in.
(nodist_include_HEADERS): Mention include/libunwind-common.h.
(EXTRA_DIST): Mention include/libunwind-common.h.in.

(Logical change 1.271)
2004-10-05 16:28:06 +00:00
hp.com!davidm
7bd9b32b1d Regenerate.
(Logical change 1.270)
2004-09-15 11:37:04 +00:00
hp.com!davidm
4e5aa1e556 Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/09/15 04:36:38-07:00 hp.com!davidm
Make bt into an automatic test-case (Gtest-bt & Ltest-bt) and enhance it in
an attempt to trigger a bug reported by Anthony Brewer were GAS apparently
is generating bad psp-relative offsets on ia64.

BKrev: 41482960zyAq_BCQHMor5ERtz8crIQ
2004-09-15 11:37:04 +00:00
hp.com!davidm
23d9a14c4d (verbose): New variable.
(num_errors): Likewise.
(do_backtrace): Only print info if verbose is set.
(foo): Likewise.
(sighandler): Likewise.
(main): Likewise.
(bar): New function which is attempting to trigger a bug reported by
	Anthony Brewer which is caused by GAS apparently generating bad
	offsets for the psprel directive.
(f): New function.

}(Logical change 1.270)
2004-09-15 11:37:04 +00:00
hp.com!davidm
186cbb2957 (verbose): New variable.
(num_errors): Likewise.
(do_backtrace): Only print info if verbose is set.
(foo): Likewise.
(sighandler): Likewise.
(main): Likewise.
(bar): New function which is attempting to trigger a bug reported by
	Anthony Brewer which is caused by GAS apparently generating bad
	offsets for the psprel directive.
(f): New function.

2004/09/15 04:24:29-07:00 hp.com!davidm
Rename: tests/bt.c -> tests/Gtest-bt.c

(Logical change 1.270)
2004-09-15 11:37:04 +00:00
hp.com!davidm
18cd500bf7 (Logical change 1.270) 2004-09-15 11:37:04 +00:00
hp.com!davidm
373a106072 Initial revision 2004-09-15 11:37:04 +00:00
hp.com!davidm
dfa582a2df (noinst_PROGRAMS_cdep): Move bt to...
(check_PROGRAMS_cdep): ...here as Gtest-bt/Ltest-bt.

(Logical change 1.270)
2004-09-15 11:37:04 +00:00
homeip.net!davidm
63b092da19 Mention URL for HJ's libunwind-specification extensions.
BKrev: 4147ff2c4SU2renI427XPy99W1al0A
2004-09-15 08:37:00 +00:00
homeip.net!davidm
5ab903c90b Mention URL for HJ's libunwind-specification extensions.
(Logical change 1.269)
2004-09-15 08:37:00 +00:00
mostang.com!davidm
3561d9af35 Oops, forgot to add _UI_longjmp_cont() dummy for x86 and x86-64.
BKrev: 41408427q8u9sbVJVdtxQUeLJpvl3Q
2004-09-09 16:26:15 +00:00
mostang.com!davidm
caa528e1e8 Add dummy implementation of _UI_longjmp_cont().
(Logical change 1.268)
2004-09-09 16:26:15 +00:00
mostang.com!davidm
02e99d2ce3 Update.
(Logical change 1.267)
2004-09-09 13:15:24 +00:00
mostang.com!davidm
c547876aa9 Update NEWS file for v0.98.
BKrev: 4140576cz3tYl6KzeZQzIpODidjsKw
2004-09-09 13:15:24 +00:00
mostang.com!davidm
f5638df504 Regenerate.
(Logical change 1.266)
2004-09-09 13:06:01 +00:00
mostang.com!davidm
81f4953a1f Fix typo: REMOTE_ONLY -> UNW_REMOTE_ONLY.
(Logical change 1.266)
2004-09-09 13:06:01 +00:00
mostang.com!davidm
ac0b7e03a0 Fix some compiler warnings and switch to v0.98 in preparation for
release.

BKrev: 41405539eKEYXz9pUzL_XJbePkxnZw
2004-09-09 13:06:01 +00:00
mostang.com!davidm
f28e502936 Drop "-alpha" from pkg_extra.
(Logical change 1.266)
2004-09-09 13:06:01 +00:00
mostang.com!davidm
8e96c357a8 (unw_addr_space): If we have atomic-ops library installed, declare
cache_generation as AO_t.
(dwarf_getfp): Do casts via "char *" to avoid type-punning
	warnings.
(dwarf_putfp): Likewise.

(Logical change 1.266)
2004-09-09 13:06:01 +00:00
mostang.com!davidm
34be77c7b2 (test_generic): Fix "unused variable" warning.
(Logical change 1.266)
2004-09-09 13:06:01 +00:00
mostang.com!davidm
cb4fda9750 (setjmp): Fix cast: unw_word_t should be "void *".
(Logical change 1.266)
2004-09-09 13:06:01 +00:00
mostang.com!davidm
126e1418de x86: Tweak debug-levels for unw_resume() to match ia64-version.
BKrev: 414035b1FaxN7Qn6zSdyEMB81RgJ1A
2004-09-09 10:51:29 +00:00
mostang.com!davidm
21dd6ad5cb (x86_local_resume): Tweak debug-level code to match ia64-version.
(Logical change 1.265)
2004-09-09 10:51:29 +00:00
mostang.com!davidm
1e57152ba7 x86: Do (untested) versions of dwarf_getfp() and dwarf_putfp().
BKrev: 4140355eGIpu6zMcXNVIvR_oK8b7lA
2004-09-09 10:50:06 +00:00
mostang.com!davidm
a6aa7338cc (dwarf_getfp): Implement a first draft version of this routine
(completely untested).
(dwarf_putfp): Likewise.
(dwarf_get): Don't support fp-register save-locations.
(dwarf_put): Likewise.

(Logical change 1.264)
2004-09-09 10:50:06 +00:00
mostang.com!davidm
0fdda1b3b0 x86: Fix common_init() to initialize sigcontext-related members.
This makes tests/Gtest-exc and tests/Ltest-exc work.

BKrev: 414034dbzpIn5YX4WA-HSdunB1GsHg
2004-09-09 10:47:55 +00:00
mostang.com!davidm
f226ffec68 (common_init): Don't forget to initialize cursors sigcontext_format
and sigcontext_addr members.

(Logical change 1.263)
2004-09-09 10:47:55 +00:00
mostang.com!davidm
3050ccdd98 Add some more UNW_VERSION macro cruft to make it easy to compare
version codes.  Now you can do:

  if (UNW_VERSION >= UNW_VERSION_CODE (0, 98))
     ...

to check if the current libunwind version is at least v0.98.

Not that such version-check is recommend---use configure instead
wherever possible.

BKrev: 41403444RFDXY4AE08vkfXDh7OCZVg
2004-09-09 10:45:24 +00:00
mostang.com!davidm
47bf99c677 (UNW_VERSION_CODE): New macro.
(UNW_VERSION): Likewise.

(Logical change 1.262)
2004-09-09 10:45:24 +00:00