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

1741 commits

Author SHA1 Message Date
mostang.com!davidm
e3413b4267 Merge bk://unwind@bkbits.net/libunwind
into panda.mostang.com:/data/home/davidm/src/unwind/libunwind

2004/04/27 21:54:13-07:00 mostang.com!davidm
ia64: Get HP-UX support closer to working again.

BKrev: 408f38f9u6udDAVV71zu2rJoDjYL8g
2004-04-28 04:54:17 +00:00
mostang.com!davidm
48b0eeeb37 (tdep_find_proc_info) [HAVE_DLMODINFO]: Fix Debug() message (missing
paren).

(Logical change 1.218)
2004-04-28 04:54:17 +00:00
mostang.com!davidm
f8bc3b80d1 (get_list_addr): New function.
(_UPT_get_dyn_info_list_addr): Factor platform-specific code into
	separate inline-function.  Enable that code for ia64 linux
	only (e.g., on HP-UX it needs to use dlmodinfo()).

(Logical change 1.218)
2004-04-28 04:54:17 +00:00
mostang.com!davidm
9b21d8edaf (access_reg) [HAVE_SYS_UC_ACCESS_H]: Also print errno when an
access fails.

(Logical change 1.218)
2004-04-28 04:54:17 +00:00
hp.com!davidm
f04e4ef460 Set version number to 0.97.
(Logical change 1.217)
2004-04-28 04:43:25 +00:00
hp.com!davidm
75f19903fa Regenerate.
(Logical change 1.217)
2004-04-28 04:43:25 +00:00
hp.com!davidm
1f719df162 Fix Makefile bugs and prepare configure.in for 0.97 release.
BKrev: 408f366dqGz-j-WY_bkVXJ-MSQf4Gg
2004-04-28 04:43:25 +00:00
hp.com!davidm
a8f38fc4dc (libunwind_la_SOURCES_ia64): Move comments about
_ReadULEB()/_ReadSLEB() where they don't hurt.

(Logical change 1.217)
2004-04-28 04:43:25 +00:00
hp.com!davidm
dfba455dcd (EXTRA_DIST): Mention include/remote.h.
(Logical change 1.217)
2004-04-28 04:43:25 +00:00
mostang.com!davidm
d5e6a727dc libunwind-dynamic.h: Avoid the use of C99-style initializers in
installed header-files.  Doing so may cause problems with C++ or older
	C compilers.  Reported by Todd Miller.

BKrev: 408f07d2qDnIwg72NHq9Am6fxd8F9g
2004-04-28 01:24:34 +00:00
mostang.com!davidm
c5c4fc991c (_U_dyn_op): Avoid the use of C99-style initializers in installed
header-files.  Doing so may cause problems with C++ or
	older C compilers.  Reported by Todd Miller.

(Logical change 1.216)
2004-04-28 01:24:34 +00:00
(none)!davidm
2d4190ece4 Update README and NEWS.
BKrev: 4088723b8CGQ1hKbD77gmMUFufmj4A
2004-04-23 01:32:43 +00:00
(none)!davidm
e9892bb477 Update Intel-compiler info and put in caveat about GCC 3.4.0.
(Logical change 1.215)
2004-04-23 01:32:43 +00:00
(none)!davidm
0682579ad6 Fill in info for v0.9-v0.97.
(Logical change 1.215)
2004-04-23 01:32:43 +00:00
(none)!davidm
7d357aefa3 ia64: Minor fixups to avoid warnings when cross-compiling from 32-bit platform.
BKrev: 408872031MDv0XyyKwtI0Y7sx-xtmA
2004-04-23 01:31:47 +00:00
(none)!davidm
1218cf85e3 (hash): Define magic constant as unsigned long long and then cast it to the
right type.  Avoids compiler warnings when cross-compiling from a
	32-bit platform.

(Logical change 1.214)
2004-04-23 01:31:47 +00:00
(none)!davidm
a2cd0592ca (IA64_UNW_FLAG_MASK): Use "ULL" postfix to avoid compiler warning on 32-bit platforms.
(IA64_UNW_FLAG_OSMASK): Likewise.
(IA64_UNW_FLAG_EHANDLER): Likewise.
(IA64_UNW_FLAG_UHANDLER): Likewise.
(IA64_UNW_LENGTH): Likewise.

(Logical change 1.214)
2004-04-23 01:31:47 +00:00
hp.com!davidm
40cba8cd59 Minor fixes/workarounds to get a clean compile with Intel icc v8.0.
BKrev: 40885f8398CpOn7m79GYUEEvMz-4bg
2004-04-23 00:12:51 +00:00
hp.com!davidm
3ff119aa1d (put_unwind_info): New function.
(resume): Likewise.
(nop): Remove.
(main): Don't cast function pointer to different prototypes.  That's apparently
	not allowed.  icc v8.0 complains about it and GCC 3.5 will actually
	generate crashing code when this is done.  Talk about terminated with
	extreme prejudice!

(Logical change 1.213)
2004-04-23 00:12:51 +00:00
hp.com!davidm
9a9618401f (mutex_init): Explicitly test function-pointer against 0 since that avoids
a compiler-warning from icc v8.0.
(mutex_lock): Likewise.
(mutex_unlock): Likewise.

(Logical change 1.213)
2004-04-23 00:12:51 +00:00
hp.com!davidm
d0de283084 (check_static_to_scratch): Remove extraneous printf-argument found by icc v8.0.
(Logical change 1.213)
2004-04-23 00:12:51 +00:00
mostang.com!davidm
cfa7f11cb9 Work around Intel 8.0 compiler-bug triggered by mi/mempool.c.
BKrev: 40884905E5q8HZMFhk-9rM2PBPlG4A
2004-04-22 22:36:53 +00:00
mostang.com!davidm
58badbb339 (add_memory): Rephrase for-loop conditional to avoid bug in Intel-compiler
which gets triggered with -O3 -ip.

(Logical change 1.212)
2004-04-22 22:36:53 +00:00
hp.com!davidm
f4fc60d371 ia64: Fix bug in ia64_install_cursor() which caused a failure in
test-setjmp when using the Intel compiler.

BKrev: 4087138711PmSVR167P58Y4tj3fogg
2004-04-22 00:36:23 +00:00
hp.com!davidm
f99cce1d2a (ia64_install_cursor): Fix off-by-8 bug which caused r5 and r7 to not get
restored properly.

(Logical change 1.211)
2004-04-22 00:36:23 +00:00
hp.com!davidm
c9a01bf094 (MAX_FUNC_SIZE): New macro.
(main): Use MAX_FUNC_SIZE instead of open-coding 256 bytes.

(Logical change 1.210)
2004-04-21 23:46:17 +00:00
hp.com!davidm
18617ecf2c (Gtest-dyn1): Allow for the clone function to be up to 2048 bytes (up from
256 bytes).  Unoptimized code (-O0) with the Intel compiler is BIG.

BKrev: 408707c9_BfpTjnPLMGSNd6zWc5xng
2004-04-21 23:46:17 +00:00
mostang.com!davidm
c9cf3d788f linux: Fix maps_init()/maps_next()/maps_close() some more.
Add a new test-program (run-ptrace-mapper) to verify that
	libunwind-ptrace works efficiently even with processes that
	have a huge number of mappings.

BKrev: 408621b3qdO9KMlaho6e4a-yJ0oeNA
2004-04-21 07:24:35 +00:00
mostang.com!davidm
f20b7f838a Regenerate.
(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
3e718ea004 (Logical change 1.209) 2004-04-21 07:24:35 +00:00
mostang.com!davidm
35c9f15ab7 Initial revision 2004-04-21 07:24:35 +00:00
mostang.com!davidm
a4bd80c748 (print_names): New global.
(do_backtrace): Call unw_get_proc_name() only if print_names is TRUE.
(main): Support command-line option -c to turn on caching of
	unwind-info and -n to turn off the printing (and lookup)
	of symbol names.
	Stop execution if child dies with a signal.

(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
2f210753bd (maps_init): Correct initialization of mi->buf.
(maps_close): Don't forget to unmap mi->buf if it's non-NULL.

(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
72e5a3bc17 (ia64_validate_cache): Call ia64_local_validate_cache() only if
we're really dealing with the local address space.  Duh.

(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
c2b94e1e46 (common_init): Whitespace fix.
(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
6cb58ac940 (check_SCRIPTS_cdep): Mention run-ptrace-mapper.
(noinst_PROGRAMS_cdep): Mention mapper.

(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
58d140ec77 linux: Fix a performance bug in os-linux.h which causes
libunwind-ptrace to perform horribly slow if /proc/PID/maps
	contains many entries.

BKrev: 4085f0d6OOG9Vk-JUd_47gIfOWZo2w
2004-04-21 03:56:06 +00:00
mostang.com!davidm
5de4b351e7 (struct map_iterator): Add members "buf_size", "buf", and "buf_end".
(maps_init): Try to mmap() a one-page buffer and, if successful,
	initialize the new map_iterator members based on it.
(maps_next): If the one-page buffer is available, use it to read
	/proc/PID/maps.  This avoids expensive lseek() calls which,
	in the case of /proc lead to T(n) = O(n^2) behavior.

(Logical change 1.208)
2004-04-21 03:56:06 +00:00
mostang.com!davidm
6840f3c057 Allow libunwind to be built without any optimization.
This means that it will no longer be possible to validate at
link-time certain assertions.  Instead, there will be assertion
failures at library initialization-time when debugging is enabled
(--enable-debug).

BKrev: 4085b66419Dvy85nlRH9SBgwMxz62g
2004-04-20 23:46:44 +00:00
mostang.com!davidm
c1f430663c (tdep_init): Use an assertion instead of relying on compile-time
optimization to verify that unw_hash_index_t is wide
	enough.

(Logical change 1.207)
2004-04-20 23:46:44 +00:00
mostang.com!davidm
db24e76397 (mi_init): Use assertion instead of relying on compiler-optimization
to verify that unw_cursor_t is big enough to contain a
	cursor.

(Logical change 1.207)
2004-04-20 23:46:44 +00:00
hp.com!davidm
2212940f59 Regenerate.
(Logical change 1.206)
2004-04-20 23:13:49 +00:00
hp.com!davidm
01d61e66af Make sure libunwind-ptrace.h gets installed. Noticed by Stephane
Eranian.

BKrev: 4085aeads95DstN8oo3DPIA9_FNG5g
2004-04-20 23:13:49 +00:00
hp.com!davidm
e5863bcee7 (include_HEADERS_common): Mention libunwind-ptrace.h.
(Logical change 1.206)
2004-04-20 23:13:49 +00:00
hp.com!davidm
758078fb00 Update in preparation for 0.97 release.
(Logical change 1.205)
2004-04-20 16:53:44 +00:00
hp.com!davidm
2de1768e52 Regenerate.
(Logical change 1.205)
2004-04-20 16:53:44 +00:00
hp.com!davidm
a25f2e098c Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/04/20 09:53:04-07:00 hp.com!davidm
Improve compatibility with Intel v8.x compiler and the libunwind is
comes with.

BKrev: 408555980lwJMVxSNtaDV9gAnwbnRA
2004-04-20 16:53:44 +00:00
hp.com!davidm
36c7442db3 (Logical change 1.205) 2004-04-20 16:53:44 +00:00
hp.com!davidm
662957d585 Initial revision 2004-04-20 16:53:44 +00:00
hp.com!davidm
aa29b98f1d Check for dl_phdr_removals_counter.
Check whether compiler supports -static-libcxa option (needed when
building the shared objects with the Intel 8.x compiler).
(LDFLAGS_STATIC_LIBCXA): Substitute its value.

(Logical change 1.205)
2004-04-20 16:53:44 +00:00