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

1091 commits

Author SHA1 Message Date
mostang.com!davidm
b513773cb2 (unw_init_local): Do sc_rbs_base manipulation only if HAVE_SYS_UC_ACCES_H is not
defined.

(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
3b5cb41875 (local_resume): Unsupported on HP-UX for now.
(remote_install_cursor): Ditto.

(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
5929f8e02b (libunwind_la_SOURCES_os_hpux): New macro.
(libunwind_la_SOURCES_os): For HP-UX, use libunwind_la_SOURCES_os_hpux.

(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
ee12f505ed (is_local_addr_space): Test for _ULia64_local_addr_space only if UNW_GENERIC_ONLY
is not defined.
(tdep_find_proc_info) [HAVE_DLMODINFO): Declare new type "struct unwind_header"
	to accommodate HP-UX unwind header.  Fetch unwind table from this
	header.

(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
9abe0decf0 (ia64_init): Call _ULia64_local_addr_space_init() only if UNW_GENERIC_ONLY is
not defined.

(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
4ca42d4a0c (get_unwind_info): _Only call _Uia64_get_kernel_table() on Linux.
(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
9c23f9c408 (elf_map_image): Declare "path" argument as "const".
(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
7c76ce7910 Turn off questions about logging.
(Logical change 1.74)
2003-04-01 07:19:34 +00:00
mostang.com!davidm
9eb9f31e4c Regenerate.
(Logical change 1.74)
2003-04-01 07:19:34 +00:00
mostang.com!davidm
d0028f3b30 Put {Name} section contents on a single line to work around a bug in
lexgrog.

(Logical change 1.74)
2003-04-01 07:19:34 +00:00
mostang.com!davidm
1baaf32be4 More man-page workarounds for lexgrog.
BKrev: 3e893d86yqyCnJZMUdmB3rP5bZo4RA
2003-04-01 07:19:34 +00:00
esiee.fr!m.delahaye
ae4776829c [PATCH] Patch to work around lexgrog bug
lexgrog is an application reading man pages and extract NAME section to
get for example:

libunwind-ia64 -- IA-64-specific support in libunwind

It uses the same algorithm as used for generating db used by whatis
It is usually used for testing correctness of man pages.

But lexgrog generate in our case:
libunwind-ia64.man: parse failed

Which means whatis won;t be usable.

Removing the blank line after .SH

BKrev: 3e889d95zuM8tUj2T2FHY5JDSVtIJQ
2003-03-31 19:57:09 +00:00
esiee.fr!m.delahaye
972aec70ba Patch to work around lexgrog bug
(Logical change 1.73)
2003-03-31 19:57:09 +00:00
esiee.fr!m.delahaye
f20b6f8a4a Logging to logging@openlogging.org accepted
(Logical change 1.73)
2003-03-31 19:57:09 +00:00
mostang.com!davidm
46149fdccd Regenerate.
(Logical change 1.72)
2003-03-31 18:16:54 +00:00
mostang.com!davidm
e80548e938 Fix recognition of sighandler_t and rebuild generated files.
BKrev: 3e888616rs9mh7Bu9Xipb1-pjoDzpA
2003-03-31 18:16:54 +00:00
mostang.com!davidm
a3cfa43e42 (AC_CHECK_TYPES): Rename from AC_CHECK_TYPE().
(Logical change 1.72)
2003-03-31 18:16:54 +00:00
hp.com!davidm
30c13cd415 (Logical change 1.71) 2003-03-29 07:32:50 +00:00
hp.com!davidm
3e18ca9660 Initial revision 2003-03-29 07:32:50 +00:00
hp.com!davidm
fc963e9210 Fix open-file leak in libunwind-ptrace.
Make static linking possible without requiring -lpthread.
Make x86 version compile again.

BKrev: 3e854c22ViF4dPNH1yv9LvOTnTY0hQ
2003-03-29 07:32:50 +00:00
hp.com!davidm
f9cc1e4b74 (tdep_get_elf_image): Declare.
(Logical change 1.71)
2003-03-29 07:32:50 +00:00
hp.com!davidm
1d443a63ad (pthread_mutex_init): Declare as a "weak" symbol.
(Logical change 1.71)
2003-03-29 07:32:50 +00:00
hp.com!davidm
cfded02a05 (maps_close): Do nothing if mi->fp is already NULL.
(Logical change 1.71)
2003-03-29 07:32:50 +00:00
hp.com!davidm
e6ddf4c3e0 (main): Fix command-line parsing to allow for more than one argument.
(Logical change 1.71)
2003-03-29 07:32:50 +00:00
hp.com!davidm
3a27d1661c (_UPTi_find_unwind_table): Add dummy x86 implementation.
(_UPT_find_proc_info): On ia64, when returning info about the kernel's unwind
	table, copy the unwind info into a malloc'd buffer and use
	unw_local_addr_space to search the table, since the table is stored
	in local memory.

(Logical change 1.71)
2003-03-29 07:32:50 +00:00
hp.com!davidm
1acfcc74e5 (_UPT_reg_offset): Add definitions for x86.
(Logical change 1.71)
2003-03-29 07:32:50 +00:00
hp.com!davidm
e00aa27222 (_UPT_get_dyn_info_list_addr): Bracket ia64-specific variables in #if UNW_TARGET_IA64.
If ui->ei.image is non-NULL, close the old image and invalidate the
	cache before mapping the new image.

(Logical change 1.71)
2003-03-29 07:32:50 +00:00
hp.com!davidm
e21a83deb0 (_UPT_access_fpreg): Fix typo in cast.
(Logical change 1.71)
2003-03-29 07:32:50 +00:00
mostang.com!davidm
1da382fb6f Various portability improvements & fixes. libunwind now builds with Intel ECC and
passes the same tests as with GCC (see README for tips on building with ECC).

BKrev: 3e83fd1aL3f71egx2oyOFmPfuHk-4A
2003-03-28 07:43:22 +00:00
mostang.com!davidm
594e7eb614 Update for v0.92.
(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
4f17bce117 Regenerate.
(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
a4ab1098ea Add copyright header.
(Test_Class): New dummy class so we can define a constructor.
(backtrace): New function.

2003/03/27 16:03:18-08:00 mostang.com!davidm
Rename: tests/test-init.cxx -> tests/Gtest-init.cxx

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
b5e1ca5a53 Initial revision 2003-03-28 07:43:22 +00:00
mostang.com!davidm
c2e6b4ced0 Also handle C++ files (.cxx).
(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
294a1e55cc Add copyright header.
(Test_Class): New dummy class so we can define a constructor.
(backtrace): New function.

}(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
337c0ad989 Add C++ wrapper.
(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
5adfead33c (test_sigsetjmp): Declare "i" as a volatile variable so it gets preserved across
sigsetjmp().

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
6bf5cdd335 (main): Set di.end_ip based on the region's insn_count (old value for di.end_ip was
too small when using ECC).

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
5907edf946 (main): Portability fix: cast return value from create_func() to proper function-type.
(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
b838c72f9a (lookup_symbol): Portability fix: avoid arithmetic on void *.
(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
e4f251b98a (local_resume): "static inline" version of what used to be ia64_local_resume().
(ia64_local_resume): Declare as "HIDDEN" (not "HIDDEN inline"), use local_resume().
(unw_resume): For UNW_LOCAL_ONLY case, call local_resume().

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
81f4297d5a (intern_regions): Don't mix signed and unsigned types for 3rd argument to fetch32().
(intern_dyn_info): Ditto.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
2e65e639a5 (ia64_getfp): Return -UNW_EBADREG when trying to access unsaved register.
(ia64_putfp): Ditto.
(ia64_get): Ditto.
(ia64_put): Ditto.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
271d7065c2 (cmpchg_ptr): Cast first argument to "volatile long *", since that is what the
Intel compiler wants.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
9fe5e68f40 (check_PROGRAMS_common): Mention Gtest-init and Ltest-init.
(noinst_PROGRAMS_cdep): Remove test-init.
(Gtest_init_SOURCES): New macro.
(Ltest_init_SOURCES): Ditto.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
757746aefb (a): When compiling with GCC on ia64, use "asm" statement to get the address of the
label.  gcc-3.x otherwise notices that the label isn't used for control-flow
	and feels free to move it around (usually to the beginning of the basic-block),
	with very bad consequences.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
453ec65cf0 (Logical change 1.70) 2003-03-28 07:43:22 +00:00
mostang.com!davidm
5b1f22a309 Regenerate.
(Logical change 1.69)
2003-03-27 04:34:23 +00:00
mostang.com!davidm
342f524038 Regenerate Makefile.in files.
BKrev: 3e827f4f_7VlTe6DlLtwREwyiJYnkw
2003-03-27 04:34:23 +00:00
mostang.com!davidm
28fe6a6e8b Work around ECC v7.0 bug by manually definining __sync_val_compare_and_swap()
if it isn't defined yet.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00