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

963 commits

Author SHA1 Message Date
mostang.com!davidm
2b6bb97b73 TODO:
new file

BKrev: 3ea43ab8FYmclmZj-Nd3hIbJD-TNCQ
2003-04-21 18:38:48 +00:00
mostang.com!davidm
1cabc10100 (Logical change 1.78) 2003-04-21 18:38:48 +00:00
mostang.com!davidm
8c84eddb41 Initial revision 2003-04-21 18:38:48 +00:00
mostang.com!davidm
0ba8ae44bc Fix up hp-ux support some more. It works for some simple unwinding purposes, but
unwinding across signals doesn't (and can't) work at the moment.

BKrev: 3e933ba8oySwu4USgXnuugmmagOteg
2003-04-08 21:14:16 +00:00
mostang.com!davidm
60b8811527 (update_frame_state): On HP-UX, catch ucontext_t location from r32.
(Logical change 1.77)
2003-04-08 21:14:16 +00:00
mostang.com!davidm
fb293ae33d (struct unwind_header): Rename member "unknown1" to "format".
(Logical change 1.77)
2003-04-08 21:14:16 +00:00
mostang.com!davidm
d9ba5fb915 (desc_abi): Also recognize ".unwabi @hpux, 1" as a signal trampoline.
(Logical change 1.77)
2003-04-08 21:14:16 +00:00
mostang.com!davidm
b10a6c5b9f (SYSCALL_CFM_SAVE_REG): New macro.
(REASON_SYSCALL): Ditto.
(access_reg): Use __uc_get_reason() to determine how ucontext_t was created.
	Handle UNW_IA64_AR_BSP differently depending on whether or not
	ucontext_t was created by a syscall.  Ditto for UNW_IA64_IP and
	UNW_IA64_CFM.  Add debug statement.

(Logical change 1.77)
2003-04-08 21:14:16 +00:00
mostang.com!davidm
0802cd49ad (rbs_find_stacked): Allow NULL locp.
(Logical change 1.76)
2003-04-08 20:34:06 +00:00
mostang.com!davidm
7057901782 (ia64_get_stacked): Allow NULL "locp".
(Logical change 1.76)
2003-04-08 20:34:06 +00:00
mostang.com!davidm
dc0bee88f3 (ia64_get_stacked): Allow "locp" argument to be NULL. Reported by Jeff Johnston.
BKrev: 3e93323eXbhj-ovOQFYlZtd-tFsKIg
2003-04-08 20:34:06 +00:00
mostang.com!davidm
bc41c6ad9f [HAVE_SYS_UC_ACCESS_H]: Add include of <sys/uc_access.h>.
(access_reg) [HAVE_SYS_UC_ACCESS_H]: New function.
(access_fpreg) [HAVE_SYS_UC_ACCESS_H]: New function.

(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
6ab15cdec4 Regenerate.
(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
89c081cd84 On HP-UX, unset UNW_LOCAL_ONLY and defined UNW_GENERIC_ONLY, since it makes no
sense to do UNW_LOCAL_ONLY on this platform.

(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
d53636d414 Move endian-stuff to internal.h.
(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
a04f38ef19 Move endian-related defs from tdep-ia64.h to here.
(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
4f8ab6abb9 More portability fixes and improvements for HP-UX (libunwind compiles now on HP-UX).
BKrev: 3e8be9d3I-C-yxueB1ndoYTyOhYKGA
2003-04-03 07:59:15 +00:00
mostang.com!davidm
e4ea1bcdb8 Drop include of <endian.h>.
(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
aa371f972e Don't include <endian.h>.
(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
50e11fa8b2 Compile an L-file only if UNW_LOCAL_ONLY surives past the include of <libunwind.h>.
(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
8d057cb800 Add note on building libunwind on HP-UX.
(Logical change 1.75)
2003-04-03 07:59:15 +00:00
mostang.com!davidm
ebfaebdee9 Add check for -luca (needed on HP-UX).
Add check for <sys/uc_access.h> (needed on HP-UX).
(OS_HPUX): New conditional.

(Logical change 1.75)
2003-04-03 07:59:15 +00:00
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