mostang.com!davidm
a21507ddb3
Correct type of register numbers from "int" to "unw_regnum_t".
...
Mention unw_is_fpreg().
Add \SeeAlso for newly added man-pages.
(Logical change 1.64)
2003-03-20 07:51:37 +00:00
mostang.com!davidm
87849a5491
Clarify that find_proc_info() may return -UNW_ESTOPUNWIND to terminate frame-chain.
...
(Logical change 1.64)
2003-03-20 07:51:37 +00:00
mostang.com!davidm
0a4b3db82c
Add man-pages for unw_get_fpreg(3), unw_get_reg(3), unw_is_fpreg(3),
...
unw_is_signal_frame(3), unw_set_fpreg(3), unw_set_reg(3), and
unw_step(3).
BKrev: 3e797309YXXgnMLGjzBXIoYsy0d1PA
2003-03-20 07:51:37 +00:00
mostang.com!davidm
ad306e6ab6
Add man-pages for unw_get_fpreg(3), unw_get_reg(3), unw_is_fpreg(3),
...
unw_is_signal_frame(3), unw_set_fpreg(3), unw_set_reg(3), and
unw_step(3).
(Logical change 1.64)
2003-03-20 07:51:37 +00:00
mostang.com!davidm
2e03d8623b
(Logical change 1.64)
2003-03-20 07:51:37 +00:00
mostang.com!davidm
f86dd46713
Various portability fixes. Also fix "make dist" and "make distclean" targets.
...
BKrev: 3e78c41edW7zQTmGyBLclHaUk5PUuw
2003-03-19 19:25:18 +00:00
mostang.com!davidm
0adb97c721
Reorganize a bit so "automake" can correctly figure out all the files that need
...
to be distributed.
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
c7aaa68495
Regenerate.
...
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
0456a08cb8
Issue warning for platforms using ttrace() instead of ptrace() (HP-UX
...
is the only platform that does that).
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
6df7b107a4
Increment version number to 0.91.
...
Check for asm/ptrace_offsets.h, endian.h, and execinfo.h.
Check for signal-return type.
Check for sighandler_t.
Check for dl_iterate_phdr() and dlmodinfo().
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
15693e234b
Include config.h, if we have it (HAVE_CONFIG_H).
...
Include <sys/types.h>. HP-UX can't include pthread.h otherwise.
Replace test for UNW_TARGET_IA64 with test for HAVE_IA64INTRIN_H.
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
63d7003ef7
Include <sys/stat.h>.
...
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
47c70d7858
Include <inttypes.h> instead of <stdint.h>. HP-UX doesn't have the latter.
...
(unw_tdep_save_loc_t): Define a dummy member, so we're ANSI-C compliant (which doesn't
allow empty structs).
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
58e0e100d1
Include <inttypes.h> instead of <stdint.h>. HP-UX doesn't have the latter.
...
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
d933d89e38
Include <asm/ptrace_offsets.h> only if we have it.
...
Issue warning for platforms using ttrace() instead of ptrace() (HP-UX
is the only platform that does that).
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
0f3adfb3e6
Include "config.h" if we have it.
...
Test for HAVE_ASM_PTRACE_OFFSETS_H instead of UNW_TARGET_IA64.
Issue warning for platforms using ttrace() instead of ptrace() (HP-UX
is the only platform that does that).
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
ea91dee4a8
Include "config.h" if we have it.
...
Include <inttypes.h> instead of <stdint.h>. HP-UX doesn't have the latter.
Use "inline" instead of "__inline__" (the former gets properly #define'd by
config.h).
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
00cfbc61fe
Include "config.h" if we have it.
...
Declare "backtrace()" manually if we don't have execinfo.h.
Declare "sighandler_t" manually if the system doesn't do it for us.
On ia64, print sc->sc_ip only if we're on Linux.
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
d798e7dd07
Include "config.h" if we have it.
...
(_Uia64_search_unwind_table): Be sure to clear "proc_info" members as documented
by unw_get_proc_info(3).
Include <dlfcn.h> if we have dlmodinfo() (HP-UX only).
(tdep_find_proc_info): Use dl_iterate_phdr() only if we have it (glibc-based
systems). Use dlmodinfo() if we have it (HP-UX).
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
8033bdfd28
Include "config.h" if we have it.
...
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
53bd7613b7
If we don't have <endian.h>, define __LITTLE_ENDIAN and __BIG_ENDIAN here and
...
guess the right value for __BYTE_ORDER.
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
5fe7ac3ff5
(unw_set_caching_policy): Default to "global" policy if thread-local policy is
...
not available.
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
7bfbbb6126
(lookup_symbol): Return -UNW_ENOINFO if symbol cannot be looked up for some reason.
...
Return -UNW_ENOMEM if string buffer is too small. This makes the routine
compatible with the definition of the unw_get_proc_name(3).
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
e24351b6c0
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
3812bbdc00
Initial revision
2003-03-19 19:25:18 +00:00
mostang.com!davidm
836c52dbfb
(DISTCLEANFILES): New macro. Mention libunwind.h and tdep.h to ensure they get
...
cleaned for "distclean". Reported by Matthieu Delahaye.
(Logical change 1.63)
2003-03-19 19:25:18 +00:00
mostang.com!davidm
1a595c496f
Rename "cursor" argument to "cp".
...
(Logical change 1.62)
2003-03-13 02:15:01 +00:00
mostang.com!davidm
9787d3879d
Regenerate.
...
(Logical change 1.62)
2003-03-13 02:15:01 +00:00
mostang.com!davidm
dc0fc3b55c
Note that applications must not destroy unw_local_addr_space.
...
(Logical change 1.62)
2003-03-13 02:15:01 +00:00
mostang.com!davidm
0dd785f10b
Initial revision
2003-03-13 02:15:01 +00:00
mostang.com!davidm
38ec048c0d
Fix prototype of unw_regname().
...
(Logical change 1.62)
2003-03-13 02:15:01 +00:00
mostang.com!davidm
dc1aade2f9
Correct description of what happens of get_proc_name() overflows the available
...
buffer-space.
(Logical change 1.62)
2003-03-13 02:15:01 +00:00
mostang.com!davidm
0e1ad806d0
Add man-pages for unw_flush_cache(), unw_get_accessors(),
...
unw_get_proc_info(), unw_get_proc_name(), unw_regname(), and
unw_set_caching_policy().
BKrev: 3e6fe9a5zZ_6DW4-oMYNGvN8IWepYw
2003-03-13 02:15:01 +00:00
mostang.com!davidm
d5ad49b013
(unw_regname): Correct type of "regnum" from "int" to "unw_regnum_t".
...
(Logical change 1.62)
2003-03-13 02:15:01 +00:00
mostang.com!davidm
5fea9f709d
(man3_MANS): Mention man-pages for unw_flush_cache(), unw_get_accessors(),
...
unw_get_proc_info(), unw_get_proc_name(), unw_regname(), and
unw_set_caching_policy().
(EXTRA_DIST): Ditto.
(Logical change 1.62)
2003-03-13 02:15:01 +00:00
mostang.com!davidm
27988406b2
(Logical change 1.62)
2003-03-13 02:15:01 +00:00
mostang.com!davidm
5b83414923
Move dyn-info-list address caching from call-backs into libunwind proper.
...
BKrev: 3e6d37b6qPCyWOkW7lcuZpXNxq-_AQ
2003-03-11 01:11:18 +00:00
mostang.com!davidm
cf9c4950bc
Add include of "tdep.h".
...
(unwi_dyn_remote_find_proc_info): Maintain as->dyn_info_list_addr as a cache of
the most recently obtained dyn-info-list address.
(Logical change 1.61)
2003-03-11 01:11:18 +00:00
mostang.com!davidm
5dc0e152a9
(unw_flush_cache): Also clear dyn_info_list_addr cache in the address space.
...
(Logical change 1.61)
2003-03-11 01:11:18 +00:00
mostang.com!davidm
51095505d9
(struct addr_space): Add "dyn_info_list_addr" member.
...
(Logical change 1.61)
2003-03-11 01:11:18 +00:00
mostang.com!davidm
63531d6f85
(struct UPT_info): Remove dyn_info_list_addr and checked_dyn_info_list_addr
...
members.
(Logical change 1.61)
2003-03-11 01:11:18 +00:00
mostang.com!davidm
7e7d86ade8
(_UPT_get_dyn_info_list_addr): Don't cache dyn-info-list address here. Do it
...
in libunwind proper instead.
(Logical change 1.61)
2003-03-11 01:11:18 +00:00
mostang.com!davidm
455b0acd97
Regenerate.
...
(Logical change 1.60)
2003-03-11 01:05:47 +00:00
mostang.com!davidm
cc297605d4
Initial revision
2003-03-11 01:05:47 +00:00
mostang.com!davidm
a494d61a86
Correct type in name of unw_local_addr_space.
...
(Logical change 1.60)
2003-03-11 01:05:47 +00:00
mostang.com!davidm
1c48aa0448
Add section on thread and signal safety.
...
(Logical change 1.60)
2003-03-11 01:05:47 +00:00
mostang.com!davidm
e77ab65264
Add man-pages for unw_init_local(3), unw_init_remote(3), unw_create_addr_space(3),
...
and unw_destroy_addr_space(3). Correct typo in libunwind(3) man-page.
BKrev: 3e6d366beV9D6ftbgoXhSIerjBpjvA
2003-03-11 01:05:47 +00:00
mostang.com!davidm
346fb44f53
(man3_MANS): Mention unw_init_local.man, unw_init_remote.man,
...
unw_create_addr_space.man, and unw_destroy_addr_space.man.
(EXTRA_DIST): Mention unw_init_local.tex, unw_init_remote.tex,
unw_create_addr_space.tex, and unw_destroy_addr_space.tex.
(Logical change 1.60)
2003-03-11 01:05:47 +00:00
mostang.com!davidm
40fe9d4459
(Logical change 1.60)
2003-03-11 01:05:47 +00:00
mostang.com!davidm
0f0eb30d78
Up version number to 0.9.
...
(Logical change 1.59)
2003-03-06 06:14:36 +00:00