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

1163 commits

Author SHA1 Message Date
hp.com!davidm
e71e68a15e Fix call to cmpxchg_ptr() in mempool.c.
BKrev: 3fcfc35cbujZTHxy4Tm1JBHXuIf96w
2003-12-04 23:29:32 +00:00
hp.com!davidm
ac224b48bb (sos_alloc): Fix call to cmpxchg_ptr().
(Logical change 1.136)
2003-12-04 23:29:32 +00:00
hp.com!davidm
7661874fbe Regenerate.
(Logical change 1.135)
2003-12-04 07:44:21 +00:00
hp.com!davidm
3b54f2a48d R
(Logical change 1.135)
2003-12-04 07:44:21 +00:00
hp.com!davidm
0ced07af8c Mention unw_get_proc_info_by_ip() man-page.
(Logical change 1.135)
2003-12-04 07:44:21 +00:00
hp.com!davidm
ab0fdbbb4c (Logical change 1.135) 2003-12-04 07:44:21 +00:00
hp.com!davidm
1a7d4ee7ed Initial revision 2003-12-04 07:44:21 +00:00
hp.com!davidm
3e7f0e617c Add C++ exception-handling ABI support (_Unwind_*() routines).
BKrev: 3fcee5d5OedwKDmoCnKUBq4NlExh4A
2003-12-04 07:44:21 +00:00
hp.com!davidm
bf42f3a06c (include_HEADERS): Mention include/unwind.h.
(Logical change 1.135)
2003-12-04 07:44:21 +00:00
hp.com!davidm
0240946f92 (SOVERSION): Bump it.
(libunwind_la_SOURCES_local): Mention all the new _Unwind_* files.
(EXTRA_DIST): Mention unwind-internal.h.

(Logical change 1.135)
2003-12-04 07:44:21 +00:00
hp.com!davidm
abec7553fe Include "config.h" only through "internal.h". config.h isn't
protected against multiple inclusion, so we need to be careful
to include it only in one place, namely internal.h.

BKrev: 3fcee471nOqcPrdK2cDWQbP6ugR78w
2003-12-04 07:38:25 +00:00
hp.com!davidm
63a8bec6f6 Don't include "config.h" here. Include it via "unwind_i.h" instead.
(Logical change 1.134)
2003-12-04 07:38:25 +00:00
hp.com!davidm
6498cdf4d9 Don't include "config.h" here.
(Logical change 1.134)
2003-12-04 07:38:25 +00:00
hp.com!davidm
e6f6a92db1 (Logical change 1.133) 2003-12-04 07:34:21 +00:00
hp.com!davidm
96d608b2cc Initial revision 2003-12-04 07:34:21 +00:00
hp.com!davidm
1849db3caf Add unw_get_proc_info_by_ip() routine.
BKrev: 3fcee37dM74V8XPv1_4maza0xTkvNQ
2003-12-04 07:34:21 +00:00
hp.com!davidm
7549674169 (unw_get_proc_info_by_ip): New routine.
(Logical change 1.133)
2003-12-04 07:34:21 +00:00
hp.com!davidm
aad17fb505 Force per-thread caching to be off for now. It consumes too much
thread-local storage for little benefit, in my opinion.

BKrev: 3fcee29fSB9klrCJVW5dN-Luonl9wg
2003-12-04 07:30:39 +00:00
hp.com!davidm
1334cae324 (HAVE___THREAD): Force it off for now---the per-thread cache uses
about 128KB of thread-local storage for each and every
	thread, even if a thread never ever needs to unwind its
	stack.  Seems a bit much.
(ALWAYS_INLINE): New macro which can be used to force inlining
	on compilers that support it.

(Logical change 1.132)
2003-12-04 07:30:39 +00:00
hp.com!davidm
ef00f9586c Update for release of v0.95.
(Logical change 1.131)
2003-11-27 07:17:47 +00:00
hp.com!davidm
2dcaa68adb Regenerate.
(Logical change 1.131)
2003-11-27 07:17:47 +00:00
hp.com!davidm
64cff62a18 Put some finishing touches on v0.95.
BKrev: 3fc5a51bY0SiQEuAKvdeDg2DIMRBtA
2003-11-27 07:17:47 +00:00
hp.com!davidm
bd54a900bc (libunwind_la_SOURCES_x86): Mention x86/offsets.h.
(Logical change 1.131)
2003-11-27 07:17:47 +00:00
hp.com!davidm
9441e6cb89 (STACK_SIZE): Make it 128KB on x86. SIGSTKSZ is far too small.
(Logical change 1.131)
2003-11-27 07:17:47 +00:00
hp.com!davidm
8beb144436 Various small fixes to improve portability of libunwind and to get
warning-free compiles (with GCC anyhow).

BKrev: 3fc59f46KOa5SSu-_o9jXeExFfMblA
2003-11-27 06:52:54 +00:00
hp.com!davidm
35300d0616 Replace #ifdef UNW_DEBUG with #if UNW_DEBUG.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
cda74fe038 Replace #if DEBUG with #if UNW_DEBUG.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
497018e941 Include "elf32.h".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
c974464933 Delete include of elf64.h. The "tdep.h" header-file is responsible
for including the appropriate file.

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
1150a638d6 Delete extraneous .previous directive (reported by
Laurent Morichetti).

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
dcf293aa30 Cast printf() argument to avoid compiler-warning.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
722933b6bc Cast printf() argument to avoid compiler warning.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
6c2e6e7f72 (update_frame_state): Delete unnecessary "pr" variable.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
fa7a796b37 (unw_is_signal_frame): Add parens to avoid compiler warnings.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
cbe3ca13f5 (unw_get_save_loc): Delete extra "break".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
612917dce0 (tab): Declare as "static".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
7305d26f26 (struct cursor): Declare pi_valid and pi_is_dynamic as unsigned to
avoid compiler warnings.

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
7291d0217c (rcsid): New variable.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
a024a719e1 (rbs_get_rnat_loc): Declare "inline".
(rbs_loc): Ditto.

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
c7d965a9dc (put_script_cache): Replace "caching" with "as->caching" and delete
the former to avoid compiler-warnings.
(run_script): Before doing the big switch, check for most common
	case (IA64_INSN_MOVE_STACKED).

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
dee53d7800 (lookup_symbol): Delete unused variable "str_size".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
3e1200c200 (linux_scratch_loc): Delete unnecessary variable "ret".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
cd2d75786a (current_gp): Don't use inline-asm for Intel compiler.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
06e572340e (a): Don't use inline-asm for Intel-compiler.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
74ed7ea40d (_UPT_reg_offset): Declare as "extern".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
04dd29b6eb (UNUSED): New macro.
(UNW_DEBUG): If DEBUG is not defined, set it to 0.
(inline): Take advantage of UNUSED macro.
(HAVE_CMPXCHG): Don't define it if we're on HP-UX with GCC v3.2 to
	work around a compiler-bug.

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
7eaa3cea76 (TARGET_ELF64): Delete.
(TARGET_ELF32): Likewise.
(_UPT_get_proc_name): Use ELF_CLASS instead of TARGET_ELFxx.

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
5e446b24d7 (ITERATIONS): New macro.
(maxlevel): New global variable.
(measure_unwind): Return init/step times via arg pointers.
(f1): Pass through init/step pointers.
(doit): New function.
(main): Use doit() instead of open code.

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
85d354c9d1 Work around libtool bug so compilationwith Intel compiler works again.
BKrev: 3fc5991dg2wv4IxyYc5QLOVccS6wbg
2003-11-27 06:26:37 +00:00
hp.com!davidm
6b9526e8e0 Fix typo in _UPT_get_dyn_info_list_addr() from yesterday that broke
remote dynamic unwind info lookup.

BKrev: 3fc595eeTAXHeXCDuZ1UTKzqgl7jJg
2003-11-27 06:13:02 +00:00