hp.com!davidm
b88369b831
Initial revision
2004-01-30 00:01:24 +00:00
hp.com!davidm
86af3a3048
Declare functions such that it is possible to take their addresses.
...
(tdep_init): New macro.
(tdep_access_reg): Likewise.
(tdep_access_fpreg): Likewise.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
6bcc75010b
Declare functions such that it is possible to take their addresses.
...
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
b5d64dabf3
Declare functions in the same way as we do in other header-files now, such that
...
it's possible to take the address of functions.
(debug): Remove this macro (no longer used).
(fetch8): Move to remote.h.
(fetch16): Likewise.
(fetch32): Likewise.
(fetchw): Likewise.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
78cec36290
(struct cursor): Add member sigcontext_format.
...
(dwarf_putfp): Fix typo.
(dwarf_getfp): Mark with C preprocessor warning while it's not fully
implemented. Check for NULL-location first.
(dwarf_putfp): Likewise.
(dwarf_get): Likewise.
(dwarf_put): Likewise.
(tdep_needs_initialization): New macro.
(tdep_init): Likewise.
(tdep_get_as): Likewise.
(tdep_get_as_arg): Likewise.
(tdep_needs_initialization): Declare.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
ab847fe68e
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
107cf10470
(DWARF_REGNUM_MAP_LENGTH): New macro.
...
(dwarf_to_unw_regnum_map): Move to dwarf_i.h.
(dwarf_to_unw_regnum): Likewise.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
29a98b6cc3
(unw_addr_space_t.shared_object_removals): Adjust type to
...
"unsigned long long" to match glibc.
(Logical change 1.161)
2004-01-24 07:27:00 +00:00
hp.com!davidm
6ea8ff61e0
(unw_set_caching_policy): Make it a regular object, not an
...
arch-object. It can't be the latter because it needs
to initialize libunwind if it's the first call to libunwind.
(Logical change 1.160)
2004-01-24 07:22:30 +00:00
mostang.com!davidm
c325d9cbc2
Regenerate.
...
(Logical change 1.159)
2004-01-24 06:45:18 +00:00
hp.com!davidm
c44d77055c
Move debug defines after definition of UNWI_ARCH_OBJ().
...
Replace tdep_debug_level with unwi_debug_level and declare
it here.
(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
d3725a7a98
(unw_tdep_is_fpreg): Move after include of "libunwind-common.h".
...
(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
25b8795a4a
(tdep_debug_level): Remove.
...
(Logical change 1.158)
2004-01-22 08:36:15 +00:00
mostang.com!davidm
5f0eebb2b4
Initial revision
2004-01-21 01:05:07 +00:00
mostang.com!davidm
53b6d61c63
Drop argument names from prototypes to reduce namespace pollution.
...
Define libunwind routines such that it is possible to take their
addresses.
(unw_is_fpreg): Move it closer to unw_getcontext(). Both are special
in the sense that they may be implemented as macros.
(Logical change 1.156)
2004-01-21 01:05:07 +00:00
mostang.com!davidm
7915b799c8
Drop argument names from prototypes to reduce namespace pollution.
...
Define libunwind routines such that it is possible to take their
addresses.
(Logical change 1.156)
2004-01-21 01:05:07 +00:00
mostang.com!davidm
64854d0d7c
Drop argument names from prototypes to reduce namespace pollution.
...
(Logical change 1.156)
2004-01-21 01:05:07 +00:00
mostang.com!davidm
24ac6e693d
(unw_tdep_is_fpreg): Define it as an external function (a macro would
...
have to evaluate the argument multiple times so it's better
to implement it out-of-line).
(Logical change 1.156)
2004-01-21 01:05:07 +00:00
mostang.com!davidm
66e78e1ca3
(Logical change 1.156)
2004-01-21 01:05:07 +00:00
mostang.com!davidm
cd7dcba0ed
Rename AO_TS_T to AO_TS_t (gets syntax coloring right... ;-).
...
(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
40fcb9b7e5
(unw_addr_space.cache_generation): Declare as AO_t instead of AO_T
...
(gets syntax-coloring right ;-).
(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
195eb64285
(struct mempool): Move "reserve" and "num_free" next to
...
each other to minimize padding.
(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
82cfd4862f
(cmpxchg_ptr): Use a union to do the pointer-casting so that
...
GCC knows it can't use ANSI-C aliasing rules.
(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
c1bbbb2a3a
(unwi_dyn_validate_cache): Declare.
...
(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
2d4098ac19
(unw): Remove debug_level.
...
(tdep_debug_level): Declare it as a separate variable. This
ensures that only one debug-level variable is in use
at any given time, no matter what combination of
local-only vs generic and static vs. dynamic libraries
are in use.
(unw): Document why it's not an UNW_ARCH_OBJ().
(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
47c32cd07f
(_Uia64_search_unwind_table): Make it an UNW_OBJ() instead.
...
(unw_search_ia64_unwind_table): Declare.
(Logical change 1.154)
2004-01-20 23:32:28 +00:00
hp.com!davidm
ea78d27d97
(unwi_dyn_remote_find_proc_info): Drop GENERATION argument.
...
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
a2301f6f57
(struct unw_addr_space.shared_object_removals) [!UNW_REMOTE_ONLY]: New member.
...
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
23024e28c0
Add includes of <string.h> and <unistd.h>.
...
(NORETURN): New macro.
(PROTECTED): Likewise.
(print_error): New inline routine.
(fetch8): Provide UNW_LOCAL_ONLY-version.
(fetch16): Likewise.
(fetch32): Likewise.
(fetchw): Likewise.
(_U_dyn_info_list_addr): Declare.
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
9b52d39425
(tdep_find_proc_info): Declare it as a regular object (not arch-obj).
...
(tdep_uc_addr): Likewise.
(tdep_put_unwind_info): Define only if not UNW_LOCAL_ONLY.
(unw): Declare as regular object.
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
mostang.com!davidm
b9d2cc7919
Drop HIDDEN from declarations, only the definitions need it.
...
(Logical change 1.150)
2003-12-21 07:57:42 +00:00
mostang.com!davidm
aa800d423d
(unw): Mark it as HIDDEN.
...
(Logical change 1.148)
2003-12-21 07:21:28 +00:00
mostang.com!davidm
e6aedd3089
(dyn_generation): Drop bogus comment.
...
(Logical change 1.147)
2003-12-21 05:53:57 +00:00
mostang.com!davidm
d5db6013ff
(UNW_PI_FLAG_FIRST_TDEP_BIT): Fix comment.
...
(Logical change 1.147)
2003-12-21 05:53:57 +00:00
hp.com!davidm
468aaccf17
Switch over to DWARF-based unwinder.
...
(Logical change 1.146)
2003-12-20 11:50:00 +00:00
hp.com!davidm
45fccdc2f3
(unw_dyn_dwarf_fde_info_t): New type to handle (pre-parsed) DWARF
...
unwind-info.
(unw_dyn_info_t): Add member "dfi".
(Logical change 1.145)
2003-12-20 11:43:08 +00:00
hp.com!davidm
eb51b4294a
(Logical change 1.145)
2003-12-20 11:43:08 +00:00
hp.com!davidm
0bbb2fab68
Initial revision
2003-12-20 11:38:49 +00:00
hp.com!davidm
b6adfb75c4
Declare mempool-routines as HIDDEN.
...
(Logical change 1.143)
2003-12-20 11:35:09 +00:00
hp.com!davidm
7d3de049e6
(Debug): New macro. This one automates some of usual stuff that
...
gets printed during debugging and is supposed to produce
a nicer format. Eventually, we'll switch everything over
from debug() to Debug().
(extract_dynamic_proc_info): We need both generic and local-only.
(dyn_remote_find_proc_info): Likewise.
(dyn_remote_put_unwind_info): Likewise.
(Logical change 1.142)
2003-12-20 11:32:43 +00:00
hp.com!davidm
fbe40e537f
(unw_word_t): Let the architecture-specific header take care of
...
defining this type---it's needed very early on.
(unw_proc_info_t): Add architecture-specific "extra" member. Empty
for ia64, so no ABI change.
Don't include libunwind-dynamic.h here.
(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
77b06d67aa
(unw_word_t): Declare it here.
...
(unw_tdep_proc_info_t): New type.
Include "libunwind-dynamic.h" here.
(Logical change 1.140)
2003-12-20 11:20:42 +00:00
mostang.com!davidm
bcdedf6b28
Switch from __sync_val_compare_and_swap() to
...
__sync_bool_compare_and_swap() since that's we need nowadays anyhow
and since that's also provided by ecc v7.0.
(Logical change 1.138)
2003-12-05 06:42:28 +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
7549674169
(unw_get_proc_info_by_ip): New routine.
...
(Logical change 1.133)
2003-12-04 07:34:21 +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
497018e941
Include "elf32.h".
...
(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
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