Curt Wohlgemuth
7fda769769
ia64 [src/ia64/Ginit.c]: Don't mark the reference to _Uelf64_get_proc_name
...
as "weak". Since the elf-support is in the library anyhow, this serves
no purpose and in fact causes problem because the weak reference alone
is not enough to pull in the ELF-code from an archive file, causing to
spurious failures of get_proc_name.
2007-11-14 12:59:10 -07:00
Andreas Schwab
09c8c7d0f3
(unw_create_addr_space): Fix address-leak that triggered when function
...
was called with an unsupported "byte_order".
Signed-off-by: David Mosberger-Tang <dmosberger@gmail.com>
2007-06-06 20:55:36 -06:00
David Mosberger-Tang
bde67706ed
Delete some backup files that accidentally made it into git.
2006-07-27 21:30:19 -06:00
David Mosberger-Tang
af2503e223
Fix bug in libunwind-ptrace which can cause reading of random data.
...
(maps_next): After reading less than a full buffer of data, copy
remaining data to the top of the buffer so as to maintain the
invariant that all data between mi->buf and mi->buf_end is valid.
This avoids maps_next() parsing uninitialized data.
2006-07-25 21:35:30 -06:00
David Mosberger-Tang
f176ad6fc6
Bring git v0.98.5 tree in sync with released v0.98.5.
...
Sadly, the conversion from Bitkeeper -> CVS -> git wasn't perfect. Or
so it seems.
2006-07-25 21:32:28 -06:00
hp.com!davidm
8efd6d24da
(desc_alias): Fix off-by-one bug.
...
(Logical change 1.287)
2005-04-20 21:01:22 +00:00
hp.com!davidm
ea7155ebfd
(get_list_addr): Clear ui->ei.image/ui->ei.size after unmapping the
...
image.
(Logical change 1.286)
2005-03-31 21:18:27 +00:00
hp.com!davidm
15df8b804c
(_ReadSLEB): Fix typo: shift needs to be increment before checking
...
for loop-exit. Otherwise, sign-extension may clobber the
most recently read 7 bits.
(Logical change 1.284)
2005-02-19 06:15:20 +00:00
hp.com!davidm
272caabbfa
Regenerate.
...
(Logical change 1.283)
2004-11-16 22:03:04 +00:00
hp.com!davidm
d15f52662a
(local_find_proc_info): When compiling for libunwind-ia64, declare
...
_U_dyn_info_list_addr as weak and if it remained undefined,
return -UNW_ENOINFO.
(Logical change 1.282)
2004-11-16 18:47:39 +00:00
hp.com!davidm
4e731a5572
(get_dyn_info_list_addr): When compiling into libunwind-ia64, declare
...
_U_dyn_info_list_addr as weak and fail if the symbol remained
undefined.
(get_static_proc_name): Likewise for _Uelf64_get_proc_name().
(Logical change 1.282)
2004-11-16 18:47:39 +00:00
hp.com!davidm
0f9f815cf1
Regenerate.
...
(Logical change 1.280)
2004-11-03 21:50:24 +00:00
hp.com!davidm
27a9067229
(libunwind_la_LIBADD): Append $(LIBCRTS).
...
(Logical change 1.280)
2004-11-03 21:50:24 +00:00
hp.com!davidm
346b85ec54
(get_list_addr): Don't fail with -UNW_ENOINFO just because something
...
in /proc/maps isn't mappable.
(Logical change 1.279)
2004-11-03 19:44:44 +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
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
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
81f4953a1f
Fix typo: REMOTE_ONLY -> UNW_REMOTE_ONLY.
...
(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
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
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
112fcdd172
Regenerate.
...
(Logical change 1.261)
2004-09-08 17:36:28 +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
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
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