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