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

1323 commits

Author SHA1 Message Date
mostang.com!davidm
7b989938b7 Regenerate.
(Logical change 1.227)
2004-05-05 05:03:20 +00:00
mostang.com!davidm
c0f7c6f78a (libunwind_la_SOURCES_ia64_os): New macro defined only if OS_LINUX.
(libunwind_la_SOURCES_ia64): Move _ReadULEB.c/_ReadSLEB.c to above
	macro.

(Logical change 1.227)
2004-05-05 05:03:20 +00:00
mostang.com!davidm
542e026ae4 Regenerate.
(Logical change 1.225)
2004-05-05 01:58:44 +00:00
mostang.com!davidm
09ba7e9440 (unw_step): If dwarf_step() returns -UNW_ESTOPUNWIND, take that
as a hard signal that we should stop unwinding.  This
	fixes tests/test_proc_info.

(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
8241bb15a8 (struct table_entry): Move declrataion outside of !UNW_REMOTE_ONLY
bracket so the file compiles for UNW_REMOTE_ONLY, too.

(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
8fd300ae66 (fetch_proc_info): Call tdep_find_proc_info() instead of
dwarf_find_proc_info() so that the remote-case works, too.

(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
2cc4674137 Add forgotten copyright notice.
(Logical change 1.223)
2004-05-04 22:24:50 +00:00
mostang.com!davidm
52c2da7b5e Rename: src/ia64/rse.h -> include/ia64/rse.h
}(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
0ef8414cd9 Regenerate.
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
8045a438de Include "ia64/rse.h" instead of "rse.h".
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
513e7159bd Drop unnecessary include of "rse.h" (already included via unwind_i.h).
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
c47cf6a310 (libunwind_la_SOURCES_ia64_common): Remove ia64/rse.h.
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
d42705c5b7 (unw_init_local): Use unw_context_t instead of ucontext_t.
(Logical change 1.219)
2004-05-04 20:13:07 +00:00
mostang.com!davidm
6c50e90402 (remote_install_cursor): Tidy up #endif comment.
(Logical change 1.219)
2004-05-04 20:13:07 +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
75f19903fa Regenerate.
(Logical change 1.217)
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
(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
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
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
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
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
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
2de1768e52 Regenerate.
(Logical change 1.205)
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
d512dc0daa Auto merged
2004/04/20 09:53:04-07:00 hp.com!davidm
(validate_cache): If HAVE_DL_PHDR_REMOVALS_COUNTER is defined, use
	dl_phdr_removals_counter() to validate the cache.  This is
	much more efficient than using dl_iterate_phdr(), since it
	avoids locking.

(Logical change 1.205)
2004-04-20 16:53:44 +00:00
hp.com!davidm
36e094230c (intern_string): Cast buf-pointer to int8_t* to shut up Intel
compiler warning.

(Logical change 1.205)
2004-04-20 16:53:44 +00:00
hp.com!davidm
ed32b99716 (SOVERSION): Change from 2:0:1 to 3:0:2.
(COMMON_SO_LDFLAGS): New macro.
(libunwind_setjmp_la_LDFLAGS): Mention $(Common_SO_LDFLAGS).
(libunwind_ia64_la_LDFLAGS): Likewise.
(libunwind_hppa_la_LDFLAGS): Likewise.
(libunwind_x86_la_LDFLAGS): Likewise.
(libunwind_la_LDFLAGS): Likewise.
(libunwind_setjmp_la_LIBADD): Mention -lc.
(libunwind_ia64_la_LIBADD): Likewise.
(libunwind_hppa_la_LIBADD): Likewise.
(libunwind_x86_la_LIBADD): Likewise.
(libunwind_la_LIBADD): Likewise.
(libunwind_la_SOURCES_ia64): Mention mi/_ReadULEB.c and mi/_ReadSLEB.c.
	They are needed for Intel 8.0 libunwind.so compatibility. ;-(

(Logical change 1.205)
2004-04-20 16:53:44 +00:00
mostang.com!davidm
b8eefeac32 (validate_cache): Mask signal-delivery during dl_iterate_phdr().
(tdep_find_proc_info): Likewise.

(Logical change 1.203)
2004-04-01 08:09:28 +00:00
mostang.com!davidm
d3fad3af12 (dwarf_find_proc_info): Mask signal-delivery during dl_iterate_phdr().
(Logical change 1.203)
2004-04-01 08:09:28 +00:00
mostang.com!davidm
93d627ef87 (desc_alias): New function.
(parse_dynamic): Handle UNW_DYN_ALIAS via desc_dynamic().

(Logical change 1.201)
2004-04-01 06:01:53 +00:00
mostang.com!davidm
df77cf1ad7 (tdep_get_elf_image): Pass sizeof buffer to maps_next().
(Logical change 1.199)
2004-03-31 07:38:06 +00:00
mostang.com!davidm
64c702cea7 (ltoa): New inline function.
(skip_whitespace): Likewise.
(scan_hex): Likewise.
(scan_dec): Likewise.
(scan_char): Likewise.
(scan_string): Likewise.
(maps_init): Avoid stdio operations since they're not async-signal
	safe.
(maps_next): Likewise.
(maps_close): Likewise.

(Logical change 1.199)
2004-03-31 07:38:06 +00:00
mostang.com!davidm
fe9d715071 (get_proc_name): Minor whitespace fixes.
(Logical change 1.199)
2004-03-31 07:38:06 +00:00
mostang.com!davidm
18222990f2 (_UPT_get_dyn_info_list_addr): Pass size of path to maps_next().
(Logical change 1.199)
2004-03-31 07:38:06 +00:00
mostang.com!davidm
50160e1df1 Remove perf-tuning code, make it fit in 80 columns.
(Logical change 1.195)
2004-03-31 00:41:59 +00:00
hp.com!davidm
2b07d73a5a Temporarily add various test-cases which help with performance-tuning.
(Logical change 1.193)
2004-03-30 22:50:23 +00:00
hp.com!davidm
74f73e711e (IA64_SC_FLAG_SYNCHRONOUS_BIT): New macro.
(SC_FLAGS): New macro.
(rTMP): Move from r14 to r10.
(rPOS): Move from r14 to r11.
(rCPOS): Move from r17 to r14.
(rNAT): Move from r18 to r15.
(rFLAGS): New macro.

(Logical change 1.193)
2004-03-30 22:50:23 +00:00
hp.com!davidm
4e9c3fb503 Rename: src/backtrace.c -> src/mi/backtrace.c
}(Logical change 1.192)
2004-03-30 01:56:19 +00:00
hp.com!davidm
14e36a6a51 Rename: src/backtrace.c -> src/mi/backtrace.c
(Logical change 1.192)
2004-03-30 01:56:19 +00:00
hp.com!davidm
5fa489ba06 Regenerate.
(Logical change 1.192)
2004-03-30 01:56:19 +00:00
hp.com!davidm
3a95b3c641 Initial revision 2004-03-30 01:56:19 +00:00
hp.com!davidm
a50c7801bd (libunwind_la_SOURCES_local): Mention mi/backtrace.c.
(Logical change 1.192)
2004-03-30 01:56:19 +00:00
mostang.com!davidm
5c811e86b0 Move flushsrs into a better position (after most of the prefetching
stores are done) to maximize overlap of memory misses.

(Logical change 1.191)
2004-03-28 00:24:33 +00:00
mostang.com!davidm
a77f17b0b7 (GR): New macro.
(BR): Likewise.
(FR): Likewise.
(_Uia64_getcontext): Tweak for slightly better cold-cache performance.

(Logical change 1.190)
2004-03-27 09:25:58 +00:00
mostang.com!davidm
cb9fde199b (_Uia64_get_kernel_table): Fix it so it actually makes some sense
again.

(Logical change 1.189)
2004-03-27 06:36:15 +00:00
hp.com!davidm
53a56cb759 (_Uia64_get_kernel_table): Only call get_kernel_table() if we do not already
have the kernel table.

(Logical change 1.188)
2004-03-27 01:25:56 +00:00
mostang.com!davidm
2a302e5148 Regenerate.
(Logical change 1.186)
2004-03-20 09:54:28 +00:00
mostang.com!davidm
89b3ee87a9 (Logical change 1.186) 2004-03-20 09:54:28 +00:00
mostang.com!davidm
412615853d Initial revision 2004-03-20 09:54:28 +00:00
mostang.com!davidm
70b89e24f3 (uc_addr): Move to unwind_i.h.
(Logical change 1.186)
2004-03-20 09:54:28 +00:00
mostang.com!davidm
c8dfaca5a0 (par_dynamic): Fix typo in call to ia64_free_state_record().
(Logical change 1.186)
2004-03-20 09:54:28 +00:00
mostang.com!davidm
0c923f12b0 (libunwind_la_SOURCES_ia64): Mention getcontext-ia64.S.
(Logical change 1.186)
2004-03-20 09:54:28 +00:00
mostang.com!davidm
76b4736bde (inlined_uc_addr): New function.
(uc_addr): Moved to here from Ginit-ia64.c and added a special
	case when the register is constant.
(IA64_REG_LOC): Use uc_addr() instead of tdep_uc_addr().
(IA64_REG_NAT_LOC): Likewise.
(IA64_FPREG_LOC): Likewise.

(Logical change 1.186)
2004-03-20 09:54:28 +00:00
mostang.com!davidm
bd286e3260 (ia64_install_cursor): Correct NEW_SYSCALL-stub.
(Logical change 1.186)
2004-03-20 09:54:28 +00:00
mostang.com!davidm
756aefe909 (common_init): Mark it as ALWAYS_INLINE. Spell out initialization
of F16-F31 so they can be inlined in the local case.

(Logical change 1.186)
2004-03-20 09:54:28 +00:00
hp.com!davidm
fc7cd7c4bc Whitespace fix.
(Logical change 1.185)
2004-03-20 06:27:55 +00:00
hp.com!davidm
d8715c0e28 (build_script): Fix typo which caused case to fail where primary UNaT
was saved in a register only.

(Logical change 1.185)
2004-03-20 06:27:55 +00:00
mostang.com!davidm
eed0c54d28 (run_script): Remove erroneous calls to rotate_gr(). The unwind
directives specify physical stacked register numbers and
	the register-backing store always represents physical
	registers, so it was wrong to rotate here.

(Logical change 1.184)
2004-03-19 08:18:44 +00:00
hp.com!davidm
f59f60f9ce Tweak debug-levels a bit.
(Logical change 1.183)
2004-03-19 02:38:39 +00:00
hp.com!davidm
43db353753 (access_nat): Check for fp-location first and also do a direct get/put if
the NaT-location is a NaT-register.

(Logical change 1.183)
2004-03-19 02:38:39 +00:00
hp.com!davidm
e2b1175c3c (unw_is_signal_frame): Don't forget to call ia64_free_state_record() after
we're done with the state-record.

(Logical change 1.182)
2004-03-19 02:35:27 +00:00
hp.com!davidm
2cdea99143 (parse_dynamic): Free old state-record before creating new one.
(Logical change 1.182)
2004-03-19 02:35:27 +00:00
mostang.com!davidm
7c7bcebcc0 (unw_get_save_loc): New variable "nat_bitnr".
Adjust NaT-bit handling.  Much simpler now.
	Pass NULL as new third argument to ia64_scratch_loc().
	Set save_loc->extra.nat_bitnr to the NaT bit number (or 0
	when not accessing a NaT bit).

(Logical change 1.181)
2004-02-27 08:54:25 +00:00
mostang.com!davidm
ebe6b21c93 (uc_addr): Add "nat_bitnr"-pointer argument. Handle preserved
NaT-bit registers.
(tdep_uc_addr): Add "nat_bitnr"-pointer argument.
(access_reg): Pass NULL as third argument to uc_addr().
(access_fpreg): Likewise.

(Logical change 1.181)
2004-02-27 08:54:25 +00:00
mostang.com!davidm
5de460718c (remote_install_cursor): Pass NULL to third argument of
tdep_uc_addr().

(Logical change 1.181)
2004-02-27 08:54:25 +00:00
mostang.com!davidm
41db5ace19 (rbs_find): Delete---it's no longer needed.
(Logical change 1.181)
2004-02-27 08:54:25 +00:00
mostang.com!davidm
50488aece3 (linux_scratch_loc): Add "nat_bitnr"-pointer argument.
Handle NaT-bit registers by returning not just the
	NaT-word address, but also the NaT-bit number.
(hpux_scratch_loc): Add "nat_bitnr"-pointer argument.
(ia64_scratch_loc): Likewise.
(access_nat): Add "nat_bitnr" argument.  Rename "loc" to "nat_loc".
	Greatly simplify now that we have the NaT-word and the
	NaT bit-number readily available.
(access_reg): Pass NaT-bit number to access_nat().
	Handle scratch NaT-bit registers in a more generic fashion,
	now that we can.  Adjust all calls to ia64_scratch_loc() for
	third argument.

(Logical change 1.181)
2004-02-27 08:54:25 +00:00
mostang.com!davidm
9316bbb8f4 (enum ia64_script_insn_opcode): Moved to here from script.h.
Added operations IA64_INSN_ADD_PSP_NAT, IA64_INSN_ADD_SP_NAT,
	IA64_INSN_MOVE_NAT, IA64_INSN_MOVE_NO_NAT,
	IA64_INSN_MOVE_STACKED_NAT, IA64_INSN_MOVE_STACKED_NAT,
	IA64_INSN_MOVE_SCRATCH_NAT, and IA64_INSN_MOVE_SCRATCH_NO_NAT.
(emit_nat_info): Remove---it's no longer needed.
(compile_reg): Emit special op-codes when compiling a preserved
	static register, such that it's NaT-info can be updated.
(set_nat_info): New function.
(run_script): Implement new script instructions.

(Logical change 1.181)
2004-02-27 08:54:25 +00:00
mostang.com!davidm
fcb151f6ec (common_init): Initialize NaT-bit locations via IA64_REG_NAT_LOC()
macros.

(Logical change 1.181)
2004-02-27 08:54:25 +00:00
mostang.com!davidm
be1d46b41c (IA64_REG_LOC): Pass NULL as third argument to tdep_uc_addr().
(IA64_FPREG_LOC): Likewise.
(IA64_REG_NAT_LOC): New macro to describe a NaT-bit register location.
(rbs_find): Remove declaration.

(Logical change 1.181)
2004-02-27 08:54:25 +00:00
hp.com!davidm
a0f46f2a2b Fix typo in comment.
(IA64_LOC_UC_REG): Remove from the UNW_LOCAL_ONLY case.

(Logical change 1.180)
2004-02-27 01:00:42 +00:00
hp.com!davidm
d83276cb80 (compile_reg): Take extra ia64_reg_info-pointer argument.
(build_script): Adjust for extra argument to compile_reg().
	Fix the primary-NaT compilation such that it always
	updates IA64_REGPRI_UNAT_MEM.
(run_script): For IA64_INSN_SETNET_MEMSTK, set the location based on
	IA64_REG_PRI_UNAT_MEM and don't forget to turn on the
	MEMSTK_NAT bit.

(Logical change 1.178)
2004-02-27 00:54:27 +00:00
hp.com!davidm
c4d1b80bfe (access_nat): Fix that NaT-location calculation for the case where the NaT
is on the memory stack.

(Logical change 1.178)
2004-02-27 00:54:27 +00:00
hp.com!davidm
6702d1059c (tdep_init): Fix typo in nat_val_bytes[] (too much cut & paste).
Likewise for int_val_bytes[].

(Logical change 1.177)
2004-02-27 00:46:01 +00:00
hp.com!davidm
3e5b6ecf0d (sort_regs): New function.
(build_script): Compile the registers in decreasing order of WHEN values, so
	we can properly handle chains of spills/saves.

(Logical change 1.176)
2004-02-20 01:03:54 +00:00
mostang.com!davidm
84109794bd (_UPT_access_mem): Fix typo in Debug() macro calls.
(Logical change 1.174)
2004-02-19 08:01:52 +00:00
hp.com!davidm
8b96f6ef11 (rbs_find): New function.
(Logical change 1.173)
2004-02-19 01:37:27 +00:00
hp.com!davidm
57b8d6d7eb (rbs_find): Declare.
(Logical change 1.173)
2004-02-19 01:37:27 +00:00
hp.com!davidm
4a0d7bd478 (access_nat): Correct the case where a static general register got saved
to a stacked register.  We can't use ia64_get_stacked() here because
	c->rbs will, in general, be different from the frame in which the
	register was saved.

(Logical change 1.173)
2004-02-19 01:37:27 +00:00
hp.com!davidm
90a9f62a8c (compile_reg): Fix off-by-1 error for case IA64_WHERE_FR. This makes
Gia64-test-nat.c:check_static_to_fpreg() work.

(Logical change 1.172)
2004-02-19 01:34:08 +00:00
hp.com!davidm
5216609e29 (access_mem): Lower the debug level to 12, to be in sync with access_reg().
(Logical change 1.170)
2004-02-19 01:30:13 +00:00
mostang.com!davidm
d3a82ba5e8 (emit_nat_info): i is a preserved register number.
Correct accordingly.

(Logical change 1.169)
2004-02-14 23:04:43 +00:00
mostang.com!davidm
7b23d69a26 (emit_nat_info): Fix a typo: the destination must be a NaT-register!
(Logical change 1.167)
2004-02-14 07:51:43 +00:00
mostang.com!davidm
9468bda47a (unw_step): Add Debug() statement.
(Logical change 1.166)
2004-02-14 07:49:50 +00:00
mostang.com!davidm
f753bb45be (unw_init_remote): Add Debug() statement.
(Logical change 1.166)
2004-02-14 07:49:50 +00:00
mostang.com!davidm
eacf1f1262 (unw_init_local): Add Debug() statement.
(Logical change 1.166)
2004-02-14 07:49:50 +00:00
mostang.com!davidm
3d594c588f Regenerate.
(Logical change 1.165)
2004-02-14 07:48:47 +00:00
mostang.com!davidm
6fef2ace65 Fix typo: ia64/Lcreate_addr_space-ia64 was missing ".c".
(Logical change 1.165)
2004-02-14 07:48:47 +00:00
hp.com!davidm
518e5bde6c Regenerate.
(Logical change 1.164)
2004-02-14 04:46:31 +00:00
hp.com!davidm
703aa0d196 (common_init): Fix Debug() call.
(Logical change 1.163)
2004-02-14 04:44:05 +00:00
hp.com!davidm
410f962b8d Update.
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
a758c420e1 Update.
2004/01/28 13:40:40-08:00 hp.com!davidm
Rename: src/mi/Gset_caching_policy-ia64.c -> src/mi/Gset_caching_policy.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
a58ab0d85c Update.
2004/01/28 13:40:33-08:00 hp.com!davidm
Rename: src/mi/Gget_accessors-ia64.c -> src/mi/Gget_accessors.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
d3ff45603d Update.
2004/01/27 21:53:17-08:00 hp.com!davidm
Rename: src/_Unwind_RaiseException.c -> src/unwind/RaiseException.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
4c9772769b Update.
2004/01/27 21:49:09-08:00 hp.com!davidm
Rename: src/_UPT_get_dyn_info_list_addr.c -> src/ptrace/_UPT_get_dyn_info_list_addr.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
26465f4a7d Update.
2004/01/27 21:49:09-08:00 hp.com!davidm
Rename: src/_UPT_find_proc_info.c -> src/ptrace/_UPT_find_proc_info.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c5a37d6efc Update.
2004/01/27 21:49:09-08:00 hp.com!davidm
Rename: src/_UPT_access_reg.c -> src/ptrace/_UPT_access_reg.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
3152b04bb4 Update.
2004/01/27 21:49:09-08:00 hp.com!davidm
Rename: src/_UPT_access_mem.c -> src/ptrace/_UPT_access_mem.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c93b3e827e Update.
2004/01/27 21:46:30-08:00 hp.com!davidm
Rename: src/Gget_proc_name.c -> src/mi/Gget_proc_name.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
e11aa4383c Update.
2004/01/27 21:45:56-08:00 hp.com!davidm
Rename: src/Gdyn-remote.c -> src/mi/Gdyn-remote.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
16df64ba9e Update.
2004/01/27 21:43:47-08:00 hp.com!davidm
Rename: src/mi/Gset_reg-mi.c -> src/mi/Gset_reg.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
78999cc067 Update.
2004/01/27 21:43:27-08:00 hp.com!davidm
Rename: src/mi/Gget_reg-mi.c -> src/mi/Gget_reg.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
388f60fd02 Update.
2004/01/27 21:43:03-08:00 hp.com!davidm
Rename: src/mi/Gdestroy_addr_space-mi.c -> src/mi/Gdestroy_addr_space.c

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
fcd8dad37e Update.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
f913dd3bd1 Start to implement it for real.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
9b332c6092 Rename: src/mi-init.c -> src/mi/init.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
cf69b9cb0d Rename: src/mi-init.c -> src/mi/init.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
2294f59b46 Rename: src/mempool.c -> src/mi/mempool.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
65a70e7f88 Rename: src/mempool.c -> src/mi/mempool.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
fd8811c5a7 Rename: src/ia64/flush_cache-ia64.c -> src/mi/flush_cache.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
1250eefc3b Rename: src/ia64/flush_cache-ia64.c -> src/mi/flush_cache.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
ce05f993bd Rename: src/ia64/Linstall_cursor.S -> src/ia64/Linstall_cursor-ia64.S
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
6f65be26d3 Rename: src/ia64/Linstall_cursor.S -> src/ia64/Linstall_cursor-ia64.S
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
8c21d3724d Rename: src/ia64/Ginstall_cursor.S -> src/ia64/Ginstall_cursor-ia64.S
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
a961f35543 Rename: src/ia64/Ginstall_cursor.S -> src/ia64/Ginstall_cursor-ia64.S
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
622400b4d5 Rename: src/dyn-register.c -> src/mi/dyn-register.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
3019e19bd7 Rename: src/dyn-register.c -> src/mi/dyn-register.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
5c5073c03c Rename: src/dyn-info-list.c -> src/mi/dyn-info-list.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
fb86625d3e Rename: src/dyn-info-list.c -> src/mi/dyn-info-list.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
39953d2f7a Rename: src/dyn-cancel.c -> src/mi/dyn-cancel.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c4bff72d9c Rename: src/dyn-cancel.c -> src/mi/dyn-cancel.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
4e11cd1fcd Rename: src/_Unwind_SetIP.c -> src/unwind/SetIP.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
145780c43d Rename: src/_Unwind_SetIP.c -> src/unwind/SetIP.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
6c78963017 Rename: src/_Unwind_SetGR.c -> src/unwind/SetGR.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c8398ed9e2 Rename: src/_Unwind_SetGR.c -> src/unwind/SetGR.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
aad7cda5bd Rename: src/_Unwind_Resume_or_Rethrow.c -> src/unwind/Resume_or_Rethrow.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c130a12b81 Rename: src/_Unwind_Resume_or_Rethrow.c -> src/unwind/Resume_or_Rethrow.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
e92ab168ce Rename: src/_Unwind_Resume.c -> src/unwind/Resume.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
8848501cfe Rename: src/_Unwind_Resume.c -> src/unwind/Resume.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
7e0027059f Rename: src/_Unwind_GetTextRelBase.c -> src/unwind/GetTextRelBase.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
d56ed29092 Rename: src/_Unwind_GetTextRelBase.c -> src/unwind/GetTextRelBase.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
239ee2a25f Rename: src/_Unwind_GetRegionStart.c -> src/unwind/GetRegionStart.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
8eb12c5fb6 Rename: src/_Unwind_GetRegionStart.c -> src/unwind/GetRegionStart.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
9cf3063630 Rename: src/_Unwind_GetLanguageSpecificData.c -> src/unwind/GetLanguageSpecificData.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
d1d9993644 Rename: src/_Unwind_GetLanguageSpecificData.c -> src/unwind/GetLanguageSpecificData.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
62c9f1445a Rename: src/_Unwind_GetIP.c -> src/unwind/GetIP.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
cf412503c8 Rename: src/_Unwind_GetIP.c -> src/unwind/GetIP.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
54830b3141 Rename: src/_Unwind_GetGR.c -> src/unwind/GetGR.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
1c48af2dea Rename: src/_Unwind_GetGR.c -> src/unwind/GetGR.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
00c9df87d5 Rename: src/_Unwind_GetDataRelBase.c -> src/unwind/GetDataRelBase.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
9c8d4be2ec Rename: src/_Unwind_GetDataRelBase.c -> src/unwind/GetDataRelBase.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
caa30373bf Rename: src/_Unwind_GetCFA.c -> src/unwind/GetCFA.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
2c878f2cf9 Rename: src/_Unwind_GetCFA.c -> src/unwind/GetCFA.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
591107e634 Rename: src/_Unwind_GetBSP.c -> src/unwind/GetBSP.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
9d2496973a Rename: src/_Unwind_GetBSP.c -> src/unwind/GetBSP.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
53148fe438 Rename: src/_Unwind_ForcedUnwind.c -> src/unwind/ForcedUnwind.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
521e8ae52e Rename: src/_Unwind_ForcedUnwind.c -> src/unwind/ForcedUnwind.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
e7852a274c Rename: src/_Unwind_FindEnclosingFunction.c -> src/unwind/FindEnclosingFunction.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
ec0b5955f7 Rename: src/_Unwind_FindEnclosingFunction.c -> src/unwind/FindEnclosingFunction.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
ea30e7f4fa Rename: src/_Unwind_DeleteException.c -> src/unwind/DeleteException.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
fe0ce9af05 Rename: src/_Unwind_DeleteException.c -> src/unwind/DeleteException.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
9f805f2bd7 Rename: src/_Unwind_Backtrace.c -> src/unwind/Backtrace.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
7c02b9a27a Rename: src/_Unwind_Backtrace.c -> src/unwind/Backtrace.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
f08b6f77dd Rename: src/_UPT_resume.c -> src/ptrace/_UPT_resume.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
19bda93f0a Rename: src/_UPT_resume.c -> src/ptrace/_UPT_resume.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
1bcaf93d53 Rename: src/_UPT_reg_offset.c -> src/ptrace/_UPT_reg_offset.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
46c0a3043e Rename: src/_UPT_reg_offset.c -> src/ptrace/_UPT_reg_offset.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
873d1f1ee9 Rename: src/_UPT_put_unwind_info.c -> src/ptrace/_UPT_put_unwind_info.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
95f6295191 Rename: src/_UPT_put_unwind_info.c -> src/ptrace/_UPT_put_unwind_info.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
a5adbf5581 Rename: src/_UPT_internal.h -> src/ptrace/_UPT_internal.h
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
16583d8ff6 Rename: src/_UPT_internal.h -> src/ptrace/_UPT_internal.h
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
4f740a19b2 Rename: src/_UPT_get_proc_name.c -> src/ptrace/_UPT_get_proc_name.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
247ee6d4b0 Rename: src/_UPT_get_proc_name.c -> src/ptrace/_UPT_get_proc_name.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
fd3da894fa Rename: src/_UPT_destroy.c -> src/ptrace/_UPT_destroy.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c76bdb25ac Rename: src/_UPT_destroy.c -> src/ptrace/_UPT_destroy.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
fe20164d01 Rename: src/_UPT_create.c -> src/ptrace/_UPT_create.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
cbf38e3979 Rename: src/_UPT_create.c -> src/ptrace/_UPT_create.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
ae42839384 Rename: src/_UPT_accessors.c -> src/ptrace/_UPT_accessors.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
ac11927954 Rename: src/_UPT_accessors.c -> src/ptrace/_UPT_accessors.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
879b94f617 Rename: src/_UPT_access_fpreg.c -> src/ptrace/_UPT_access_fpreg.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
7246c93bad Rename: src/_UPT_access_fpreg.c -> src/ptrace/_UPT_access_fpreg.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
70306995cf Rename: src/Lput_dynamic_unwind_info.c -> src/mi/Lput_dynamic_unwind_info.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
a4bf54fa69 Rename: src/Lput_dynamic_unwind_info.c -> src/mi/Lput_dynamic_unwind_info.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
52f663be7e Rename: src/Lget_proc_name.c -> src/mi/Lget_proc_name.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
994db692ad Rename: src/Lget_proc_name.c -> src/mi/Lget_proc_name.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
987989d63a Rename: src/Lget_proc_info_by_ip.c -> src/mi/Lget_proc_info_by_ip.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
3a89f13d34 Rename: src/Lget_proc_info_by_ip.c -> src/mi/Lget_proc_info_by_ip.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
9226bdd752 Rename: src/Lfind_dynamic_proc_info.c -> src/mi/Lfind_dynamic_proc_info.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
922009068c Rename: src/Lfind_dynamic_proc_info.c -> src/mi/Lfind_dynamic_proc_info.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
143a3f00b3 Rename: src/Ldyn-extract.c -> src/mi/Ldyn-extract.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c764d3e915 Rename: src/Ldyn-extract.c -> src/mi/Ldyn-extract.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
57b20bfdf2 Rename: src/Gput_dynamic_unwind_info.c -> src/mi/Gput_dynamic_unwind_info.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
ca00cf27cf Rename: src/Gput_dynamic_unwind_info.c -> src/mi/Gput_dynamic_unwind_info.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
d705e7d79b Rename: src/Gget_proc_info_by_ip.c -> src/mi/Gget_proc_info_by_ip.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
ba01e0623d Rename: src/Gget_proc_info_by_ip.c -> src/mi/Gget_proc_info_by_ip.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
e6c21f7e11 Rename: src/Gfind_dynamic_proc_info.c -> src/mi/Gfind_dynamic_proc_info.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
a30e99da14 Rename: src/Gfind_dynamic_proc_info.c -> src/mi/Gfind_dynamic_proc_info.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
9f9dcedde1 Rename: src/Gdyn-extract.c -> src/mi/Gdyn-extract.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
8482adb47d Rename: src/Gdyn-extract.c -> src/mi/Gdyn-extract.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
88becf1e73 Rename: BitKeeper/deleted/.del-Gget_proc_name-x86.c~b007d49727921c1 -> src/x86/Gget_proc_name-x86.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
449bfb3a04 Rename: BitKeeper/deleted/.del-Gget_proc_name-ia64.c~25362f8c3f6aff8 -> src/ia64/Gget_proc_name-ia64.c
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
62ce00d5f0 Rename x86_init() to tdep_init().
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
684f85c8f1 Rename ia64_init() to tdep_init().
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
8aee02a839 Regenerate.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
b88369b831 Initial revision 2004-01-30 00:01:24 +00:00
hp.com!davidm
3351beeb0b Include "dwarf_i.h" instead of "dwarf.h".
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
815c101f82 Delete: src/x86/flush_cache-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
196357239d Delete: src/x86/Lset_caching_policy-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
2240eea139 Delete: src/x86/Lget_proc_name-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
5dee82687d Delete: src/x86/Lget_accessors-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
2cc74f80b4 Delete: src/x86/Lflush_cache-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
36f4f67b98 Delete: src/x86/Gset_caching_policy-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
3435b58201 Delete: src/x86/Gget_accessors-x86.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
cf6c388834 Delete: src/mi/Lset_reg-mi.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
dbf6df2f72 Delete: src/mi/Lget_reg-mi.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
34c683c33e Delete: src/ia64/Lset_reg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
eab1b8b158 Delete: src/ia64/Lset_fpreg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
576e75bcd2 Delete: src/ia64/Lset_caching_policy-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
dca58d18df Delete: src/ia64/Lget_reg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
09fecd9ddb Delete: src/ia64/Lget_proc_name-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
b8668574ca Delete: src/ia64/Lget_fpreg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
5ac1278b51 Delete: src/ia64/Lget_accessors-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
8bb86bfebe Delete: src/ia64/Ldestroy_addr_space-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
32d7718e50 Delete: src/ia64/Gset_reg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
fbab46f5e7 Delete: src/ia64/Gset_fpreg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c082aa56ae Delete: src/ia64/Gget_reg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c4fd84f610 Delete: src/ia64/Gget_fpreg-ia64.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
7ec97663cd Delete: src/hppa/flush_cache-hppa.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
9609c37ec6 Delete: src/debug_level.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c390f0a2eb Delete: src/Ldyn-remote.c
}(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
c67d345c33 Convert from debug() to Debug().
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
1738b3b637 Consolidate macros and share more code between different platforms.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
1cc4569725 Add warning until it's fully implemented.
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
f8b49d4222 (tdep_init): Rename from ia64_init().
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
21a24ca246 (linux_scratch_loc): New function.
(tdep_access_reg): Rename from x86_access_reg() and fix up some things.
(tdep_access_fpreg): Likewise.

(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
21595821bf (dwarf_search_unwind_table): Declare as PROTECTED, not HIDDEN.
(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
c2e7130493 (check_callback): Fix typo:
shared_object_subs -> shared_object_removals.

(Logical change 1.161)
2004-01-24 07:27:00 +00:00
mostang.com!davidm
9600c00e3e (check_callback): If HAVE_STRUCT_DL_PHDR_INFO_DLPI_SUBS is defined,
check dl_phdr_info.dlpi_subs to see if the cached info may
	be stale.

(Logical change 1.159)
2004-01-24 06:45:18 +00:00
hp.com!davidm
627437ce2d Rename: src/x86/set_caching_policy-x86.c -> src/x86/Gset_caching_policy-x86.c
}(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
5dadd87801 Rename: src/x86/set_caching_policy-x86.c -> src/x86/Gset_caching_policy-x86.c
(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
e384bfac74 Rename: src/x86/get_accessors-x86.c -> src/x86/Gget_accessors-x86.c
}(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
28eadb2d17 Rename: src/x86/get_accessors-x86.c -> src/x86/Gget_accessors-x86.c
(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
cc8cde11bc Rename: src/ia64/debug_level-ia64.c -> src/debug_level.c
}(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
00a4c50626 Rename: src/ia64/debug_level-ia64.c -> src/debug_level.c
(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
8358a9d89c Regenerate.
(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
6975b2dcd9 Initial revision 2004-01-22 08:36:15 +00:00
hp.com!davidm
36e672b63d (unwi_debug_level): Define here.
(mi_init): Replace tdep_debug_level with unwi_debug_level.

(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
274289167a (unw_is_fpreg): Declare as returning an "int" and fix typo.
(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
3f5687cbd9 (tdep_debug_level): Remove.
(x86_init) [!UNW_REMOTE_ONLY]: Simply call x86_local_addr_space_init().

}(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
c3a0bd3631 (tdep_debug_level): Remove.
(x86_init) [!UNW_REMOTE_ONLY]: Simply call x86_local_addr_space_init().

2004/01/21 23:09:28-08:00 (none)!davidm
Rename: src/x86/global-x86.c -> src/x86/Gglobal-x86.c

(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
hp.com!davidm
c5457c1c1b (local_find_proc_info): Remove list-pointer argument.
(unwi_find_dynamic_proc_info): Don't pass dyn-info-list address to
	local_find_proc_info().  That list-address doesn't exist
	for REMOTE_ONLY configurations.

(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
f06787a83b (dwarf_SOURCES_common): New macro.
(dwarf_SOURCES_local): Likewise.
(dwarf_SOURCES_generic): Likewise.
(libunwind_la_SOURCES_ia64_common): Mention flush_cache-ia64.c and
	ia64_regname-ia64.c.
(libunwind_la_SOURCES_Ia64): Lose files already mentioend in
	libunwind_la_SOURCES_ia64_common.
(libunwind_la_SOURCES_x86_common): Fix it.
(libunwind_la_SOURCES_x86): Likewise.
(libunwind_x86_la_SOURCES_x86): Likewise.
(libunwind_{ia64,hppa,x86}_la_LIBADD): Define only if !REMOTE_ONLY.

(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
f275ca3c98 (create_state_record_for): Replace tdep_debug_level with
unwi_debug_level.

(Logical change 1.158)
2004-01-22 08:36:15 +00:00
hp.com!davidm
42fafb9371 (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
40a1558927 Include <libunwind-ptrace.h> instead of <libunwind.h>.
(Logical change 1.156)
2004-01-21 01:05:07 +00:00
mostang.com!davidm
4dedcd7c53 (libunwind_la_SOURCES_x86_common): Mention is_fpreg-x86.c.
(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
afd961b7b0 Regenerate.
(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
ac0c1db22b (unwi_find_dynamic_proc_info): Fix cast so we actually get the
desired type.

(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
c62eddaa2f (libunwind_la_SOURCES_ia64_common): Mention debug_level-ia64.c.
(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
a432debbe2 (Logical change 1.155) 2004-01-20 23:50:00 +00:00
mostang.com!davidm
46a75eaddf Initial revision 2004-01-20 23:50:00 +00:00
mostang.com!davidm
81beef6941 Include "internal.h" instead of "unwind_i.h" to avoid name-space
pollution when compiling with debugging enabled.  The name-space
pollution came from the fact that functions won't be inlined in this
case and that ended up generating dead code with references to
non-existent functions.

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
6535a330cf Include "internal.h" and "tdep.h" instead of "unwind_i.h" to avoid
name-space pollution when compiling with debugging enabled.  The
name-space pollution came from the fact that functions won't be
inlined in this case and that ended up generating dead code with
references to non-existent functions.


(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
54ef1c8712 (unw_search_ia64_unwind_table): Rename from tdep_search_unwind_table().
(_Uia64_get_kernel_table): Define only when UNW_LOCAL_ONLY is not
	defined.
(_Uia64_find_dyn_list): Likewise.
(ia64_local_validate_cache): Fix prototype (second argument was
	missing).

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
74dfbb0769 (tdep_debug_level): Define.
(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
4c61d17686 (ia64_validate_cache): Declare.
(ia64_local_validate_cache): Likewise.

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
1fd74a4332 (ia64_uc_access_reg): Define only if not UNW_LOCAL_ONLY is defined.
(ia64_uc_access_fpreg): Likewise.

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
fa1e694c0a (create_state_record_for): Check tdep_debug_level instead of
unw.debug_level.

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
9099235bd7 (common_init): Pass c->as_arg as second argument to
ia64_validate_cache().

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
hp.com!davidm
63390c2267 Cleanup file to make it easier to read.
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
20a192c216 (unwi_dyn_remote_find_proc_info): Drop GENP argument.
(unwi_dyn_validate_cache): New function.

(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
0371bad3eb (tdep_search_unwind_table): Initialize segbase to zero to avoid
compiler-warning.
(check_callback): New function.
(validate_cache): Likewise.
(ia64_local_validate_cache): Likewise.

(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
641b12427d (ia64_validate_cache): New function.
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
172b01d775 (common_init): If caching is enabled, validate the cache first.
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
mostang.com!davidm
95589da62c Regenerate.
(Logical change 1.152)
2004-01-14 06:21:52 +00:00
mostang.com!davidm
a6b0ccf783 Make lines fit in 80 columns again.
(libunwind_la_SOURCES_x86_common): Fix typo: rename from
	libunwind_la_SOURCES_x86.

(Logical change 1.152)
2004-01-14 06:21:52 +00:00
hp.com!davidm
e703b3d278 Use print_error() instead of fprintf() to stderr.
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
23f31e44a7 Rename: src/ia64/global-asm-ia64.S -> src/ia64/dyn_info_list-ia64.S
}(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
8d331ad2ae Rename: src/ia64/global-asm-ia64.S -> src/ia64/dyn_info_list-ia64.S
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
d28aba1c56 Regenerate.
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
972a85f7fd Minor reformatting.
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
1656663941 Major restructuring to allow for separate local-only vs. generic
libunwind.

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
e0585b4a71 Initial revision 2004-01-03 10:50:24 +00:00
hp.com!davidm
adcb01f57f Don't define UNW_LOCAL_ONLY before including libunwind.h. That was
a bad idea.

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
fe8b77aeaf Declare libunwind-entry-points as PROTECTED to ensure local uses get
resolved within the library itself.

}(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
be467abeac Declare libunwind-entry-points as PROTECTED to ensure local uses get
resolved within the library itself.

2004/01/03 00:25:12-08:00 hp.com!davidm
Rename: src/ia64/set_caching_policy-ia64.c -> src/ia64/Gset_caching_policy-ia64.c

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
8578c3133a Declare libunwind-entry-points as PROTECTED to ensure local uses get
resolved within the library itself.

2004/01/03 00:24:50-08:00 hp.com!davidm
Rename: src/ia64/get_accessors-ia64.c -> src/ia64/Gget_accessors-ia64.c

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
bf82624a21 Declare libunwind-entry-points as PROTECTED to ensure local uses get
resolved within the library itself.

(is_local_addr_space): Define UNW_LOCAL_ONLY and generic versions.
(read_mem): New function.
(tdep_put_unwind_info): Define only if not UNW_LOCAL_ONLY.
(tdep_search_unwind_table): Rename from _Uia64_search_unwind_table().
	Optimize away stuff that isn't needed for UNW_LOCAL_ONLY.
	Use read_mem() instead of open-coding accesses via
	access_mem() callback.
(get_kernel_table): Rename from _Uia64_get_kernel_table().
(_Uia64_get_kernel_table): Define for non-UNW_LOCAL_ONLY case so
	that libunwind-ptrace.a can get to it.

}(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
e9815e6cce Declare libunwind-entry-points as PROTECTED to ensure local uses get
resolved within the library itself.

(is_local_addr_space): Define UNW_LOCAL_ONLY and generic versions.
(read_mem): New function.
(tdep_put_unwind_info): Define only if not UNW_LOCAL_ONLY.
(tdep_search_unwind_table): Rename from _Uia64_search_unwind_table().
	Optimize away stuff that isn't needed for UNW_LOCAL_ONLY.
	Use read_mem() instead of open-coding accesses via
	access_mem() callback.
(get_kernel_table): Rename from _Uia64_get_kernel_table().
(_Uia64_get_kernel_table): Define for non-UNW_LOCAL_ONLY case so
	that libunwind-ptrace.a can get to it.

2004/01/03 00:33:30-08:00 hp.com!davidm
Rename: src/ia64/tables-ia64.c -> src/ia64/Gtables-ia64.c

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
c4f5974dd1 Declare libunwind-entry-points as PROTECTED to ensure local uses get
resolved within the library itself.

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
fa6ca5610d (sos_memp): Drop static initializer.
(pg_size): Likewise.
(sos_alloc): Initialize sos_memp if it's still 0.

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
0b29e6839b (local_find_proc_info): Take new LIST argument.
(unwi_find_dynamic_proc_info): Pass LIST argument to
	local_find_proc_info().

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
98f917270f (intern_string): Declare as "inline".
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
a83c8a7397 (ia64_init): Declare as a regular object, not an arch-object.
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
d6e1c59b81 (_U_dyn_info_lists): Remove definition.
(ia64_init): Simply call ia64_local_addr_space_init() (unless
	UNW_REMOTE_ONLY is defined).

}(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
31a7a2c546 (_U_dyn_info_lists): Remove definition.
(ia64_init): Simply call ia64_local_addr_space_init() (unless
	UNW_REMOTE_ONLY is defined).

2004/01/02 23:05:52-08:00 hp.com!davidm
Rename: src/ia64/global-ia64.c -> src/ia64/Gglobal-ia64.c

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
b1036f45c9 (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
8af7d0d636 (unwi_full_sigmask): Mark as HIDDEN.
(Logical change 1.149)
2003-12-21 07:44:16 +00:00
mostang.com!davidm
23a0696c6d (ia64_install_cursor): Mark as NORETURN rather than using
directly using __attribute__ directive.

(Logical change 1.149)
2003-12-21 07:44:16 +00:00
mostang.com!davidm
aef3ad9d8d (_U_dyn_info_list_lock): Mark as HIDDEN.
(Logical change 1.149)
2003-12-21 07:44:16 +00:00
mostang.com!davidm
c008232bae (unw_decode_r1): "inline" it.
(unw_decode_r2): Likewise.
(unw_decode_r3): Likewise.
(unw_decode_p1): Likewise.
(unw_decode_p2_p5): Likewise.
(unw_decode_p6): Likewise.
(unw_decode_p7_p10): Likewise.
(unw_decode_b1): Likewise.
(unw_decode_b3_x4): Likewise.
(unw_decode_table): Remove.
(unw_decode): Do the first-level of decoding inline, rather than
	through the unw_decode_table.

(Logical change 1.148)
2003-12-21 07:21:28 +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
3596fa99b6 (regname): Delete.
(regname_len): New macro.
(regname_str): New macro.
(NREGS): New macro.
(unw_regname): Change it from using a regname[] array to using
	a single string.

(Logical change 1.148)
2003-12-21 07:21:28 +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
9fdd520e59 Regenerate.
(Logical change 1.146)
2003-12-20 11:50:00 +00:00
hp.com!davidm
23760816b3 (libunwind_la_SOURCES_common): Replace dyn-extract.c and dyn-remote.c
with generic and local-only versions.
(dwarf_sources): New macro.
(libbunwind_la_SOURCES_x86): Add $(dwarf_sources).
	Drop tables-x86.c it's not needed anymore.
(AM_CPPFLAGSG): Add architecture-specific include file.

(Logical change 1.146)
2003-12-20 11:50:00 +00:00
hp.com!davidm
eb51b4294a (Logical change 1.145) 2003-12-20 11:43:08 +00:00
hp.com!davidm
c7312eceb2 Define UNW_LOCAL_ONLY before including <libunwind.h> so we get the
optimized version for unwind-table-searching.

(Logical change 1.144)
2003-12-20 11:38:49 +00:00
hp.com!davidm
a114b907b1 (_Unwind_GetTextRelBase): Drop comment. Returning 0 seems to be
OK for most existing platforms (both ia64 and DWARF-based).

(Logical change 1.144)
2003-12-20 11:38:49 +00:00
hp.com!davidm
9239758529 (_Unwind_GetDataRelBase): Implement it by returning the "gp" value
of the proc-info.

(Logical change 1.144)
2003-12-20 11:38:49 +00:00
hp.com!davidm
2afc5f7ddb (Logical change 1.144) 2003-12-20 11:38:49 +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
7b76187fc8 (remote_find_proc_info): Update the comment so it reflects reality.
(Logical change 1.142)
2003-12-20 11:32:43 +00:00
hp.com!davidm
4fafd8cbf7 Use Elf_W() instead of ElfW() etc. to avoid clash with <linker.h>.
(Logical change 1.141)
2003-12-20 11:23:44 +00:00
hp.com!davidm
5e48061ba6 Update copyright header.
(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
ff78bcde0d Rename: src/dyn-remote.c -> src/Gdyn-remote.c
}(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
1cfcd061e9 Rename: src/dyn-remote.c -> src/Gdyn-remote.c
(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
94903d3c12 Rename: src/dyn-extract.c -> src/Gdyn-extract.c
}(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
058325fc41 Rename: src/dyn-extract.c -> src/Gdyn-extract.c
(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
9b52308ae2 Minor whitespace fixes.
(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
b25fd18403 Initial revision 2003-12-20 11:20:42 +00:00
hp.com!davidm
64c0ad5876 Delete: src/x86/tables-x86.c
}(Logical change 1.140)
2003-12-20 11:20:42 +00:00
mostang.com!davidm
2c1bae7798 Add copyright header.
(Logical change 1.139)
2003-12-10 07:14:38 +00:00
mostang.com!davidm
9765f67c9d A
(Logical change 1.139)
2003-12-10 07:14:38 +00:00
mostang.com!davidm
4d40b374b9 Lookup static proc-info via accessor's callback, not by directly
calling tdep_find_proc_info().  The latter doesn't works in the
REMOTE_ONLY case.

(Logical change 1.138)
2003-12-05 06:42:28 +00:00
mostang.com!davidm
98f95e6ee4 (sos_alloc): Drop type-cast-avoiding union. If we really need it,
it should be done by cmpxchg_ptr().

(Logical change 1.138)
2003-12-05 06:42:28 +00:00
mostang.com!davidm
47c25b753c (run_script): Drop left-over __builtin_expect() call.
(Logical change 1.138)
2003-12-05 06:42:28 +00:00
hp.com!davidm
ac224b48bb (sos_alloc): Fix call to cmpxchg_ptr().
(Logical change 1.136)
2003-12-04 23:29:32 +00:00
hp.com!davidm
3b54f2a48d R
(Logical change 1.135)
2003-12-04 07:44:21 +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
0240946f92 (SOVERSION): Bump it.
(libunwind_la_SOURCES_local): Mention all the new _Unwind_* files.
(EXTRA_DIST): Mention unwind-internal.h.

(Logical change 1.135)
2003-12-04 07:44:21 +00:00
hp.com!davidm
63a8bec6f6 Don't include "config.h" here. Include it via "unwind_i.h" instead.
(Logical change 1.134)
2003-12-04 07:38:25 +00:00
hp.com!davidm
6498cdf4d9 Don't include "config.h" here.
(Logical change 1.134)
2003-12-04 07:38:25 +00:00
hp.com!davidm
e6f6a92db1 (Logical change 1.133) 2003-12-04 07:34:21 +00:00
hp.com!davidm
96d608b2cc Initial revision 2003-12-04 07:34:21 +00:00
hp.com!davidm
2dcaa68adb Regenerate.
(Logical change 1.131)
2003-11-27 07:17:47 +00:00
hp.com!davidm
bd54a900bc (libunwind_la_SOURCES_x86): Mention x86/offsets.h.
(Logical change 1.131)
2003-11-27 07:17:47 +00:00
hp.com!davidm
35300d0616 Replace #ifdef UNW_DEBUG with #if UNW_DEBUG.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
cda74fe038 Replace #if DEBUG with #if UNW_DEBUG.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
c974464933 Delete include of elf64.h. The "tdep.h" header-file is responsible
for including the appropriate file.

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
1150a638d6 Delete extraneous .previous directive (reported by
Laurent Morichetti).

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
6c2e6e7f72 (update_frame_state): Delete unnecessary "pr" variable.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
fa7a796b37 (unw_is_signal_frame): Add parens to avoid compiler warnings.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
cbe3ca13f5 (unw_get_save_loc): Delete extra "break".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
612917dce0 (tab): Declare as "static".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
7291d0217c (rcsid): New variable.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
a024a719e1 (rbs_get_rnat_loc): Declare "inline".
(rbs_loc): Ditto.

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
c7d965a9dc (put_script_cache): Replace "caching" with "as->caching" and delete
the former to avoid compiler-warnings.
(run_script): Before doing the big switch, check for most common
	case (IA64_INSN_MOVE_STACKED).

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
dee53d7800 (lookup_symbol): Delete unused variable "str_size".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
3e1200c200 (linux_scratch_loc): Delete unnecessary variable "ret".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
cd2d75786a (current_gp): Don't use inline-asm for Intel compiler.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
74ed7ea40d (_UPT_reg_offset): Declare as "extern".
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
7eaa3cea76 (TARGET_ELF64): Delete.
(TARGET_ELF32): Likewise.
(_UPT_get_proc_name): Use ELF_CLASS instead of TARGET_ELFxx.

(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
85bf403eab (_UPT_get_dyn_info_list_addr): Fix typo.
(Logical change 1.128)
2003-11-27 06:13:02 +00:00
hp.com!davidm
72d091c1d6 (unwi_put_dynamic_unwind_info): Handle UNW_INFO_FORMAT_REMOTE_TABLE.
(Logical change 1.126)
2003-11-25 22:33:49 +00:00
hp.com!davidm
fb7578ac55 (unwi_get_proc_name): Handle UNW_INFO_FORMAT_REMOTE_TABLE.
(Logical change 1.126)
2003-11-25 22:33:49 +00:00
hp.com!davidm
02d88bcf13 (unwi_extract_dynamic_info): Handle UNW_INFO_FORMAT_REMOTE_TABLE.
(Logical change 1.126)
2003-11-25 22:33:49 +00:00
hp.com!davidm
7cec620ea8 (remote_read): New macro.
(remote_lookup): New function.
(_Uia64_search_unwind_table): Handle UNW_INFO_FORMAT_REMOTE_TABLE.
(_Uia64_find_dyn_list): Take unw_dyn_info_t pointer argument instead of its
	members and handle UNW_INFO_FORMAT_REMOTE_TABLE.

(Logical change 1.126)
2003-11-25 22:33:49 +00:00
hp.com!davidm
13147e5e9c (free_dyn_info): Handle UNW_INFO_FORMAT_REMOTE_TABLE.
(intern_dyn_info): Likewise.

(Logical change 1.126)
2003-11-25 22:33:49 +00:00
hp.com!davidm
0976af5f9f (create_state_record_for): Handle UNW_INFO_FORMAT_REMOTE_TABLE.
(Logical change 1.126)
2003-11-25 22:33:49 +00:00
hp.com!davidm
04a99eaa5c (_UPT_get_dyn_info_list_addr): Pass unw_dyn_info_t pointer instead of its
members.

(Logical change 1.126)
2003-11-25 22:33:49 +00:00
hp.com!davidm
e433ec3820 (unw_create_addr_space): Drop call to ia64_script_cache_init(). It's
not needed because we default to "no caching" and if the application
	turns on caching via unw_set_caching_policy(), the cache will get
	initialized at that time.

(Logical change 1.124)
2003-11-24 23:53:25 +00:00
hp.com!davidm
6ed5d0264f (ia64_script_cache_init): Delete.
(Logical change 1.124)
2003-11-24 23:53:25 +00:00
hp.com!davidm
629d7d3263 (ia64_per_thread_cache): Initialize busy/lock member.
(get_script_cache): Return NULL if caching is disabled.  If
	HAVE_ATOMIC_OPS_H is defined, set the busy flag and if
	the script cache is busy already, return NULL.
(put_script_cache): Don't allow it to be called for UNW_CACHE_NONE case.
	If HAVE_ATOMIC_OPS_H is defined, clear the "busy" flag via
	AO_CLEAR.
(ia64_get_cached_proc_info): If we're unable to acquire the cache,
	return -UNW_ENOINFO.
(script_init): New function.
(script_new): Replace open code with call to script_init().
(uncached_find_save_locs): New function.
(ia64_find_save_locs): Move code for uncached case to
	uncached_find_save_locs().  If get_script_cache() is unable to
	lock the script-cache, fall back to uncached_find_save_locs().
(ia64_script_cache_init): Delete.

(Logical change 1.124)
2003-11-24 23:53:25 +00:00
hp.com!davidm
e939f42941 (ia64_local_addr_space_init): Instead of calling ia64_script_cache_init(),
force a flush via unw_flush_cache().

(Logical change 1.124)
2003-11-24 23:53:25 +00:00
hp.com!davidm
a0b454581a Drop include of <ia64intrin.h>.
(unw_flush_cache): Replace __sync_fetch_and_add() with fetch_and_add1().

(Logical change 1.123)
2003-11-24 21:37:22 +00:00
hp.com!davidm
92b48f5fe8 (sos_alloc): cmpxchg_ptr() now returns a boolean value (TRUE on success).
(Logical change 1.123)
2003-11-24 21:37:22 +00:00
hp.com!davidm
ffb9c88e0a (ia64_find_save_locs): Separate out the no-cache case so we don't
acquire the script-cache lock needlessly.

(Logical change 1.122)
2003-11-24 18:35:43 +00:00
hp.com!davidm
22ca263109 (ia64_init): To prevent a race, unw.needs_initialization must be cleared
_after_ everything is initialized.

(Logical change 1.121)
2003-11-24 18:33:44 +00:00
hp.com!davidm
ca11999d9d (UPTi_find_unwind_table): Drop bogus range-check.
(Logical change 1.120)
2003-11-22 06:29:32 +00:00
hp.com!davidm
40e929815c (unw.pre_name): Add missing register names.
(Logical change 1.119)
2003-11-22 06:25:00 +00:00
hp.com!davidm
8b3248c32e (unw_set_caching_policy): If caching-policy didn't change, return
early.  Always flush cache after changing the policy.
	This is to ensure that the per-thread cache gets initialized
	and no stale info remains.

(Logical change 1.118)
2003-11-22 06:21:26 +00:00
hp.com!davidm
2245be9d9b (get_script_cache): Need to disable signal-delivery even for per-thread
caching.
(put_script_cache): Need to re-enable signal-delivery even for
	per-thread caching.

(Logical change 1.118)
2003-11-22 06:21:26 +00:00
hp.com!davidm
8d7426fe0a (linux_scratch_loc): Add a default-case which simply returns the
register-location.  This is so that special-cases such
	as r0 are handled properly.

(Logical change 1.117)
2003-11-22 06:16:20 +00:00
hp.com!davidm
2c9be974dc Regenerate.
(Logical change 1.115)
2003-11-22 06:08:20 +00:00
mostang.com!davidm
e83a184218 Regenerate.
(Logical change 1.114)
2003-11-20 01:10:03 +00:00
hp.com!davidm
c3328ce150 Delete: src/ia64/TODO
}(Logical change 1.113)
2003-11-19 23:15:58 +00:00
mostang.com!davidm
e5cf56ec1c (mi_init): Initializing unwi_full_sigmask is too late here, it needs to be done in the
arch-specific initialization, so that thread-safety can be guaranteed.

(Logical change 1.112)
2003-11-19 06:18:27 +00:00
mostang.com!davidm
6b2855500a (ia64_init): Move initialization of unwi_full_sigmask to here, from mi_init().
(Logical change 1.112)
2003-11-19 06:18:27 +00:00
hp.com!davidm
add6b939a0 (unw_set_caching_policy): Let ia64_init() clear unw.needs_initialization.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
f5f706c35e (unw_init_remote): Let ia64_init() clear unw.needs_initialization.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
3551d42d45 (unw_init_local): Let ia64_init() clear unw.needs_initialization.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
9b47e7723f (unw_get_accessors): Let ia64_init() clear unw.needs_initialization.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
8e71bb0ab2 (unw): Initialize "lock" member. Switch to ANSI99-style initializers.
(ia64_init): Use unw.lock to protect against races during
	initialization.  Disable signal delivery during initialization
	to ensure thread-safety (e.g., unw_init_local() may call
	ia64_init() and the former must be thread-safe).

(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
6b6a0079e6 Update copyright year.
Minor formatting changes.

(Logical change 1.110)
2003-11-18 21:47:51 +00:00
hp.com!davidm
c55348de6e Update copyright year.
(Logical change 1.110)
2003-11-18 21:47:51 +00:00
com[davidm]!hans_boehm
434b9ffcfe x86: fix unw_is_signal_frame() and unwinding across signal handlers
(Logical change 1.109)
2003-11-18 21:29:40 +00:00
com[davidm]!hans_boehm
864270533f Initial revision 2003-11-18 21:29:40 +00:00
hp.com!davidm
e70d39ae8e (create_state_record_for): Drop extraneous clearing of
sr->return_link_reg.  The entire structure is getting
	cleared via memset() already!

(Logical change 1.108)
2003-11-15 09:46:17 +00:00
hp.com!davidm
656e9d6e7d (_Uia64_search_unwind_table): Correct off-by-8 error in calculating
personality-routine and LSDA address and dont' forget to
	dereference the personality-routine function-pointer, so we
	really get the address of the function-descriptor of the
	personality routine.
(callback): Set the segment-base based on the segment that contains
	the unwind-table.  Normally, that the text segment but in
	special cases, such as the kernel's gate DSO, it will be
	in a different segment.

(Logical change 1.108)
2003-11-15 09:46:17 +00:00
hp.com!davidm
233952e855 (unw_get_save_loc): Handle floating-point registers as well.
(Logical change 1.107)
2003-10-11 01:06:49 +00:00
hp.com!davidm
bcbdc591be (unw_get_save_loc): Fix double negation.
(Logical change 1.105)
2003-10-11 00:59:02 +00:00
hp.com!davidm
8aff3354e2 Mention x86/set_caching_policy-x86.c.
(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
b3c9ffcf39 Initial revision 2003-09-25 05:29:14 +00:00
hp.com!davidm
87e2dfb9af (unw_regname): Fix signed/unsigned comparison.
(Logical change 1.104)
2003-09-25 05:29:14 +00:00