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

1179 commits

Author SHA1 Message Date
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