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
mostang.com!davidm
112fcdd172
Regenerate.
...
(Logical change 1.261)
2004-09-08 17:36:28 +00:00
mostang.com!davidm
27ce81f7e2
Initial revision
2004-09-08 17:36:28 +00:00
mostang.com!davidm
2cd2712508
Have libunwind.h export the version number via manifest constants
...
UNW_VERSION_MAJOR, UNW_VERSION_MINOR, and UNW_VERSION_EXTRA.
The last one is a free-form string. For example, version
0.98-alpha would be represented as UNW_VERSION_MAJOR=0,
UNW_VERSION_MINOR=98, UNW_VERSION_EXTRA=-alpha (note: no quotes;
you'll have to stringify this value if necessary).
BKrev: 413f431cEdq7duwyl7TVLCIV4D7M9Q
2004-09-08 17:36:28 +00:00
mostang.com!davidm
6cd917c633
(pkg_major): New M4 macro.
...
(pkg_minor): Likewise.
(pkg_extra): Likewise.
(pkg_maintainer): Likewise.
(mkvers): Likewise.
(AC_INIT): Use them to form package-version and maintainer strings.
(PKG_MAJOR): New shell variable.
(PKG_MINOR): Likewise.
(PKG_EXTRA): Likewise.
(PKG_MAINTAINER): Likewise.
(AC_CONFIG_FILES): Mention include/libunwind-common.h.
(Logical change 1.261)
2004-09-08 17:36:28 +00:00
mostang.com!davidm
88a3e7efcd
(include_HEADERS_common): Rename libunwind-common.h to
...
libunwind-common.h.in.
(Logical change 1.261)
2004-09-08 17:36:28 +00:00
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