• Home
  • History
  • Annotate
  • only in /external/libunwind/src/ia64/
History log of /external/libunwind/src/ia64/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a3112726a13e9b4694821314a4cbbd742764c817 04-Apr-2014 Christopher Ferris <cferris@google.com> Fix aarch64 map_local_is_* calls.

Also fix one formatting issue in ia64/Ginit.c.

Change-Id: Idbb112a438a5c59a0fef2949abb07a48c96e0e94
init.c
f4a8df5f4f338f1a12c25213227e98b34b42447f 08-Mar-2014 Christopher Ferris <cferris@google.com> Fix maps caching for local processes.

It is possible for the map to change while running libunwind. For example,
if lots of threads are doing local unwinds at the same time. Allow the
cached map to regenerate when it detects this case.

Included in this change is a refactor of all of the os code so that it can
also be used to do caching. This is a prelude to being able to attempt to
push the code upstream.

Also, this moves the code back closer to the original upstream code.
Hopefully, this will allow me to upstream all of these changes.

Change-Id: Ia219fa61e16e36416133bc95b1dd2161bd5b8ff7
init.c
init_local.c
0996405de25a3aab5045d20803c8f0a5441d0c57 01-Feb-2014 Christopher Ferris <cferris@google.com> Fix memory corruption bug.

There are two problems, some of the init code needs the map created before
the init function since it does a verify check during init. The second
problem is that the local addr space seems to change for reasons I don't
understand, so it's necessary to init the map list when doing a unw_cursor
init.

Bug: 12852152

Change-Id: I32246d7c5adf7e24192868cb32a8c2fdc53c12f0
init_local.c
16b95a68caaa7e021209e2cd6a877ae1e558f740 23-Jan-2014 Christopher Ferris <cferris@google.com> Add speed-ups to libunwind.

Add caching of /proc/self/maps data structures.

Add caching of elf image maps attached to the maps data structure.

Add a set of new map api functions to handle creation/destruction of the
maps by external code.

Remove the creation of the maps data structure in the local address space
init.

Change-Id: I0adae397d433fc3902f83a6f377f6889161937e5
init.c
cdf9ee587b78148c5d48dae1b5ea72ec8df64c96 23-Nov-2013 Christopher Ferris <cferris@google.com> Only check the map for local unwinds.

Change-Id: I7b7eed29a1b7ddad8e0d852598260809d3eb98d1
init.c
7d46a21e0a2cb561e4cad57b101a7137e01023dc 14-Nov-2013 Christopher Ferris <cferris@google.com> For current process, check memory accesses.

When attempting to unwind the current process, the library simple reads and
writes to memory for memory accesses. Unfortunately, if an unwind winds up
with invalid data, then the process can segfault. Add a guard to all memory
accesses that verifies that reads/writes are valid before attempting them.

For now, this guard is a nop on all systems except linux systems.

Also, modify the adjust_ip function to use the access_mem function
so that all reads go through the right function.

Bug: 11652982
Change-Id: I9d1feacae585374f6bf1d899f8a006ec9ecb47c4
init.c
7d471b144013924f8d80e532a693fb77dbe73c2b 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Define and use `CONST_ATTR'
parser.c
script.c
dcbe6836ebb4ed300ebf529e38e412e94a8197d8 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> IA64: constify read only arrays in `tdep_init()'
global.c
ded94b98ff3534a3c394591f4b254b1af6f0711c 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Stop including `memory.h'

I am unable to find any reference to `memory.h' in the C99 and C11
committee drafts, so include `string.h' instead when we need memset() or
similar.
nwind_i.h
23ecb97906a418f54b3c55bfbb2f9d3c4d156018 07-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> IA64: avoid -Wunused-but-set-variable in src/ia64/init.h

In file included from src/ia64/Ginit_remote.c:26:0:
src/ia64/init.h: In function 'common_init':
src/ia64/init.h:32:12: warning: variable 'natp' set but not used [-Wunused-but-set-variable]
nit.h
5d0f376b08126b51a001d7cdfba1ec4e0d644f54 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Invert tdep_init() flag logic

Invert the flag that signals that tdep_init() was called, to move the
symbol from data to BSS.
global.c
init_local.c
init_remote.c
e61c6f69c30d85584ece5250b8b82b03898384f5 15-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Fix function name duplication in Debug() output

Fix function name duplication in Debug() output that was caused by
manually prepending the debug message with the function name.
script.c
a26f1eac2255ea4100b25af2f69c8a9ad872bd18 31-Jul-2012 Tommi Rantala <tt.rantala@gmail.com> IA64: `ent' needed conditionally in Gtables.c

ia64/Gtables.c: In function '_ULia64_search_unwind_table':
ia64/Gtables.c:258: warning: unused variable 'ent'
tables.c
354b3fd45b441f5338ea3514f0784092ada107b3 31-Jul-2012 Tommi Rantala <tt.rantala@gmail.com> Allow IA64 cross-compilation

Change the way we generate the cursor header files, so that we do not
need to invoke IA64 binaries, which would fail when cross-compiling
libunwind.

Adopt the strategy used in the Linux kernel build system, and parse our
annotated offset information from the assembler file produced by the
compiler.
k_Gcursor_i.c
k_cursor_i
d93d96ad833390519ea68a2df22dd55dd26a3214 22-May-2012 Martin Milata <mmilata@redhat.com> Fix compilation on IA64

- Add tdep macro for {dwarf,ia64}_find_unwind_table so that ia64
doesn't try to use dwarf code.
- Fix extraneous #if.
- Fix mistyped filename in Makefile.am.
- Link ia64-specific tests with correct libraries.

Signed-off-by: Martin Milata <mmilata@redhat.com>
find_unwind_table.c
fa5409387c10b547576e0bf581e8905c6b574eeb 24-May-2012 Arun Sharma <asharma@fb.com> Merge branch 'coredump2' of https://github.com/adsharma/libunwind

Conflicts:
src/ptrace/_UPT_find_proc_info.c
9507a9b5018b8be16d2b62531715f1d1e2999f4a 29-Mar-2012 Arun Sharma <asharma@fb.com> ia64: move ia64 specific code out of dwarf

We still need to fixup the callers to pick dwarf_find_unwind_table
vs ia64_find_unwind_table in a target dependent way.
find_unwind_table.c
find_unwind_table.c
49ca8b6a3eb4f542b1612625e9e68ded9493abf5 27-Mar-2012 Arun Sharma <asharma@fb.com> ia64: remove references to an out of scope local

This causes problems with gcc-4.7

Signed-off-by: Joel Brobecker <brobecker@adacore.com>
tables.c
f89fb17695e8137a5f4e23570bf9f53374186c96 03-Oct-2011 Arun <asharma@fb.com> Fix incorrect calls to memset.

Found when compiling libunwind with clang.

Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
get_save_loc.c
fc2934aadeff468b751113d56093429fd6bc4832 30-Sep-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Make the remaining sigprocmask calls conditional on --enable-block-signals
tables.c
84d4150668d83a98420cc91e00026159c3d74a81 21-Sep-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Allow caller to block signals.

Greetings,

We use libunwind just for stack traces (I suspect many others do as well).

The use pattern is:

GetStackTrace(void** result, int max_depth)
{
...
unw_getcontext(&uc);
unw_init_local(&cursor, &uc);

while (n < max_depth) {
if (unw_get_reg(&cursor, UNW_REG_IP, (unw_word_t *) &ip) < 0) {
break;
}
result[n++] = ip;
if (unw_step(&cursor) <= 0) {
break;
}
}

Given this usage, it is quite convenient for us to block signals (or
prevent signal handlers from re-entering libunwind by other means) at the
"top level", which makes most of the sigprocmask calls performed by
libunwind itself unneccessary.

The second patch in this series adds a configure option which removes most
of the sigprocmask calls.

Attached patch is a preliminary for it -- consolidating all of the
"sigprocmask; mutex_lock;" sequences into lock_acquire and "mutex_unlock;
sigprocmask;" sequences into lock_release.

Thanks,
--
Paul Pluzhnikov

commit 402d15b123d54a7669db7cf17a76dd315094e472
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date: Mon Sep 21 10:18:28 2009 -0700

Replace "sigprocmask + mutext_lock" with a single lock_acquire.
Likewise, replace "mutext_unlock + sigprocmask" with lock_release.
global.c
script.c
4b8404d153c58b95cb4420fc7603fdae62489a31 24-Apr-2009 Arun Sharma <aruns@google.com> Remove the special casing of ia64 for GetIPInfo()

This rule (no IP adjustment on ia64) may be correct for locating the right FDE.

Unfortunately the same adjusted/unadjusted return address is being used also by
__gxx_personality_v0() to locate the right call-site (the try {} block) for
unwinding. And this case is already sensitive for off-by-one PC values.
Unlike the FDE location where the function prologue + epilogue make it immune
against off-by-one PC calculations.

Therefore suggesting to unify it with non-ia64 case.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
nwind_GetIPInfo.c
2fce54102cdb03aa2d3105c750685dc7cf2677b1 03-Apr-2009 Arun Sharma <aruns@google.com> Implement _Unwind_GetIPInfo() as required by the C++ ABI

Provide a special implementation for ia64, because the unwind
information is such that an IP adjustment is not necessary before
looking up unwind info.

Bad things happen if libunwind only provides parts of the ABI and
the rest come from libgcc.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
nwind_GetIPInfo.c
ec53de82ec7c00adb56c9e8b1b03d489a69c494b 16-Mar-2009 Arun Sharma <aruns@google.com> [PATCH] Avoiding name conflict with the GNU-specific dprintf in stdio.h

Signed-off-by: Yang Zhang <yaaang@gmail.com>
parser.c
script.c
step.c
tables.c
826374cee51b25b4e92b162f61762945b308559a 15-Nov-2007 David Mosberger-Tang <davidm@koala.mostang.com> Merge ../libunwind-v0.98

Conflicts:

configure
configure.in
src/ia64/Ginit.c
7fda769769013d386cc42ff7694c19fe06c04800 14-Nov-2007 Curt Wohlgemuth <curtw@cup.hp.com> ia64 [src/ia64/Ginit.c]: Don't mark the reference to _Uelf64_get_proc_name
as "weak". Since the elf-support is in the library anyhow, this serves
no purpose and in fact causes problem because the weak reference alone
is not enough to pull in the ELF-code from an archive file, causing to
spurious failures of get_proc_name.
init.c
57e569646368cb730f028ecf1732143474e3e642 01-Oct-2007 Jan Kratochvil <jan.kratochvil@redhat.com> Mark Wielaard <mwielaard@redhat.com> writes:

On some systems executable stacks are denied. Since libunwind and the
tests don't actually need executable stacks this patch marks all
assembly files as not needing it.

The original patch comes from frysk:

2007-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>

* src/hppa/getcontext.S, src/hppa/setcontext.S, src/hppa/siglongjmp.S,
src/ia64/Ginstall_cursor.S, src/ia64/Linstall_cursor.S,
src/ia64/dyn_info_list.S, src/ia64/getcontext.S, src/ia64/longjmp.S,
src/ia64/setjmp.S, src/ia64/siglongjmp.S, src/ia64/sigsetjmp.S,
src/ppc64/longjmp.S, src/ppc64/siglongjmp.S, src/x86/longjmp.S,
src/x86/siglongjmp.S, src/x86_64/longjmp.S, src/x86_64/setcontext.S,
src/x86_64/siglongjmp.S: Stack should be non-executable, for SELinux.

I added a couple more markers for new files in current libunwind.

Before this patch you would get the following on selinux enabled
systems without allow_exec_stack: error while loading shared
libraries:

libunwind.so.7: cannot enable executable stack as shared object
requires: Permission denied

After the patch that error disappears and all test results are similar
to the results on systems without executable stack protection.
install_cursor.S
install_cursor.S
yn_info_list.S
etcontext.S
ongjmp.S
etjmp.S
iglongjmp.S
igsetjmp.S
e6b9f350f78ecd9ef3b8a3e721f9435c94fc2562 22-Aug-2007 David Mosberger-Tang <davidm@panda.mostang.com> Introduce a tdep_get_func_addr_hook() in the ELF lookup_symbol()
routine and add address-space argument. This is needed because on
PPC64, a the function-name symbol refers to a function descriptor
(unlike, for example, on ia64, where the @fptr() operator is needed to
refer to a function descriptor). Thus, in order to look up the name
of a function, we need to dereference the function descriptor. To
make matters more "interesting", the function descriptors are normally
resolved by the dynamic linker, so we can't get their values from the
ELF file. Instead, we have to read them from the running image, hence
the need for the address-space argument.
init.c
a6393c0be170fc341ef92623b469211493c69efd 07-Jun-2007 David Mosberger-Tang <davidm@koala.mostang.com> Merge ../libunwind-v0.98
09c8c7d0f3f3cecb43c1292e1792dff1ebb28992 07-Jun-2007 Andreas Schwab <schwab@suse.de> (unw_create_addr_space): Fix address-leak that triggered when function
was called with an unsupported "byte_order".

Signed-off-by: David Mosberger-Tang <dmosberger@gmail.com>
create_addr_space.c
bde67706ed88b7e48495539a402e8b1709ad30d6 28-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Delete some backup files that accidentally made it into git.
regs.c~
script.c~
unw_get_reg.c~
236e370dc5c8738c24e696cd4329167def8d8077 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Remove three Emacs backup-files which accidentially got checked into git.
regs.c~
script.c~
unw_get_reg.c~
ca69fee8bba65c4fccc359eb473c7d27bfa2dec7 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Merge ../libunwind-v0.98

Conflicts:

include/dwarf_i.h
include/x86/jmpbuf.h
include/x86_64/jmpbuf.h
src/hppa/init.h
src/mi/Gget_fpreg.c
src/mi/Gset_fpreg.c
src/mi/strerror.c
f176ad6fc6d4982e92c330265b00419e93b79f27 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Bring git v0.98.5 tree in sync with released v0.98.5.

Sadly, the conversion from Bitkeeper -> CVS -> git wasn't perfect. Or
so it seems.
ongjmp.S
36a0275014ed7d918cb64db26220668d2034b4da 20-May-2005 hp.com!davidm <hp.com!davidm> Allow write-access to UNW_IA64_BSP and UNW_REG_SP.

(Logical change 1.303)
regs.c
cf2a44ca4934c5c5a91959240d48b37937730c4b 20-May-2005 hp.com!davidm <hp.com!davidm> Use update_nat() instead of equivalent open code.

(Logical change 1.301)
regs.c
f5de64f9f7637d43fc473f9b301ce69278b04952 20-May-2005 hp.com!davidm <hp.com!davidm> If r1 has been saved in an ABI-specific frame
(such as an interrupt frame), access the saved
value. Otherwise, pick it up from the unwind-info
for the matching IP.

(Logical change 1.300)
regs.c
399f120c96dca0ec383e265888d826d8b75d5d0f 20-May-2005 hp.com!davidm <hp.com!davidm> Drop unused readonly variable.

(Logical change 1.299)
regs.c
3fa950e81889d7bd2ee434b13b35f3274e0163f1 20-May-2005 hp.com!davidm <hp.com!davidm> Remove early-out test when IP is zero.

(Logical change 1.298)
step.c
19e3bf3ea675ea64dbe23730e2600ae99ab0b187 20-May-2005 hp.com!davidm <hp.com!davidm> (rbs_switch): Use rbs_get_base() to determine the size of the register
backing store.

(Logical change 1.297)
rbs.c
9724ac492c56e38916cea471af0c2bdb5379ac3f 20-May-2005 hp.com!davidm <hp.com!davidm> (common_init): Use rbs_get_base() to determine size of register-backing store.

(Logical change 1.297)
nit.h
080f8423d959f38702d61574403c2f6c54344eb2 20-May-2005 hp.com!davidm <hp.com!davidm> Read sp and bsp via ia64_get() and then pass them to common_init().

(Logical change 1.296)
init_remote.c
50bbc1fe3dcac021b201445e4e7a158a8d199604 20-May-2005 hp.com!davidm <hp.com!davidm> (set_as_arg): New function.
(get_initial_stack_pointers): Likewise.
(unw_init_local): Use new functions to make code more readable and add
Linux kernel support.

(Logical change 1.296)
init_local.c
84bd124a24c69664f727048671dde893382b3128 20-May-2005 hp.com!davidm <hp.com!davidm> (inlined_uc_addr): Remove UNW_IA64_AR_BSP. We no longer need this ugly hack
since the initial BSP is now passed directly into common_init().

(Logical change 1.296)
nwind_i.h
4992f1c9368b13007efa0efb5fad50815ed9ed4d 20-May-2005 hp.com!davidm <hp.com!davidm> (common_init): Take initial sp and bsp values as arguments instead of
reading them via ia64_get().

(Logical change 1.296)
nit.h
1b63be3f89af357d2d1f88d6b4a617741595727c 20-May-2005 hp.com!davidm <hp.com!davidm> (parse_dynamic): Make it a dummy-function of _U_dyn_op isn't defined, i.e.,
if libunwind-dynamic.h isn't in use (as is the case for the kernel at
the moment).

(Logical change 1.295)
parser.c
7894f0edc0db884f23afe515e37baa92c8fb8e9a 20-May-2005 hp.com!davidm <hp.com!davidm> (ia64_strloc): Move to Grbs.c.

(Logical change 1.295)
init.c
96407911ee56be584395c491cffa2f4824647911 20-May-2005 hp.com!davidm <hp.com!davidm> (ia64_strloc): Move here from Ginit.c so it can be shared with the kernel.

(Logical change 1.295)
rbs.c
1228462adc4d1c89448def59778416adce1e986b 20-May-2005 hp.com!davidm <hp.com!davidm> Include "rse.h" instead of "ia64/rse.h".
Include "libunwind_i.h" instead of "internal.h" and "tdep.h".
Define rbs_cover_and_flush() only for the !UNW_REMOTE_ONLY case.
(ia64_is_big_endian): New macro.
(ia64_get_abi): Likewise.
(ia64_set_abi): Likewise.
(ia64_get_abi_marker): Likewise.

(Logical change 1.294)
nwind_i.h
8e6f3c84851c8efb66d3e153a22b8aff33f91da5 20-May-2005 hp.com!davidm <hp.com!davidm> Include "rse.h" instead of "ia64/rse.h".

(Logical change 1.294)
get_save_loc.c
5724bee8c27219ac277ea76d75dc70fa830eaac0 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "internal.h".

(Logical change 1.294)
egname.c
c027d9838698e187aeebfbf552674886ce3169cf 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include headers already included via unwind_i.h.

(Logical change 1.294)
parser.c
dda1a6d625e93b64e2d1dc54b9f8a8ea5f491947 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <string.h>.
Include "libunwind_i.h" instead of "internal.h" and "tdep.h".

(Logical change 1.294)
k_Gcursor_i.c
9e8ba174e620122448725ed166763d9da3ad8645 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <string.h> and <stdlib.h>.

(Logical change 1.294)
init_local.c
fa2871946af3c3d696efacbbc529d834020d8b67 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <assert.h> and <stddef.h>.
Use ia64_get_abi_marker() instead of directly referencing c->last_abi_marker.
(linux_scratch_loc): When accessing an fp-reg, default to IA64_FPREG_LOC.
Handle more registers for the Linux interrupt-frame case.
(tdep_access_reg): Use ia64_get_abi() instead of c->as->abi.
Use ia64_is_big_endian() instead of c->as->big_endian.

(Logical change 1.294)
regs.c
8bb167d4c14f991a5a9a5c918aa0b5d4c09d746a 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <alloca.h> and <stdlib.h>.

(Logical change 1.294)
init.c
6675be4926ff3989da0542ed19c55ab3a01df010 20-May-2005 hp.com!davidm <hp.com!davidm> (linux_interrupt): Enable this code for the kernel, too.
Use ia64_get_abi_marker() instead of c->abi_marker.
Use ia64_set_abi() instead of storing directly to c->as->abi.

(Logical change 1.294)
step.c
ee6eeb4f7d7066e183762ac016a05f6098552ba6 20-May-2005 hp.com!davidm <hp.com!davidm> (get_script_cache): Use HAVE_ATOMIC_H instead of __linux && __KERNEL__.

(Logical change 1.294)
script.c
8a1e0a2bcd7c2d5bdd7afe7e8e3641719d1914ad 17-May-2005 hp.com!davidm <hp.com!davidm> Auto merged

2005/05/17 14:14:23-07:00 hp.com!davidm
(tdep_access_reg): Access AR.EC via ec_loc instead of cfm_loc.

(Logical change 1.293)
regs.c
26fdb45d764982fc6847f07caf42e56a343d410d 17-May-2005 hp.com!davidm <hp.com!davidm> Auto merged

2005/05/17 14:14:23-07:00 hp.com!davidm
(linux_sigtramp): Add "prev_cfm_loc" argument. Use it to set c->ec_loc.
(linux_interrupt): Likewise.
(hpux_sigtramp): Likewise.
(update_frame_state): Copy old cfm_loc to prev_cfm_loc and pass it to
ABI-specific handlers. Initialize c->ec_loc to c->cfm_loc by default.

(Logical change 1.293)
step.c
a6ba57d5566681e68c0f9b6628be829f5a3dade1 17-May-2005 hp.com!davidm <hp.com!davidm> Auto merged

2005/05/17 06:10:13-07:00 hp.com!davidm
(tdep_access_reg): Don't rotate contents of UNW_IA64_PR.

(Logical change 1.292)
regs.c
8462f1f87def454ac16e97519d7672fd338d65e7 17-May-2005 hp.com!davidm <hp.com!davidm> (pr_ltop): Remove.
(pr_ptol): Remove.

(Logical change 1.292)
egs.h
7fbb8a9593f87a8e50964e61872eccc0afd9b0bf 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for sigset_t to intrmask_t renaming.

(Logical change 1.290)
global.c
9f3360a5464aa1c35c44f418421561f0dc22bb41 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for "ia64_rse" to "rse" prefix change.

2005/02/23 12:55:45-08:00 mostang.com!davidm
(inlined_uc_addr): Adjust for ALWAYS_INLINE change.

(Logical change 1.290)
nwind_i.h
7f8b54ae5c0aae5bc2574b727946c8b9ecccc09d 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for "ia64_rse" to "rse" prefix change.

2005/02/20 21:42:55-08:00 mostang.com!davidm
Adjust for NELEMS to ARRAY_SIZE renaming.

(Logical change 1.290)
rbs.c
3e00b79170aa5f641bb34b0e769c6c7485dab673 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for "ia64_rse" to "rse" prefix change.

2004/12/06 10:40:49-08:00 mostang.com!davidm
(tdep_access_reg): Fix typo in code to read EH argument registers.

(Logical change 1.290)
regs.c
87081cebabb0525d4e3085cfdc3f751fbc5c8239 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for "ia64_rse" to "rse" prefix change.

2004/10/25 07:52:30-07:00 hp.com!davidm
(unw_step): Add Debug statement to print return-value.

2004/10/25 05:21:51-07:00 hp.com!davidm
(unw_step): Print IP along with cursor address.

(Logical change 1.290)
step.c
bf832fc29e9e9141c1886d8d0d2123766a9aeb4c 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for "ia64_rse" to "rse" prefix change.

(Logical change 1.290)
init_local.c
caa61dfec12ab07248bfee226a3e0ceda2bea2f1 03-May-2005 mostang.com!davidm <mostang.com!davidm> (remote_install_cursor): Fix off-by-one error.

2004/10/25 05:21:51-07:00 hp.com!davidm
(unw_resume): Print IP along with cursor-address.

(Logical change 1.290)
resume.c
7fcb8006a996db6dec9de9c3831c3f32c12223b8 03-May-2005 mostang.com!davidm <mostang.com!davidm> (common_init): Adjust for ALWAYS_INLINE change.

(Logical change 1.290)
nit.h
7c4be6f9bcd3f902286ad82b2ef5c2f69a0417eb 03-May-2005 hp.com!davidm <hp.com!davidm> Auto merged

2005/04/07 12:19:38-07:00 hp.com!davidm
(ia64_make_proc_info): After looking up proc-info, cache it if
caching is enabled.

2005/02/20 21:42:55-08:00 mostang.com!davidm
Adjust for NELEMS to ARRAY_SIZE renaming.

(Logical change 1.290)
parser.c
6fc50d4ed6a5c83e4c5dd61868c93720deb92b3e 03-May-2005 hp.com!davidm <hp.com!davidm> (unw_search_ia64_unwind_table): Always return unwind_info in the
local case since it's trivial to do so and saves us time if
later on we need to build a script for that procedure.

2005/02/23 14:40:44-08:00 mostang.com!davidm
Adjust for sigset_t to intrmask_t renaming.

2004/10/25 05:21:51-07:00 hp.com!davidm
(unw_search_ia64_unwind_table): Clarify comment and add a Debug() statement
for the case where we find a bad unwind-header version.

(Logical change 1.290)
tables.c
6ed360df7e64232e01ddbbe0f09287fc6ea2fa61 03-May-2005 hp.com!davidm <hp.com!davidm> (unw_is_signal_frame): Add a Debug statement.

(Logical change 1.290)
is_signal_frame.c
23405d02ec4fcd6d1a38ed51b2e7295e83eced3e 03-May-2005 hp.com!davidm <hp.com!davidm> (get_script_cache): Fix typo in Debug() statement (missing argument).
(put_script_cache): Fix typo in argument name.

2005/04/07 12:19:38-07:00 hp.com!davidm
(ia64_get_cache_proc_info): Move it to near the end of the file.
(script_init): Also call ia64_fetch_proc_info() if the script was
found in the cache but it's empty (count == 0 and NULL
unwind_info pointer). Also invoke build_script() if
script has no instructions yet (count==0). Add assertion
to ensure that build_script() never returns an empty
script.
(ia64_cache_proc_info): New function to cache the proc_info only.

2005/02/23 14:40:44-08:00 mostang.com!davidm
Adjust for sigset_t to intrmask_t renaming.

2005/02/23 13:10:05-08:00 mostang.com!davidm
Adjust for "ia64_rse" to "rse" prefix change.

(Logical change 1.290)
script.c
8efd6d24da6718383fca227a419a6d8ab26f960f 20-Apr-2005 hp.com!davidm <hp.com!davidm> (desc_alias): Fix off-by-one bug.

(Logical change 1.287)
parser.c
4e731a55729a25ef0e50f4f2aaa1bd95e4eec89e 16-Nov-2004 hp.com!davidm <hp.com!davidm> (get_dyn_info_list_addr): When compiling into libunwind-ia64, declare
_U_dyn_info_list_addr as weak and fail if the symbol remained
undefined.
(get_static_proc_name): Likewise for _Uelf64_get_proc_name().

(Logical change 1.282)
init.c
22ac4c078fb47edb47ae5efd70184050a289537d 13-Oct-2004 hp.com!davidm <hp.com!davidm> (__sigsetjmp): Start updating jmp_buf only after sigprocmask() returned
successfully. This avoids a failure in ia64-test-setjmp which
was due to the fact that sigprocmask() caused a segfault (due to
overflowing the stack) and at that point we had a partially updated
jmp_buf.

(Logical change 1.272)
igsetjmp.S
81f4953a1f3114dfe328a0fe6126527cd9c8c1e6 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Fix typo: REMOTE_ONLY -> UNW_REMOTE_ONLY.

(Logical change 1.266)
rbs.c
7ccee420046e6f5238530e024ecd3381c911460d 31-Aug-2004 hp.com!davidm <hp.com!davidm> bsig

(Logical change 1.259)
iglongjmp.S
197c9d517b4e459a33ce79192c1469e0844a1a8e 31-Aug-2004 hp.com!davidm <hp.com!davidm> Initial revision
ongjmp.S
964536911067222f4153a5feb7ed67c2c13d516b 31-Aug-2004 hp.com!davidm <hp.com!davidm> (local_resume): Adjust for expanded interface of rbs_cover_and_flush() and
ia64_install_cursor().

(Logical change 1.259)
resume.c
0aa29032f620f291476f449c0cce49a03324e6c6 31-Aug-2004 hp.com!davidm <hp.com!davidm> (ia64_install_cursor): Take additional arguments "bspstore", "dirty_size",
"dirty_partition", and "dirty_nat". If size of dirty partition
is non-zero, load it up via "loadrs" before resuming execution.

(Logical change 1.259)
install_cursor.S
3386d284fafde358ed44bfef33edd578864c285f 31-Aug-2004 hp.com!davidm <hp.com!davidm> (ia64_install_cursor): Adjust declaration for expanded interface.
(rbs_cover_and_flush): Likewise.

(Logical change 1.259)
nwind_i.h
cd69bfec0c6e20fef5ea60e8f8363cb773e79065 31-Aug-2004 hp.com!davidm <hp.com!davidm> (get_rnat): Simplify to return only the RNaT value itself.
(rbs_cover_and_flush): Take additional arguments "dirty_partition",
"dirty_rnat", and "bspstore". When it is necessary to copy
backing-store words, copy them to "dirty_partition" instead of
the target rbs, which may be full already.

(Logical change 1.259)
rbs.c
3dd5ca671315720501c7e2538547742a230892dd 31-Aug-2004 hp.com!davidm <hp.com!davidm> (_setjmp): Use macros from jmpbuf.h instead of hardcoded values.

(Logical change 1.259)
etjmp.S
d7418c600fef62552425e5d3a71b82b9df628730 31-Aug-2004 hp.com!davidm <hp.com!davidm> (__sigsetjmp): Use macros from "jmpbuf.h" instead of hardcoded values.

(Logical change 1.259)
igsetjmp.S
e29611e7d343a6f84dd9c5fd94415615ef49a4b0 31-Aug-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.259)
ongjmp.S
18b501de4cf28934f3317c330c85c4c490abaeca 26-Aug-2004 hp.com!davidm <hp.com!davidm> Store rp and bsp in the same location as libc's setjmp().

(Logical change 1.258)
etjmp.S
746fbe08e7440dd90b89209c723b792c4fc1e8d6 26-Aug-2004 hp.com!davidm <hp.com!davidm> Increase debug-level of state-record printing to 2.

(Logical change 1.257)
parser.c
f576cce7480d6acee537cecfeb5530187e50f785 26-Aug-2004 hp.com!davidm <hp.com!davidm> Drop debug-level for function-trace to 1.

(Logical change 1.257)
init_local.c
init_remote.c
resume.c
step.c
f20eb7ea72c517e53165d86e1be4d421d1f7bf22 26-Aug-2004 hp.com!davidm <hp.com!davidm> Add missing newlines in Debug statements.

(Logical change 1.257)
rbs.c
54b9ba95f974cf444bd5a6048391f1f0e92e0dc9 18-Aug-2004 hp.com!davidm <hp.com!davidm> Drop include of <libunwind.h> and #ifdef checks.

(Logical change 1.244)
install_cursor.S
2f6b56efda661c47ae834e4d3ed0a618b22beac2 18-Aug-2004 hp.com!davidm <hp.com!davidm> (unw_init_remote): Redirect to unw_init_local() if we're initializing for
the local address-space. This makes test-init-remote.c work.

(Logical change 1.243)
init_remote.c
75edef85972ba018f333b3771022a3aa2e30bcb7 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/sigsetjmp-ia64.S.S -> src/ia64/sigsetjmp.S

}(Logical change 1.241)
igsetjmp-ia64.S
c38b0834335d299cf01de4f8142baff026e381fe 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/sigsetjmp-ia64.S.S -> src/ia64/sigsetjmp.S

(Logical change 1.241)
igsetjmp.S
9c5fe5391ff3a28b6921f01b10d5a8e31a193137 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/siglongjmp-ia64.S.S -> src/ia64/siglongjmp.S

}(Logical change 1.241)
iglongjmp-ia64.S
b54bec50afc51ac892de2b0f45d27c2c9b6e24f9 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/siglongjmp-ia64.S.S -> src/ia64/siglongjmp.S

(Logical change 1.241)
iglongjmp.S
963baf6f1e1042c5b11f0389f1c5a27ea7e1e2e9 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/setjmp-ia64.S.S -> src/ia64/setjmp.S

}(Logical change 1.241)
etjmp-ia64.S
1f694b02c7602db3df9a1147ee71f3c57f11773f 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/setjmp-ia64.S.S -> src/ia64/setjmp.S

(Logical change 1.241)
etjmp.S
f62002fe2bb30fc367b367fe85c53cd1f96ba0a2 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/regname-ia64.c -> src/ia64/regname.c

}(Logical change 1.241)
egname-ia64.c
5710ea37cc496f6dede7aaa1816ac75d208f6598 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/regname-ia64.c -> src/ia64/regname.c

(Logical change 1.241)
egname.c
34d88fc6b54d9314e498954f0676dd41e2b6e1c7 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/mk_Gcursor_i-ia64.c -> src/ia64/mk_Gcursor_i.c

}(Logical change 1.241)
k_Gcursor_i-ia64.c
8bc587f1a4cfcc24131741216add1f8a8e2a9776 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/mk_Gcursor_i-ia64.c -> src/ia64/mk_Gcursor_i.c

(Logical change 1.241)
k_Gcursor_i.c
82b4b77ce26d5e2d68bee37db96ae86360dd2cbd 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/getcontext-ia64.S.S -> src/ia64/getcontext.S

}(Logical change 1.241)
etcontext-ia64.S
4ba03baf6aa8bf98d2dea8db775aefbb73a44216 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/getcontext-ia64.S.S -> src/ia64/getcontext.S

(Logical change 1.241)
etcontext.S
2db9a97a4554bbb8bb8fe957d8d79234d9a96a06 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/dyn_info_list-ia64.S.S -> src/ia64/dyn_info_list.S

}(Logical change 1.241)
yn_info_list-ia64.S
79373ff6a5fa37ccc197bb6142f4e37e933446e8 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/dyn_info_list-ia64.S.S -> src/ia64/dyn_info_list.S

(Logical change 1.241)
yn_info_list.S
01951e551e4334f0f7a9e84f8150771d7ed7295a 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gtables-ia64.c -> src/ia64/Gtables.c

}(Logical change 1.241)
tables-ia64.c
2142c20307343000510c3cd6d3dc87de0a21ea1a 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gtables-ia64.c -> src/ia64/Gtables.c

(Logical change 1.241)
tables.c
c99f1225d333b68398b96a797a6fa8c3fb35d228 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gstep-ia64.c -> src/ia64/Gstep.c

}(Logical change 1.241)
step-ia64.c
f1734db27381d83b4c2f9395d55cef37a766bcd2 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gstep-ia64.c -> src/ia64/Gstep.c

(Logical change 1.241)
step.c
b6d4bfeb29fa98dd5ea7a7a6a0a0fb8dbbbcdde9 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gscript-ia64.c -> src/ia64/Gscript.c

}(Logical change 1.241)
script-ia64.c
f9494563e7b99c080a3a5bb006427de504a92b79 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gscript-ia64.c -> src/ia64/Gscript.c

(Logical change 1.241)
script.c
5a3ded7a0f02dbc5b916153e09a2b776e7af321f 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gresume-ia64.c -> src/ia64/Gresume.c

}(Logical change 1.241)
resume-ia64.c
6139bb71c1e83a08d19357690d15e698264c0c63 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gresume-ia64.c -> src/ia64/Gresume.c

(Logical change 1.241)
resume.c
f35638089779a81d0769e768ece05e505d17d5eb 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gregs-ia64.c -> src/ia64/Gregs.c

}(Logical change 1.241)
regs-ia64.c
b3f681603b67e00cd04833e9f85c4a3adf027cc2 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gregs-ia64.c -> src/ia64/Gregs.c

(Logical change 1.241)
regs.c
8f58a1cf9c566a80b051bd20d47cf911a528c3de 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Grbs-ia64.c -> src/ia64/Grbs.c

}(Logical change 1.241)
rbs-ia64.c
38b586f953d19b8d775b8165d76567f8eae5f3d7 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Grbs-ia64.c -> src/ia64/Grbs.c

(Logical change 1.241)
rbs.c
9288e6b1554565f95e3ef48122fcb970d3f061d1 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gparser-ia64.c -> src/ia64/Gparser.c

}(Logical change 1.241)
parser-ia64.c
cc8c1cc220a8306f76818448f0b79f726ed5152f 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gparser-ia64.c -> src/ia64/Gparser.c

(Logical change 1.241)
parser.c
28b4cef6bac10852fe06224368db40efd43be14a 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gis_signal_frame-ia64.c -> src/ia64/Gis_signal_frame.c

}(Logical change 1.241)
is_signal_frame-ia64.c
5bbef35906289b678054f13cf919ed58bdff5d07 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gis_signal_frame-ia64.c -> src/ia64/Gis_signal_frame.c

(Logical change 1.241)
is_signal_frame.c
7178b67138339050e723aec00daabd7a9868b79c 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Ginstall_cursor-ia64.S.S -> src/ia64/Ginstall_cursor.S

}(Logical change 1.241)
install_cursor-ia64.S
5abc74b276e25e964deb4da1a9026c5ba4f4c13f 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Ginstall_cursor-ia64.S.S -> src/ia64/Ginstall_cursor.S

(Logical change 1.241)
install_cursor.S
5b0dd22644eefd2bbbce7111f349ae60a4f11d24 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Ginit_remote-ia64.c -> src/ia64/Ginit_remote.c

}(Logical change 1.241)
init_remote-ia64.c
1883db9df16936b46d6ef3521caff2ec7c5a895b 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Ginit_remote-ia64.c -> src/ia64/Ginit_remote.c

(Logical change 1.241)
init_remote.c
6fecde079e3c84bc541a30a564349afc5c367fe3 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Ginit_local-ia64.c -> src/ia64/Ginit_local.c

}(Logical change 1.241)
init_local-ia64.c
5a0713e6ab28e67ea9b4e9cfecd394a66038ad42 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Ginit_local-ia64.c -> src/ia64/Ginit_local.c

(Logical change 1.241)
init_local.c
225a76c8723cb085011b51514df4f0f158a09e94 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Ginit-ia64.c -> src/ia64/Ginit.c

}(Logical change 1.241)
init-ia64.c
697ad314947d3f8eabd3d9e69596d6f0fec85696 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Ginit-ia64.c -> src/ia64/Ginit.c

(Logical change 1.241)
init.c
b5fc84d770457d34213f57b8647403b95c9582f3 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gglobal-ia64.c -> src/ia64/Gglobal.c

}(Logical change 1.241)
global-ia64.c
0c335ee3398048b2f4627247b2aaad40e169389f 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gglobal-ia64.c -> src/ia64/Gglobal.c

(Logical change 1.241)
global.c
ac4e44b4073d71eb432f9248fb71fe1ccc103e70 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gget_save_loc-ia64.c -> src/ia64/Gget_save_loc.c

}(Logical change 1.241)
get_save_loc-ia64.c
570517a1c93cf677cfbce5cf460f43d83873bd91 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gget_save_loc-ia64.c -> src/ia64/Gget_save_loc.c

(Logical change 1.241)
get_save_loc.c
4d960d581a5abbd9224a267dc235de0e54215bdd 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gget_proc_info-ia64.c -> src/ia64/Gget_proc_info.c

}(Logical change 1.241)
get_proc_info-ia64.c
d93985ab8e1eefb4a9d4a518562216ba3762dd3f 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gget_proc_info-ia64.c -> src/ia64/Gget_proc_info.c

(Logical change 1.241)
get_proc_info.c
99febf32819f650dfa6ca7a4aec154f1b92b8bff 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gcreate_addr_space-ia64.c -> src/ia64/Gcreate_addr_space.c

}(Logical change 1.241)
create_addr_space-ia64.c
f3b091e0753f1d58c1c836d4d69cb2622f4ec904 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/Gcreate_addr_space-ia64.c -> src/ia64/Gcreate_addr_space.c

(Logical change 1.241)
create_addr_space.c
b29905fdc9c5068a3a46b807f9edccb735bf31df 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

}(Logical change 1.241)
create_addr_space-ia64.c
get_proc_info-ia64.c
get_save_loc-ia64.c
global-ia64.c
init-ia64.c
init_local-ia64.c
init_remote-ia64.c
install_cursor-ia64.S
is_signal_frame-ia64.c
parser-ia64.c
rbs-ia64.c
regs-ia64.c
resume-ia64.c
script-ia64.c
step-ia64.c
tables-ia64.c
k_Lcursor_i-ia64.c
7e651021c1f3c6da067ce92e5f9648d1f0e4e930 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:19:04+02:00 homeip.net!davidm
Rename: src/ia64/Linstall_cursor-ia64.S.S -> src/ia64/Linstall_cursor.S

(Logical change 1.241)
install_cursor.S
849e3eda74f7cf7f9fdfa42c3e74604317bad6fe 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/mk_Lcursor_i-ia64.c -> src/ia64/mk_Lcursor_i.c

(Logical change 1.241)
k_Lcursor_i.c
b82135e29c742b46996e62d3e3421090df576064 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/Ltables-ia64.c -> src/ia64/Ltables.c

(Logical change 1.241)
tables.c
3a8cf68ddd418e917748694838daae9287fc9e70 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/Lstep-ia64.c -> src/ia64/Lstep.c

(Logical change 1.241)
step.c
206956441ccc58ee2d34ade2142463972005c15d 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/Lscript-ia64.c -> src/ia64/Lscript.c

(Logical change 1.241)
script.c
b128cab5f4616e0ca09a40a9a53e2cdfab9dc1d2 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/Lresume-ia64.c -> src/ia64/Lresume.c

(Logical change 1.241)
resume.c
01793b14d5dcfee14f36c8585fbcca2bdf63ac11 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:59+02:00 homeip.net!davidm
Rename: src/ia64/Lregs-ia64.c -> src/ia64/Lregs.c

(Logical change 1.241)
regs.c
087dc59c7839060feffa902ad9ff5e87ded5ba94 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lrbs-ia64.c -> src/ia64/Lrbs.c

(Logical change 1.241)
rbs.c
45609647195a82285f6b9ced229e3bfbad5c3cbc 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lparser-ia64.c -> src/ia64/Lparser.c

(Logical change 1.241)
parser.c
a22fe13ff96531d817cb11ba83a5607c0e37d61d 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lis_signal_frame-ia64.c -> src/ia64/Lis_signal_frame.c

(Logical change 1.241)
is_signal_frame.c
4372239d83eeb52eb770ccefec51fb83e6c03693 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Linit_remote-ia64.c -> src/ia64/Linit_remote.c

(Logical change 1.241)
init_remote.c
4bf903c7321d58b22c0319f612e594ac804db38d 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Linit_local-ia64.c -> src/ia64/Linit_local.c

(Logical change 1.241)
init_local.c
3d290aca59806c1e0d89af7f7a31d4b8d2829d06 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Linit-ia64.c -> src/ia64/Linit.c

(Logical change 1.241)
init.c
af723ec793d948660f481be4eac7bcefa6541b02 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lglobal-ia64.c -> src/ia64/Lglobal.c

(Logical change 1.241)
global.c
09727ee30382900a6ebd4afd72844ba84c8fbaf7 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lget_save_loc-ia64.c -> src/ia64/Lget_save_loc.c

(Logical change 1.241)
get_save_loc.c
2eb742f91c074879fc40bd61235bcd074f543af4 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lget_proc_info-ia64.c -> src/ia64/Lget_proc_info.c

(Logical change 1.241)
get_proc_info.c
e1ccdbd06f6d6b4988e10572fe080fea387e8821 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:10:58+02:00 homeip.net!davidm
Rename: src/ia64/Lcreate_addr_space-ia64.c -> src/ia64/Lcreate_addr_space.c

(Logical change 1.241)
create_addr_space.c
3f9d2e9c5c1cfde324c08204259b65f74b2746a1 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Initial revision
global.c
rbs.c
tables.c
global.c
rbs.c
tables.c
yn_info_list.S
etcontext.S
k_Gcursor_i.c
k_Lcursor_i.c
egname.c
etjmp.S
iglongjmp.S
igsetjmp.S
3fd2b8adfad1cbd7b9524af041ac276163ac74ec 12-May-2004 hp.com!davidm <hp.com!davidm> (get_kernel_table): Change %Zu to %zu.

(Logical change 1.236)
tables-ia64.c
2376f6e6bc4e2e21e28743320a0b6421fc31311b 07-May-2004 hp.com!davidm <hp.com!davidm> (_Uia64_find_dyn_list): Don't exclude for UNW_REMOTE_ONLY.
Reformat #ifdef's a bit for improved readability.

(Logical change 1.234)
tables-ia64.c
32dd2e2218eff504e50b43faa4ac7403c93d93ee 06-May-2004 hp.com!davidm <hp.com!davidm> (compile_reg): Fix typo: treat f0 and f1 like scratch registers.

(Logical change 1.230)
script-ia64.c
b3381c88879c6cbdfeb1a3838df67113687c35ac 06-May-2004 hp.com!davidm <hp.com!davidm> Adjust for r0, f0, f1_le, and f1_be having moved into "read_only" member.

(Logical change 1.229)
regs-ia64.c
4dca00338abd0f887af8822b8a999b81681d452b 06-May-2004 hp.com!davidm <hp.com!davidm> (tdep_init): Adjust for r0, f0, f1_le, and f1_be having moved into
"read_only" member.

(Logical change 1.229)
global-ia64.c
ed18defb26fb22c3137361f46bdc5e09519e4ee7 06-May-2004 hp.com!davidm <hp.com!davidm> (inlined_uc_addr): Also handle f0 and f1.
(ia64_read_only_reg): New function.
(ia64_putfp): Reject puts into read-only save-locations.
(ia64_put): Likewise.

(Logical change 1.229)
nwind_i.h
b8d777bc656e86d99567ba656e9511657d62e0a2 06-May-2004 hp.com!davidm <hp.com!davidm> (access_reg): Do not reject accesses to floating-point registers. On
little-endian machines, this automagically does the right thing
and on HP-UX (big-endian) we never use this routine.
Reject write-accesses to read-only save-locations (such as
unw.read_only.r0).
(access_fpreg): Reject write-accesses to read-only save-locations.

(Logical change 1.229)
init-ia64.c
1b4583400aa5a1a8ba2d0764ff707fc7048b43fe 06-May-2004 mostang.com!davidm <mostang.com!davidm> (ia64_getfp): Use IA64_IS_NULL_LOC() instead of nothing or
pen-coded NULL-test.
(ia64_putfp): Likewise.
(ia64_get): Likewise.
(ia64_put): Likewise.

(Logical change 1.228)
nwind_i.h
2cc4674137a5e30f60d8d2fd304eed3de97b9da9 05-May-2004 mostang.com!davidm <mostang.com!davidm> Add forgotten copyright notice.

(Logical change 1.223)
egs.h
52c2da7b5eb4362754f0e2f8e743d8b10bedb092 05-May-2004 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/rse.h -> include/ia64/rse.h

}(Logical change 1.221)
se.h
8045a438de919dc47c951040587aca58f169b1d1 05-May-2004 mostang.com!davidm <mostang.com!davidm> Include "ia64/rse.h" instead of "rse.h".

(Logical change 1.221)
get_save_loc-ia64.c
nwind_i.h
513e7159bd36b5761a48f1e3f79721d81354680e 05-May-2004 mostang.com!davidm <mostang.com!davidm> Drop unnecessary include of "rse.h" (already included via unwind_i.h).

(Logical change 1.221)
init_local-ia64.c
init_remote-ia64.c
regs-ia64.c
resume-ia64.c
script-ia64.c
step-ia64.c
d42705c5b79302f49b02db4a9a560567f31970cf 04-May-2004 mostang.com!davidm <mostang.com!davidm> (unw_init_local): Use unw_context_t instead of ucontext_t.

(Logical change 1.219)
init_local-ia64.c
6c50e90402ef3d5ecbd3a406d41f8a25a5f7288f 04-May-2004 mostang.com!davidm <mostang.com!davidm> (remote_install_cursor): Tidy up #endif comment.

(Logical change 1.219)
resume-ia64.c
48b0eeeb3717eb8bd070437aec0f6b9e689eafec 28-Apr-2004 mostang.com!davidm <mostang.com!davidm> (tdep_find_proc_info) [HAVE_DLMODINFO]: Fix Debug() message (missing
paren).

(Logical change 1.218)
tables-ia64.c
9b21d8edaf53ab268655f52da2e6666d50fee76f 28-Apr-2004 mostang.com!davidm <mostang.com!davidm> (access_reg) [HAVE_SYS_UC_ACCESS_H]: Also print errno when an
access fails.

(Logical change 1.218)
init-ia64.c
1218cf85e394b3966a28313e177cf3366c4a32aa 23-Apr-2004 (none)!davidm <(none)!davidm> (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)
script-ia64.c
a2cd0592cab7f153d44d13bc49452c260c82a612 23-Apr-2004 (none)!davidm <(none)!davidm> (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)
nwind_i.h
f99cce1d2addb27d41e7e4d9b59dddea29c1400c 22-Apr-2004 hp.com!davidm <hp.com!davidm> (ia64_install_cursor): Fix off-by-8 bug which caused r5 and r7 to not get
restored properly.

(Logical change 1.211)
install_cursor-ia64.S
72e5a3bc176fce0eb09e70ab6ffe1be7ba55a2de 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (ia64_validate_cache): Call ia64_local_validate_cache() only if
we're really dealing with the local address space. Duh.

(Logical change 1.209)
script-ia64.c
c2b94e1e465dd9e84c03bbbd0f30328baede1ebd 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (common_init): Whitespace fix.

(Logical change 1.209)
nit.h
c1f430663c1a24f734d223573417041a509ef882 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (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)
global-ia64.c
d512dc0daa448f4c287395e9de9a1c7861a63fd1 20-Apr-2004 hp.com!davidm <hp.com!davidm> 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)
tables-ia64.c
b8eefeac32e8e5f601bce0f8c6b7c95c31701331 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> (validate_cache): Mask signal-delivery during dl_iterate_phdr().
(tdep_find_proc_info): Likewise.

(Logical change 1.203)
tables-ia64.c
93d627ef87219726f221100036048e43586213f0 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> (desc_alias): New function.
(parse_dynamic): Handle UNW_DYN_ALIAS via desc_dynamic().

(Logical change 1.201)
parser-ia64.c
50160e1df1801321317073d9d4dc48e3e90f649f 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Remove perf-tuning code, make it fit in 80 columns.

(Logical change 1.195)
etcontext-ia64.S
2b07d73a5ab4bea092437b13ede415df9f812804 31-Mar-2004 hp.com!davidm <hp.com!davidm> Temporarily add various test-cases which help with performance-tuning.

(Logical change 1.193)
etcontext-ia64.S
74f73e711ef0b06980d03a9e90527403ab8e1dff 31-Mar-2004 hp.com!davidm <hp.com!davidm> (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)
context_i.h
5c811e86b07630534bc2e06a2ab91918fc853279 28-Mar-2004 mostang.com!davidm <mostang.com!davidm> Move flushsrs into a better position (after most of the prefetching
stores are done) to maximize overlap of memory misses.

(Logical change 1.191)
etcontext-ia64.S
a77f17b0b7ecf83d9cfa65705bae8e465e2c8982 27-Mar-2004 mostang.com!davidm <mostang.com!davidm> (GR): New macro.
(BR): Likewise.
(FR): Likewise.
(_Uia64_getcontext): Tweak for slightly better cold-cache performance.

(Logical change 1.190)
etcontext-ia64.S
cb9fde199b2cd18b482015c342f5dc5ef32f723b 27-Mar-2004 mostang.com!davidm <mostang.com!davidm> (_Uia64_get_kernel_table): Fix it so it actually makes some sense
again.

(Logical change 1.189)
tables-ia64.c
53a56cb759a4fcc042128d95724790103f458ece 27-Mar-2004 hp.com!davidm <hp.com!davidm> (_Uia64_get_kernel_table): Only call get_kernel_table() if we do not already
have the kernel table.

(Logical change 1.188)
tables-ia64.c
89b3ee87a9c001f94d01f5851d0b80d7e49081bb 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.186)
etcontext-ia64.S
412615853d8459e8223c6269b70470da2402fc07 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
etcontext-ia64.S
70b89e24f3891e289a7e74590c840657506962d9 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (uc_addr): Move to unwind_i.h.

(Logical change 1.186)
init-ia64.c
c8dfaca5a086ae1004ce24610e939c6dabeb18a1 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (par_dynamic): Fix typo in call to ia64_free_state_record().

(Logical change 1.186)
parser-ia64.c
76b4736bde2a0a3ecd369a0e4faa90537f1e8dd5 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (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)
nwind_i.h
bd286e3260d668e68b614e2268b4de19d1191a8c 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (ia64_install_cursor): Correct NEW_SYSCALL-stub.

(Logical change 1.186)
install_cursor-ia64.S
756aefe909c49e1ff70e7fcf42cddea3ff20eb82 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (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)
nit.h
fc7cd7c4bc94945fdc0614079368e99df53898bd 20-Mar-2004 hp.com!davidm <hp.com!davidm> Whitespace fix.

(Logical change 1.185)
regs-ia64.c
d8715c0e28138c4431fcb1d4d9b0126bca75a660 20-Mar-2004 hp.com!davidm <hp.com!davidm> (build_script): Fix typo which caused case to fail where primary UNaT
was saved in a register only.

(Logical change 1.185)
script-ia64.c
eed0c54d2826646897a3bfc74c3a091f06bef8b1 19-Mar-2004 mostang.com!davidm <mostang.com!davidm> (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)
script-ia64.c
f59f60f9ce6ec922fd61b540b82377df68781a16 19-Mar-2004 hp.com!davidm <hp.com!davidm> Tweak debug-levels a bit.

(Logical change 1.183)
egs.h
43db353753ffd14163128c23f43a5e588d52cb55 19-Mar-2004 hp.com!davidm <hp.com!davidm> (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)
regs-ia64.c
e2b1175c3c842357fde59585e421a26c2fd4e14d 19-Mar-2004 hp.com!davidm <hp.com!davidm> (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)
is_signal_frame-ia64.c
2cdea99143e60ddde08556b92c952a561dd32712 19-Mar-2004 hp.com!davidm <hp.com!davidm> (parse_dynamic): Free old state-record before creating new one.

(Logical change 1.182)
parser-ia64.c
7c7bcebcc0a020c428ae79efaa3dc035e013dd96 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (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)
get_save_loc-ia64.c
ebe6b21c932bfaa91bc9c8c3a8e708ac179272e1 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (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)
init-ia64.c
5de460718c037dfc92dfe78057e19e58e127ce26 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (remote_install_cursor): Pass NULL to third argument of
tdep_uc_addr().

(Logical change 1.181)
resume-ia64.c
41db5ace19de630f941d0b25d3554700501a3ffc 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (rbs_find): Delete---it's no longer needed.

(Logical change 1.181)
rbs-ia64.c
50488aece32a7315620b6a881f26b1e26346a633 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (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)
regs-ia64.c
9316bbb8f4a643b69062a790c8c360547a37eb62 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (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)
script-ia64.c
fcb151f6ec27b3b383dd528bf94795aea52ca2e6 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (common_init): Initialize NaT-bit locations via IA64_REG_NAT_LOC()
macros.

(Logical change 1.181)
nit.h
be1d46b41c5a9bec717938c79475378722b3f004 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (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)
nwind_i.h
a0f46f2a2b2e91b7c90447f79abc7c3ebc354489 27-Feb-2004 hp.com!davidm <hp.com!davidm> Fix typo in comment.
(IA64_LOC_UC_REG): Remove from the UNW_LOCAL_ONLY case.

(Logical change 1.180)
nwind_i.h
d83276cb804d8af3985c40c92e19405f25081d05 27-Feb-2004 hp.com!davidm <hp.com!davidm> (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)
script-ia64.c
c4d1b80bfe4370dad618b4ad5712edc5ec57aa94 27-Feb-2004 hp.com!davidm <hp.com!davidm> (access_nat): Fix that NaT-location calculation for the case where the NaT
is on the memory stack.

(Logical change 1.178)
regs-ia64.c
6702d1059c7dded2c933410619c8d2a32341c2aa 27-Feb-2004 hp.com!davidm <hp.com!davidm> (tdep_init): Fix typo in nat_val_bytes[] (too much cut & paste).
Likewise for int_val_bytes[].

(Logical change 1.177)
global-ia64.c
3e5b6ecf0d0fedf8c18cdc1d0e5aa94c21e6df94 20-Feb-2004 hp.com!davidm <hp.com!davidm> (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)
script-ia64.c
8b96f6ef110e7c0c370c869180e2398a06e549fb 19-Feb-2004 hp.com!davidm <hp.com!davidm> (rbs_find): New function.

(Logical change 1.173)
rbs-ia64.c
57b8d6d7ebbb0920f19c972f979465803ba6a2c5 19-Feb-2004 hp.com!davidm <hp.com!davidm> (rbs_find): Declare.

(Logical change 1.173)
nwind_i.h
4a0d7bd478f375abfac583582531a90f30b51fb6 19-Feb-2004 hp.com!davidm <hp.com!davidm> (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)
regs-ia64.c
90a9f62a8ccd4dd70fbd1b4b0b38d2cb49d0eeae 19-Feb-2004 hp.com!davidm <hp.com!davidm> (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)
script-ia64.c
5216609e29ffbfca1e2a9b197a9782c963d9e466 19-Feb-2004 hp.com!davidm <hp.com!davidm> (access_mem): Lower the debug level to 12, to be in sync with access_reg().

(Logical change 1.170)
init-ia64.c
d3a82ba5e873b7d6ac2b4b78960c48cebe4b6c69 15-Feb-2004 mostang.com!davidm <mostang.com!davidm> (emit_nat_info): i is a preserved register number.
Correct accordingly.

(Logical change 1.169)
script-ia64.c
7b23d69a2678e0a7fc459310e2bf2dfdf62da9ad 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> (emit_nat_info): Fix a typo: the destination must be a NaT-register!

(Logical change 1.167)
script-ia64.c
9468bda47abe1070cfd41dc9ef6af90e695ba156 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> (unw_step): Add Debug() statement.

(Logical change 1.166)
step-ia64.c
f753bb45be142b2d7d853946489fe031e242111a 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> (unw_init_remote): Add Debug() statement.

(Logical change 1.166)
init_remote-ia64.c
eacf1f126258e56dc3c1171a3cea6ef87e04cf43 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> (unw_init_local): Add Debug() statement.

(Logical change 1.166)
init_local-ia64.c
518e5bde6c86e3615dcc3e91cf5fe1a327e9c685 14-Feb-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.164)
install_cursor-ia64.S
703aa0d1967e0c37c1110a8e6eadcdb137397bce 14-Feb-2004 hp.com!davidm <hp.com!davidm> (common_init): Fix Debug() call.

(Logical change 1.163)
nit.h
410f962b8d5ab752a90ab8b342bad42fdea92c0f 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

}(Logical change 1.162)
destroy_addr_space-ia64.c
get_accessors-ia64.c
set_caching_policy-ia64.c
fd8811c5a7c9cd5878b437ae30d6604f41a821fd 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/ia64/flush_cache-ia64.c -> src/mi/flush_cache.c

}(Logical change 1.162)
lush_cache-ia64.c
ce05f993bd9d6a2190a4085c30d0aba8b20a31bb 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/ia64/Linstall_cursor.S -> src/ia64/Linstall_cursor-ia64.S

}(Logical change 1.162)
install_cursor.S
6f65be26d32772e3319ccf5f1f6be7cbca725ee3 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/ia64/Linstall_cursor.S -> src/ia64/Linstall_cursor-ia64.S

(Logical change 1.162)
install_cursor-ia64.S
8c21d3724d066f3b897104cc766730798ac70121 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/ia64/Ginstall_cursor.S -> src/ia64/Ginstall_cursor-ia64.S

}(Logical change 1.162)
install_cursor.S
a961f355436e81aa8a45877537e38edea49036b7 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/ia64/Ginstall_cursor.S -> src/ia64/Ginstall_cursor-ia64.S

(Logical change 1.162)
install_cursor-ia64.S
449bfb3a041f35685eb8aefa95b14390395fbb4c 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: BitKeeper/deleted/.del-Gget_proc_name-ia64.c~25362f8c3f6aff8 -> src/ia64/Gget_proc_name-ia64.c

(Logical change 1.162)
get_proc_name-ia64.c
684f85c8f105d041806dbbae4f061e2471acaaa9 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename ia64_init() to tdep_init().

(Logical change 1.162)
init_local-ia64.c
init_remote-ia64.c
b88369b8314dc8e8fe617184b07527fb34b66f22 30-Jan-2004 hp.com!davidm <hp.com!davidm> Initial revision
install_cursor-ia64.S
install_cursor-ia64.S
34c683c33e30a333c25fb7e568b26212f38dad3f 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Lset_reg-ia64.c

}(Logical change 1.162)
set_reg-ia64.c
eab1b8b158fe4940e010df342b71663f5c9e36a6 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Lset_fpreg-ia64.c

}(Logical change 1.162)
set_fpreg-ia64.c
576e75bcd272c6c81cd57839130ea156f1da30ab 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Lset_caching_policy-ia64.c

}(Logical change 1.162)
set_caching_policy-ia64.c
dca58d18df2109bece364f190c7cc5a5a5412643 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Lget_reg-ia64.c

}(Logical change 1.162)
get_reg-ia64.c
09fecd9ddb045e135fac69a5d3f12ea542622ef6 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Lget_proc_name-ia64.c

}(Logical change 1.162)
get_proc_name-ia64.c
b8668574ca9e4c932520b8787d5a9ded31ee639d 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Lget_fpreg-ia64.c

}(Logical change 1.162)
get_fpreg-ia64.c
5ac1278b51f6135d496aa44f1ffe188aebfcd344 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Lget_accessors-ia64.c

}(Logical change 1.162)
get_accessors-ia64.c
8bb86bfebe9a2abac10b83d0b4af473261545022 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Ldestroy_addr_space-ia64.c

}(Logical change 1.162)
destroy_addr_space-ia64.c
32d7718e5086c2f3b1a47bb4ab198ee37c89e4e1 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Gset_reg-ia64.c

}(Logical change 1.162)
set_reg-ia64.c
fbab46f5e796a08fd861f43fa251f546b2773a63 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Gset_fpreg-ia64.c

}(Logical change 1.162)
set_fpreg-ia64.c
c082aa56ae3725b045b666dd24e06a8f2a870071 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Gget_reg-ia64.c

}(Logical change 1.162)
get_reg-ia64.c
c4fd84f61006f88a3fe3062d9c9af2e6f0ce8620 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Gget_fpreg-ia64.c

}(Logical change 1.162)
get_fpreg-ia64.c
c67d345c33f1d0b6e4adce3e03f8a1f332722669 30-Jan-2004 hp.com!davidm <hp.com!davidm> Convert from debug() to Debug().

(Logical change 1.162)
init-ia64.c
parser-ia64.c
rbs-ia64.c
regs-ia64.c
resume-ia64.c
script-ia64.c
step-ia64.c
tables-ia64.c
nit.h
egs.h
nwind_i.h
f8b49d42221d2250689d79339afc6c8e7bc95658 30-Jan-2004 hp.com!davidm <hp.com!davidm> (tdep_init): Rename from ia64_init().

(Logical change 1.162)
global-ia64.c
c2e7130493890e2c2c101af74ba164330784bd2a 24-Jan-2004 hp.com!davidm <hp.com!davidm> (check_callback): Fix typo:
shared_object_subs -> shared_object_removals.

(Logical change 1.161)
tables-ia64.c
9600c00e3e2cac84119cba41cbbdb361dfd1bf03 24-Jan-2004 mostang.com!davidm <mostang.com!davidm> (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)
tables-ia64.c
cc8cde11bc7075cab09c69ea021aa7efa98c5c27 22-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/ia64/debug_level-ia64.c -> src/debug_level.c

}(Logical change 1.158)
ebug_level-ia64.c
f275ca3c98179dc02ad1647324b8df7c0f73a07f 22-Jan-2004 hp.com!davidm <hp.com!davidm> (create_state_record_for): Replace tdep_debug_level with
unwi_debug_level.

(Logical change 1.158)
parser-ia64.c
a432debbe2be69f91e004186379dc83a5b2b9664 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.155)
ebug_level-ia64.c
46a75eaddf88c24ba185c8f38058dfb50bdda390 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
ebug_level-ia64.c
81beef6941ac9d1bf0c94a5bc4ff209516ebcb6c 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> 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)
egname-ia64.c
6535a330cfc125a077f3a43216f317b6d929aabc 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> 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)
lush_cache-ia64.c
54ef1c87125636954de0bb7458cfc0508b281ceb 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (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)
tables-ia64.c
74dfbb0769eed2dc8a086ffbf96cda1265bb37bc 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (tdep_debug_level): Define.

(Logical change 1.154)
global-ia64.c
4c61d17686b7d550363c7b264732553d4a543418 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (ia64_validate_cache): Declare.
(ia64_local_validate_cache): Likewise.

(Logical change 1.154)
nwind_i.h
1fd74a4332c5e38bbddd8a2253dd329d5300c092 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (ia64_uc_access_reg): Define only if not UNW_LOCAL_ONLY is defined.
(ia64_uc_access_fpreg): Likewise.

(Logical change 1.154)
init-ia64.c
fa1e694c0a73c1674289239d951b7dd74849d289 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (create_state_record_for): Check tdep_debug_level instead of
unw.debug_level.

(Logical change 1.154)
parser-ia64.c
9099235bd7fc032a97480fd34bb4d86070cfab19 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (common_init): Pass c->as_arg as second argument to
ia64_validate_cache().

(Logical change 1.154)
nit.h
0371bad3ebf500cce53db91fee34d4da8a5e2982 20-Jan-2004 hp.com!davidm <hp.com!davidm> (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)
tables-ia64.c
641b12427d960ba05069560fc44a41e30ad865b5 20-Jan-2004 hp.com!davidm <hp.com!davidm> (ia64_validate_cache): New function.

(Logical change 1.153)
script-ia64.c
172b01d775275525d3f44b5c8642f8729a0cfbb7 20-Jan-2004 hp.com!davidm <hp.com!davidm> (common_init): If caching is enabled, validate the cache first.

(Logical change 1.153)
nit.h
e703b3d27858c12bc4e101732eb7b8d8553cc3e5 03-Jan-2004 hp.com!davidm <hp.com!davidm> Use print_error() instead of fprintf() to stderr.

(Logical change 1.151)
parser-ia64.c
23f31e44a7ff79b07a89b07aa3f9abae6c9b4557 03-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/ia64/global-asm-ia64.S -> src/ia64/dyn_info_list-ia64.S

}(Logical change 1.151)
lobal-asm-ia64.S
8d331ad2ae447ed2920a0ec478ed5d02492323ee 03-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/ia64/global-asm-ia64.S -> src/ia64/dyn_info_list-ia64.S

(Logical change 1.151)
yn_info_list-ia64.S
d28aba1c5695e91835bff1f26b138639d7bfc0e0 03-Jan-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.151)
get_accessors-ia64.c
e0585b4a714186d95a21ca46c94602cd216d1d1d 03-Jan-2004 hp.com!davidm <hp.com!davidm> Initial revision
get_accessors-ia64.c
global-ia64.c
set_caching_policy-ia64.c
tables-ia64.c
global-ia64.c
set_caching_policy-ia64.c
tables-ia64.c
yn_info_list-ia64.S
fe8b77aeaf79c3031e4059307d073a611795560a 03-Jan-2004 hp.com!davidm <hp.com!davidm> Declare libunwind-entry-points as PROTECTED to ensure local uses get
resolved within the library itself.

}(Logical change 1.151)
et_accessors-ia64.c
et_caching_policy-ia64.c
be467abeac9c2b1fba3cd18303a2336e26da8104 03-Jan-2004 hp.com!davidm <hp.com!davidm> 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)
set_caching_policy-ia64.c
8578c3133ace5a4cc6cca7119e6ed96eeee37f78 03-Jan-2004 hp.com!davidm <hp.com!davidm> 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)
get_accessors-ia64.c
bf82624a21b87441ff4a9b1a5c1bf4a0aaeaee21 03-Jan-2004 hp.com!davidm <hp.com!davidm> 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)
ables-ia64.c
e9815e6cced23c5c07d2d8a39bdce6891c9f819f 03-Jan-2004 hp.com!davidm <hp.com!davidm> 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)
tables-ia64.c
c4f5974dd1774714282ea49a333c967c2d2a2e19 03-Jan-2004 hp.com!davidm <hp.com!davidm> Declare libunwind-entry-points as PROTECTED to ensure local uses get
resolved within the library itself.

(Logical change 1.151)
create_addr_space-ia64.c
destroy_addr_space-ia64.c
get_fpreg-ia64.c
get_proc_info-ia64.c
get_proc_name-ia64.c
get_reg-ia64.c
get_save_loc-ia64.c
init-ia64.c
init_local-ia64.c
init_remote-ia64.c
is_signal_frame-ia64.c
resume-ia64.c
set_fpreg-ia64.c
set_reg-ia64.c
step-ia64.c
lush_cache-ia64.c
egname-ia64.c
a83c8a73971a3a9f757bb03257a334eaed602691 03-Jan-2004 hp.com!davidm <hp.com!davidm> (ia64_init): Declare as a regular object, not an arch-object.

(Logical change 1.151)
nwind_i.h
d6e1c59b8122b501f63e5b2a853ad9970e56e034 03-Jan-2004 hp.com!davidm <hp.com!davidm> (_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)
lobal-ia64.c
31a7a2c546942e3c1c0d4310d15ccb7339a69be3 03-Jan-2004 hp.com!davidm <hp.com!davidm> (_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)
global-ia64.c
b1036f45c99f0882f39c69db3cbe9f67b8efe9b2 03-Jan-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.151)
global-ia64.c
set_caching_policy-ia64.c
tables-ia64.c
23a0696c6de299a7364a4e7b96cf2ac507b41cb8 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (ia64_install_cursor): Mark as NORETURN rather than using
directly using __attribute__ directive.

(Logical change 1.149)
nwind_i.h
c008232baedcd5473aa23162acdd977f5407fc06 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (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)
nwind_decoder.h
aa800d423d128748d1ba6eae70fbbf253edc766e 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (unw): Mark it as HIDDEN.

(Logical change 1.148)
lobal-ia64.c
3596fa99b6107ea3c7c5a77b9717e10159d9b2f2 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (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)
egname-ia64.c
5e48061ba626625f4e4888e58eeee19d39fa8b17 20-Dec-2003 hp.com!davidm <hp.com!davidm> Update copyright header.

(Logical change 1.140)
ables-ia64.c
9b52308ae2879ca69dd46987319b6dcbb7ae4372 20-Dec-2003 hp.com!davidm <hp.com!davidm> Minor whitespace fixes.

(Logical change 1.140)
parser-ia64.c
lush_cache-ia64.c
47c25b753cd84c73019f8f53cd5bed262c1870b9 05-Dec-2003 mostang.com!davidm <mostang.com!davidm> (run_script): Drop left-over __builtin_expect() call.

(Logical change 1.138)
script-ia64.c
63a8bec6f602a52d1780d324b1b5abb9f61ef5a4 04-Dec-2003 hp.com!davidm <hp.com!davidm> Don't include "config.h" here. Include it via "unwind_i.h" instead.

(Logical change 1.134)
ables-ia64.c
6498cdf4d9877f4c78f8b4429e2abf70d17a550d 04-Dec-2003 hp.com!davidm <hp.com!davidm> Don't include "config.h" here.

(Logical change 1.134)
se.h
nwind_i.h
35300d06169b4b18908867ef16d4807dc0e59121 27-Nov-2003 hp.com!davidm <hp.com!davidm> Replace #ifdef UNW_DEBUG with #if UNW_DEBUG.

(Logical change 1.130)
destroy_addr_space-ia64.c
init-ia64.c
rbs-ia64.c
1150a638d6322d94bd67f34020cfeeb73b082c21 27-Nov-2003 hp.com!davidm <hp.com!davidm> Delete extraneous .previous directive (reported by
Laurent Morichetti).

(Logical change 1.130)
lobal-asm-ia64.S
6c2e6e7f72c2e31360c5728044338d3d6b3f9454 27-Nov-2003 hp.com!davidm <hp.com!davidm> (update_frame_state): Delete unnecessary "pr" variable.

(Logical change 1.130)
step-ia64.c
cbe3ca13f532ed4d7b14150c2c938c1b0d28cead 27-Nov-2003 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): Delete extra "break".

(Logical change 1.130)
get_save_loc-ia64.c
612917dce0dffabafe34dad9ebf93e8903ce45a4 27-Nov-2003 hp.com!davidm <hp.com!davidm> (tab): Declare as "static".

(Logical change 1.130)
k_Gcursor_i-ia64.c
a024a719e1b4d1fde2b28afa886853e4ce573949 27-Nov-2003 hp.com!davidm <hp.com!davidm> (rbs_get_rnat_loc): Declare "inline".
(rbs_loc): Ditto.

(Logical change 1.130)
nwind_i.h
c7d965a9dc85131d1270b6d47edbdaab0aef352e 27-Nov-2003 hp.com!davidm <hp.com!davidm> (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)
script-ia64.c
3e1200c200479e8011ec6c6b15be0efeef556b3f 27-Nov-2003 hp.com!davidm <hp.com!davidm> (linux_scratch_loc): Delete unnecessary variable "ret".

(Logical change 1.130)
regs-ia64.c
cd2d75786a16e9c4688fcc4f6d9a6537ee77a015 27-Nov-2003 hp.com!davidm <hp.com!davidm> (current_gp): Don't use inline-asm for Intel compiler.

(Logical change 1.130)
ables-ia64.c
7cec620ea8db9d4b7b59b0d58f4405caa7e4ef2b 25-Nov-2003 hp.com!davidm <hp.com!davidm> (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)
ables-ia64.c
0976af5f9f97a3e82510096899a75d92f340ea0c 25-Nov-2003 hp.com!davidm <hp.com!davidm> (create_state_record_for): Handle UNW_INFO_FORMAT_REMOTE_TABLE.

(Logical change 1.126)
parser-ia64.c
e433ec3820bc6dfc2f7e04f249fcb9d55c5d33db 25-Nov-2003 hp.com!davidm <hp.com!davidm> (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)
create_addr_space-ia64.c
6ed5d0264f6c449ef195d163f745df41001f0f69 25-Nov-2003 hp.com!davidm <hp.com!davidm> (ia64_script_cache_init): Delete.

(Logical change 1.124)
nwind_i.h
629d7d326326dd2ac134ac64fe547577a6b381df 25-Nov-2003 hp.com!davidm <hp.com!davidm> (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)
script-ia64.c
e939f429417057acaa3adb80146ede63fed7a61f 25-Nov-2003 hp.com!davidm <hp.com!davidm> (ia64_local_addr_space_init): Instead of calling ia64_script_cache_init(),
force a flush via unw_flush_cache().

(Logical change 1.124)
init-ia64.c
a0b454581a7eb6ab32709e6ee846f7932c52324a 24-Nov-2003 hp.com!davidm <hp.com!davidm> Drop include of <ia64intrin.h>.
(unw_flush_cache): Replace __sync_fetch_and_add() with fetch_and_add1().

(Logical change 1.123)
lush_cache-ia64.c
ffb9c88e0a97fe30d4a2cb32c18fb621142f3696 24-Nov-2003 hp.com!davidm <hp.com!davidm> (ia64_find_save_locs): Separate out the no-cache case so we don't
acquire the script-cache lock needlessly.

(Logical change 1.122)
script-ia64.c
22ca26310985749ed80dd5085b6c60302643910f 24-Nov-2003 hp.com!davidm <hp.com!davidm> (ia64_init): To prevent a race, unw.needs_initialization must be cleared
_after_ everything is initialized.

(Logical change 1.121)
lobal-ia64.c
40e929815cf487a89d781f4e3cff1b8b6ac41f25 22-Nov-2003 hp.com!davidm <hp.com!davidm> (unw.pre_name): Add missing register names.

(Logical change 1.119)
lobal-ia64.c
8b3248c32e852d3b963333039fe8357fa814394d 22-Nov-2003 hp.com!davidm <hp.com!davidm> (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)
et_caching_policy-ia64.c
2245be9d9b70d0ef29194bb5a57d816689c7096e 22-Nov-2003 hp.com!davidm <hp.com!davidm> (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)
script-ia64.c
8d7426fe0acdb9cc33a875b063d7839adb9bc054 22-Nov-2003 hp.com!davidm <hp.com!davidm> (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)
regs-ia64.c
c3328ce1502f77c1151e36063d0e58c42462b489 20-Nov-2003 hp.com!davidm <hp.com!davidm> Delete: src/ia64/TODO

}(Logical change 1.113)
ODO
6b2855500ae635b86b1a15ad389de3e717605d72 19-Nov-2003 mostang.com!davidm <mostang.com!davidm> (ia64_init): Move initialization of unwi_full_sigmask to here, from mi_init().

(Logical change 1.112)
lobal-ia64.c
add6b939a04efad09c88d5f57242abf0cbfb486d 19-Nov-2003 hp.com!davidm <hp.com!davidm> (unw_set_caching_policy): Let ia64_init() clear unw.needs_initialization.

(Logical change 1.111)
et_caching_policy-ia64.c
f5f706c35ed04e1174821cb980de53aa23f4cd4f 19-Nov-2003 hp.com!davidm <hp.com!davidm> (unw_init_remote): Let ia64_init() clear unw.needs_initialization.

(Logical change 1.111)
init_remote-ia64.c
3551d42d45debf0da6065a412a905d8c41c2ef7e 19-Nov-2003 hp.com!davidm <hp.com!davidm> (unw_init_local): Let ia64_init() clear unw.needs_initialization.

(Logical change 1.111)
init_local-ia64.c
9b47e7723f7f2fd9911011c94d5915b5a5a56dec 19-Nov-2003 hp.com!davidm <hp.com!davidm> (unw_get_accessors): Let ia64_init() clear unw.needs_initialization.

(Logical change 1.111)
et_accessors-ia64.c
8e71bb0ab23540f70725e69be644b64e8ba41134 19-Nov-2003 hp.com!davidm <hp.com!davidm> (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)
lobal-ia64.c
e70d39ae8e5f915b75971ac4d2fb377152fceb1f 15-Nov-2003 hp.com!davidm <hp.com!davidm> (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)
parser-ia64.c
656e9d6e7d11436008669ccd5935561bd1884bdf 15-Nov-2003 hp.com!davidm <hp.com!davidm> (_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)
ables-ia64.c
233952e8552544f822ba68342010a5f40fea29e7 11-Oct-2003 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): Handle floating-point registers as well.

(Logical change 1.107)
get_save_loc-ia64.c
bcbdc591bebaf842fb0d743d5bb032e054b9de04 11-Oct-2003 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): Fix double negation.

(Logical change 1.105)
get_save_loc-ia64.c
350ae98340798deca19238bcde3a480b1c275d28 25-Sep-2003 hp.com!davidm <hp.com!davidm> (local_resume): Clear IA64_SC_FLAG_IN_SYSCALL before resuming via
sigreturn(). This is needed to ensure that all scratch-regs
get restored. Also add some more debug statements.

(Logical change 1.103)
resume-ia64.c
d0fddf5de842ffca34a5efb5479bb9c8a8d900a0 24-Sep-2003 hp.com!davidm <hp.com!davidm> (ia64_find_save_locs): Only call ia64_fetch_proc_info() when we really
have to (i.e., if we don't have cached info). Otherwise,
the unnecessary calls cause a performance regression.

(Logical change 1.102)
script-ia64.c
b3c1bf3f756f6576af44998d2f31dcbe8e9db466 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> (flush_script_cache): Drop addr_space_t argument. Initialize
hash-table, collision-chains, and hash-table in addition
to clearing the script's IP value. The latter wasn't nearly
sufficient because it could cause loops on the collision
chain...
(get_script_cache): Also lock the cache if global caching is in
effect. Take additional "saved_sigmaskp" argument.
After flushing the cache, update the cache generation
here.
(put_script_cache): New function.
(ia64_get_cached_proc_info): Adjust for get_script_cache() and
put_script_cache() changes.
(ia64_find_save_locs): Ditto.
(ia64_script_cache_init): Call flush_script_cache() instead of
opening-coding the equivalent code.

(Logical change 1.96)
script-ia64.c
510a7c82f7e9d7a443bfe9f347ea434a9a2c7b15 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (unw_is_signal_frame): Call ia64_fetch_proc_info() before creating
the state-record.

(Logical change 1.95)
is_signal_frame-ia64.c
cbf1d7d56be56c0dee139a8b9f05ac866404c9e4 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (parse_dynamic): Call ia64_fetch_proc_info() before creating the
state-record.
(ia64_fetch_proc_info): Rename from get_proc_info().
(create_state_record_for): Assert that c->pi_valid is TRUE at the
time of entry. Remove call to get_proc_info().

(Logical change 1.95)
parser-ia64.c
46f5783f5daa1f95d70cba241154221b49d4cb35 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (ia64_find_save_locs): Call ia64_fetch_proc_info() early on and
bug out if it fails (before creating a new script).

(Logical change 1.95)
script-ia64.c
d6946f580b6c7609c181bc6d9200481d04f7b043 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (ia64_fetch_proc_info): New procedure.

(Logical change 1.95)
nwind_i.h
117b21a1cfee92ff00670697e0f8223c907fa0bf 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (unw_create_addr_space): Initialize global script-cache here (while
there are no other threads using the cache).

(Logical change 1.94)
create_addr_space-ia64.c
4d40a1cfc837cff6b7bb98f1fb6387c32f02dc29 20-Aug-2003 mostang.com!davidm <mostang.com!davidm> (rotate_gr): Fix off-by-1 bug and simplify the function.

(Logical change 1.93)
egs.h
0b65016a379a09da446437f3c1efcf95854fa189 20-Aug-2003 mostang.com!davidm <mostang.com!davidm> (ia64_find_save_locs): Fix typo: check for -UNW_ESTOPUNWIND.

(Logical change 1.93)
script-ia64.c
a157d632f75dc621f4dbbd2bce2aaf5fd176e534 09-Jul-2003 hp.com!davidm <hp.com!davidm> (desc_is_active): Need to cast 1 to (unw_word_t) before shifting it by
a value that is potentially > 31. Casting it to (unsigned long)
is not enough on 32-bit platforms.
(create_state_record_for): Cast 0xf to (unw_word_t) instead of
(unsigned long) to avoid losing bits on 32-bit platforms.

(Logical change 1.92)
parser-ia64.c
09aa4183f6f541d72c26cc804dd68f454ab6e418 09-Jul-2003 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): Also check for ABI_MARKER_OLD_LINUX_SIGTRAMP.
Check against UNW_IA64_AR_SSD instead of UNW_IA64_AR_26.

(Logical change 1.91)
get_save_loc-ia64.c
666c61846ccd4338addf6499311e3425c13f7e81 09-Jul-2003 hp.com!davidm <hp.com!davidm> (rbs_cover_and_flush): Cast unw_word_t values to (unsigned long) before
printing them.

(Logical change 1.91)
rbs-ia64.c
f3b8566331ca58ae6c0c8305352e4eb85b535bb6 09-Jul-2003 hp.com!davidm <hp.com!davidm> (linux_interrupt): Add "marker" argument. Support both old and new
Linux kernel "struct pt_regs" layout.
(update_frame_state): Handle ABI_MARKER_OLD_LINUX_SIGTRAMP and
ABI_MARKRE_OLD_LINUX_INTERRUPT. Cast values of type unw_word_t
to (unsigned long) before printing them.

(Logical change 1.91)
step-ia64.c
3053ee9de191e3c2a8b589fbad113cf448ac412c 09-Jul-2003 hp.com!davidm <hp.com!davidm> (ia64_scratch_loc): Split up into linux_scratch_loc() and hpux_scratch_loc().
(linux_scratch_loc): Add support for new pt_regs layout.
(access_nat): Check last_abi_marker instead of sigcontext_addr and
address-space ABI.

(Logical change 1.91)
regs-ia64.c
6536dbab47d3baef10f439ce8403b87f79958c66 09-Jul-2003 hp.com!davidm <hp.com!davidm> (LINUX_SC_AR_SSD_OFF): Rename from LINUX_SC_AR_26_OFF.
(LINUX_OLD_PT_*): Rename from LINUX_PT_*.
(LINUX_PT_*): Add definitions for new pt_regs layout.

(Logical change 1.91)
ffsets.h
0d37a4a620df7713e97cbdfba3ce43756631e474 03-Jun-2003 mostang.com!davidm <mostang.com!davidm> (ia64_init): Initialize reg_state_pool instead of state_record_pool.

(Logical change 1.90)
lobal-ia64.c
a9236a84ea4c9bdb1d4b8a4c2e2e3d3cf49e7f45 03-Jun-2003 mostang.com!davidm <mostang.com!davidm> (alloc_reg_state): Use reg_state_pool instead of state_record_pool.
(free_reg_state): Ditto.

(Logical change 1.90)
parser-ia64.c
0cc1fcb76ae2e93ca3e5cb5449b882bdea6f2c8c 25-Apr-2003 hp.com!davidm <hp.com!davidm> Add definitions for Linux interrupt frame layout (struct pt_regs).

(Logical change 1.89)
ffsets.h
1045cb2cc084ebf727bcdca8c298db3a4d4ca597 25-Apr-2003 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): Check c->last_abi_marker == ABI_MARKER_LINUX_SIGTRAMP instead
of for a non-NULL sigcontext_addr.

(Logical change 1.89)
get_save_loc-ia64.c
dc34eda2fcfd8d9d97702d4f66f7f16cfc1d4bdb 25-Apr-2003 hp.com!davidm <hp.com!davidm> (remote_install_cursor): Do Linux-shortcut only if UNW_REMOTE_ONLY is not defined.

(Logical change 1.89)
resume-ia64.c
e0160b16b7c3d2d8215fcb99c293a2e56e741c05 25-Apr-2003 hp.com!davidm <hp.com!davidm> (linux_interrupt): New function.
(update_frame_state): Handle ABI_MARKER_LINUX_INTERRUPT by calling linux_interrupt().
If c->abi_marker is non-zero, copy it to c->last_abi_marker.

(Logical change 1.89)
step-ia64.c
43786a3f2d5050213e8563aceb11b28fc3d1440f 25-Apr-2003 hp.com!davidm <hp.com!davidm> (ia64_uc_access_reg): Move outside of !UNW_REMOTE_ONLY bracket.
(ia64_uc_access_fpreg): Ditto.

(Logical change 1.89)
init-ia64.c
d92ddf8128c69bb463bdc5d6952b9b2af8570ffb 25-Apr-2003 hp.com!davidm <hp.com!davidm> (common_init): Clear c->last_abi_marker.

(Logical change 1.89)
nit.h
cb926c8da8d8a366556d91d786122695f7e61813 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Gmk_cursor_i-ia64.c -> src/ia64/mk_Gcursor_i-ia64.c

}(Logical change 1.87)
mk_cursor_i-ia64.c
cdff3028d3936276ccf4879fa882045dafe31e1b 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Gmk_cursor_i-ia64.c -> src/ia64/mk_Gcursor_i-ia64.c

(Logical change 1.87)
k_Gcursor_i-ia64.c
424ffd0db821a433467fd33de8df235a4c245442 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
k_Gcursor_i-ia64.c
k_Lcursor_i-ia64.c
fe2dfccdf9542e1d632e329db1f2e14192c743d5 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Include <alloca.h>.
(access_reg) [HAVE_SYS_UC_ACCESS_H]: Sanitize and simplify this routine. Turns out
uc_access(3) works pretty much the way we need it, the only problem is that
the unwind info for getcontext() seems to be missing as of HP-UX 11.22.
(ia64_uc_access_reg): New function.
(ia64_uc_access_fpreg): Ditto.
(ia64_local_addr_space_init): Initialize "abi" member of local address space based
on the platform we're compiling on.

(Logical change 1.87)
init-ia64.c
c8d1774e07495e7e24aee9803fb0b6375b9a52c6 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Always include "mk_Gcursor_i-ia64.c" even if we don't really need it. We can't
have an empty file here, as otherwise we won't get a valid program.

}(Logical change 1.87)
mk_cursor_i-ia64.c
2b8dd64bd9ebb0f47d929c6f8866afca05cf5615 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Always include "mk_Gcursor_i-ia64.c" even if we don't really need it. We can't
have an empty file here, as otherwise we won't get a valid program.

2003/04/24 12:58:16-07:00 mostang.com!davidm
Rename: src/ia64/Lmk_cursor_i-ia64.c -> src/ia64/mk_Lcursor_i-ia64.c

(Logical change 1.87)
k_Lcursor_i-ia64.c
0561cd32b3794a1fc73eb56bc5b3979fa53a742e 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (unw_init_local): On HP-UX, step over the initial (getcontext()) frame.

(Logical change 1.87)
init_local-ia64.c
344768e1d667f7a4a3a6028bee701a9a180464b1 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (unw_get_save_loc): Handle "saved-in-sigcontext" case only for Linux.

(Logical change 1.87)
get_save_loc-ia64.c
2404a17c822160a40b6cb0851f76e0e258ea409c 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (lookup_preg): Remove useless "unwind." prefix in debug output.
(parse_dynamic): Ditto.

(Logical change 1.87)
parser-ia64.c
3d3510c0478241b3b9db52ca6bea3a58b7ece6b7 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (local_resume): Support HP-UX via setcontext() (doesn't actually work yet).
(remote_install_cursor): Enable the short-cut for Linux only. Since HP-UX uses
an opaque data-structure for ucontext_t, we can't play the same trick
there. Fix two typos: "> 0" -> ">= 0".
(unw_resume): Handle non-UNW_LOCAL_ONLY case simp;u bu calling
remote_install_cursor().

(Logical change 1.87)
resume-ia64.c
4bc8b02277f398426cbc314281b3921df85a6f39 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (linux_sigtramp): New function.
(hpux_sigtramp): Ditto.
(update_frame_state): Use abi_marker to decide how to handle a special frame.

(Logical change 1.87)
step-ia64.c
bd28baa280b77d84869f89445cf08474f812517e 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (ia64_scratch_loc): Use c->as->abi to select appropriate behavior. Implement
support for HP-UX.
(access_nat): Check for uc-location and pass it on to ia64_put()/ia64_get() if
it is. Handle NaT-bit-saved-in-scratch-register only for Linux.
(ia64_access_reg): Change dprintf() into debug() statement.
(ia64_access_fpreg): Move fph-partition initialization code to ia64_scratch_loc().
Change dprintf() into debug() statement.

(Logical change 1.87)
regs-ia64.c
a88af79c9547da3fd80ded7e1fad0ec65a7bfdef 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (_ULia64_local_addr_space): Move to global scope so GCC doesn't whine if we
end up not using it.
(UNWIND_TBL_32BIT): New macro.
(struct unwind_header): Rename "unknown1" member to "header_version".
(tdep_find_proc_info) [HAVE_DLMODINFO]: Don't forget to initialize di.gp.
Check unwind-header version and format.

(Logical change 1.87)
ables-ia64.c
8fee91bd1365ad85e524144645ca2a59a45e91d4 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (MIN): If it's defined already, #undef it first.
(IA64_LOC_UC_REG): New macro.
(IA64_GET_AUX_ADDR): New macro.
(ia64_uc_access_reg): New function.
(ia64_uc_access_fpreg): Ditto.
(ia64_getfp): Forward uc-locations to ia64_uc_access_fpreg().
(ia64_putfp): Ditto.
(ia64_get): Ditto.
(ia64_put): Ditto.
(rbs_on_uc): New function.

(Logical change 1.87)
nwind_i.h
747b961d317e24a74a0f85f7b9b0d5753526d878 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
install_cursor.S
mk_cursor_i-ia64.c
install_cursor.S
mk_cursor_i-ia64.c
1fe8bc11d4a067f0977de960a46c8d0b167caf3c 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> If UNW_LOCAL_ONLY is defined, include Lcursor_i.h instead of Gcursor_i.h.
Update code to work both for UNW_LOCAL_ONLY-version of the cursor and the
generic version of the cursor.
(ia64_install_cursor): New macro.

}(Logical change 1.85)
Uia64_install_cursor.S
630b01488a3c39e30ab1ce0f70417f34b3fcad6e 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> If UNW_LOCAL_ONLY is defined, include Lcursor_i.h instead of Gcursor_i.h.
Update code to work both for UNW_LOCAL_ONLY-version of the cursor and the
generic version of the cursor.
(ia64_install_cursor): New macro.

2003/04/23 11:25:31-07:00 mostang.com!davidm
Rename: src/ia64/_Uia64_install_cursor.S -> src/ia64/Ginstall_cursor.S

(Logical change 1.85)
install_cursor.S
6c584b7b68478702f2ad41128c0221a99bbf7ab2 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (local_resume): Call ia64_install_cursor() instead of _Uia64_install_cursor().
(ia64_local_resume): Call local_resume().
(remote_install_cursor): Reenable old code. Update MEMIFY for loc array changes.

(Logical change 1.85)
resume-ia64.c
8da298f14f816544da4e06f3167d3f74976f0e41 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (ia64_install_cursor): Rename from _Uia64_install_cursor() and make it an UNW_OBJ().


(Logical change 1.85)
nwind_i.h
5b3b6f0565e2cb84c0f2235918b30620f4a602b7 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (UNW_LOCAL_ONLY): Remove this macro.
(tab): Add etnry LOC_SIZE.
(main): Fix the "generated by ..." string.

}(Logical change 1.85)
k_cursor_i-ia64.c
da6690ecf2d7082d7ed070329a2600942709a7c8 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (UNW_LOCAL_ONLY): Remove this macro.
(tab): Add etnry LOC_SIZE.
(main): Fix the "generated by ..." string.

2003/04/23 11:22:47-07:00 mostang.com!davidm
Rename: src/ia64/mk_cursor_i-ia64.c -> src/ia64/Gmk_cursor_i-ia64.c

(Logical change 1.85)
mk_cursor_i-ia64.c
c56b0d6b05e7f484cb8896de79fd75b4841d1a5f 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.85)
install_cursor.S
mk_cursor_i-ia64.c
ee54f6cbbdeecb5ef6f4c5509b8fac75a8f39ba4 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Remove preg_index[] initializer.

(Logical change 1.84)
lobal-ia64.c
6e5840f1327a0c0e5ff5d87e958c6d1e99587199 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
rbs-ia64.c
rbs-ia64.c
Uia64_install_cursor.S
d412b24291e797e2a7f3f437fd9abb0b2f9c3aa1 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Adjust for unw_word_t -> ia64_loc_t changes.
(struct_offset): Delete.
(IA64_LOC_REG): New macro (replaces IA64_LOC() for registers).
(IA64_LOC_ADDR): New macro (replaces IA64_LOC() for addresses).
(IA64_LOC_UC_ADDR): New macro.
(IA64_NULL_LOC): Ditto.
(IA64_IS_NULL_LOC): Ditto.
(IA64_IS_UC_LOC): Ditto.
(struct ia64_state_record): Replace is_signal_frame bit with abi_marker.
(ia64_strloc): New declaration.
(rbs_switch): Change from UNW_ARCH_OBJ() to UNW_OBJ().
(rbs_find_stacked): Ditto.
(rbs_cover_and_flush): Ditto.
(rbs_get_rnat_loc): New inline function.
(rbs_loc): Ditto.

(Logical change 1.84)
nwind_i.h
4d4f47cfe64d0f638245c5509f84862be691345d 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Adjust for unw_word_t -> ia64_loc_t changes.
(rbs_find_stacked): Detect rbs-area underflow and complain when detected.

}(Logical change 1.84)
bs-ia64.c
fdd93a262e2e354f309f2bb88e24698ad4dff502 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Adjust for unw_word_t -> ia64_loc_t changes.
(rbs_find_stacked): Detect rbs-area underflow and complain when detected.

2003/04/22 22:16:35-07:00 mostang.com!davidm
Rename: src/ia64/rbs-ia64.c -> src/ia64/Grbs-ia64.c

(Logical change 1.84)
rbs-ia64.c
c1d2557a312045c274e1d33ba1931c7aca91d830 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Adjust for unw_word_t -> ia64_loc_t changes.
(ia64_local_resume): Disable for now (it's presently broken).
(remote_install_cursor): Ditto.

(Logical change 1.84)
resume-ia64.c
83ec749aafd4fdaaa9e1f86520280157e95c6726 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Adjust for unw_word_t -> ia64_loc_t changes.

(Logical change 1.84)
regs-ia64.c
72199b31ffb7c7e944d3d7fdeb68ce75f72a8077 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Adjust for save-loc renaming.
Adjust for unw_word_t -> ia64_loc_t changes.

(Logical change 1.84)
nit.h
237a66bc21d94595d12b14dead660745599d7161 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Adjust for save-loc member renaming.
Adjust for renaming of Linux sigcontext offset macros.
(check_rbs_switch): Handle Linux-case only if abi_marker==ABI_MARKER_LINUX_SIGTRAMP.
(update_frame_state): For cursor's with a non-zero abi_marker, do special
Linux or HP-UX sigtramp handling as appropriate.
Clear abi_marker instead of is_signal_frame.

(Logical change 1.84)
step-ia64.c
f24e3d70a07130097082f51fa35c914bba82e796 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (unw_is_signal_frame): Return true for any cursor with a non-zero abi_marker.

(Logical change 1.84)
is_signal_frame-ia64.c
5adda54e79b0a43f22b27d748c5dc1ccc5e5c79c 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (unw_get_save_loc): Adjust for unw_word_t -> ia64_loc_t changes.

(Logical change 1.84)
get_save_loc-ia64.c
8bf1568dbf5f2836941a40dd3e68c110bc8eb5c0 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (script_new): Clear abi_marker to 0.
(emit_nat_info): For registers saved in a general-register, use IA64_INSN_SET_REG
instead of IA64_INSN_SET.
Set insn.dst to register number, instead of unw.preg_index[i].
(compile_reg): Set val directly to register number, instead of unw.preg_index[i].
Use IA64_INSN_INC_PSP instead of IA64_INSN_ADD to pop a fixed stack frame.
(build_script): Handle signal-frames by directly copying abi_marker, rather than
emitting an IA64_INSN_SET instruction.
(run_script): Copy abi_marker into cursor. Rather than updating a word, update
a save-location. Only exceptions are IA64_INSN_INC_PSP and
IA64_INSN_LOAD_PSP.

(Logical change 1.84)
script-ia64.c
f8d5624ee9d902c6b406c81dd87e07e00b0122f2 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (ia64_strloc): New function to stringify a location.

(Logical change 1.84)
init-ia64.c
69dc9063ae7a55283e8a4c383f8e7bf69e57d93d 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (decode_abreg): Rename IA64_REG_RP -> IA64_REG_IP.
(UNW_REG_RP): Ditto.
(lookup_preg): Ditto.
(create_state_record_for): Ditto.

(Logical change 1.84)
parser-ia64.c
f59f3d3569367c26458ad3603d1ce2972304269c 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (_Uia64_install_cursor): Rename from _Uia64_install_context().
Mask out only the least-significant 2 bits (rather than the least significant
3 bits).

}(Logical change 1.84)
Uia64_install_context.S
7ac1f4c998c357f4e8d892d76a89fee475f13830 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (_Uia64_install_cursor): Rename from _Uia64_install_context().
Mask out only the least-significant 2 bits (rather than the least significant
3 bits).

2003/04/22 22:15:48-07:00 mostang.com!davidm
Rename: src/ia64/_Uia64_install_context.S -> src/ia64/_Uia64_install_cursor.S

(Logical change 1.84)
Uia64_install_cursor.S
02920bf9118c033898d7f86cca5679f08b507170 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (UNW_LOCAL_ONLY): Define before including "internal.h".
Adjust for save-loc renaming.

(Logical change 1.84)
k_cursor_i-ia64.c
18b186bf30ceaf501197045f75c16ff2f769df69 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.84)
rbs-ia64.c
6da53a7b6621518f1ea8f5a212f7c7aad3d6ef20 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (LINUX_SIGFRAME_ARG2_OFF): Rename from SIGFRAME_ARG2_OFF.
(LINUX_SC_*): Rename from SIGCONTEXT_*.

(Logical change 1.84)
ffsets.h
60b881152701597a77df4b69b18bfdb8abbd99a1 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> (update_frame_state): On HP-UX, catch ucontext_t location from r32.

(Logical change 1.77)
step-ia64.c
fb293ae33d490f0a1e7a5fc82e718188554b9166 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> (struct unwind_header): Rename member "unknown1" to "format".

(Logical change 1.77)
ables-ia64.c
d9ba5fb915d4d0c3e0e64e970be3a008944e6311 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> (desc_abi): Also recognize ".unwabi @hpux, 1" as a signal trampoline.

(Logical change 1.77)
parser-ia64.c
b10a6c5b9f8ce66a23c966e1da5ec6aea69397f8 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> (SYSCALL_CFM_SAVE_REG): New macro.
(REASON_SYSCALL): Ditto.
(access_reg): Use __uc_get_reason() to determine how ucontext_t was created.
Handle UNW_IA64_AR_BSP differently depending on whether or not
ucontext_t was created by a syscall. Ditto for UNW_IA64_IP and
UNW_IA64_CFM. Add debug statement.

(Logical change 1.77)
init-ia64.c
0802cd49adffece1c9927624aabd7c324cdfa5ea 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> (rbs_find_stacked): Allow NULL locp.

(Logical change 1.76)
bs-ia64.c
7057901782a226fa2c99bf4bf1d2dcb7c0c8c155 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> (ia64_get_stacked): Allow NULL "locp".

(Logical change 1.76)
nwind_i.h
bc41c6ad9f10934d61c80e4ad3dfacf5035ec53f 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> [HAVE_SYS_UC_ACCESS_H]: Add include of <sys/uc_access.h>.
(access_reg) [HAVE_SYS_UC_ACCESS_H]: New function.
(access_fpreg) [HAVE_SYS_UC_ACCESS_H]: New function.

(Logical change 1.75)
init-ia64.c
6ab15cdec4e7d753008fffbe0b62ab4924b2ef87 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.75)
create_addr_space-ia64.c
destroy_addr_space-ia64.c
get_fpreg-ia64.c
get_proc_info-ia64.c
get_proc_name-ia64.c
get_reg-ia64.c
get_save_loc-ia64.c
init-ia64.c
init_local-ia64.c
init_remote-ia64.c
is_signal_frame-ia64.c
parser-ia64.c
regs-ia64.c
resume-ia64.c
script-ia64.c
set_fpreg-ia64.c
set_reg-ia64.c
step-ia64.c
b513773cb2422dbf69979d5d29474c7a18c60654 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> (unw_init_local): Do sc_rbs_base manipulation only if HAVE_SYS_UC_ACCES_H is not
defined.

(Logical change 1.75)
init_local-ia64.c
3b5cb418757f296cad5e8a7f478b6bec5a5aeaf5 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> (local_resume): Unsupported on HP-UX for now.
(remote_install_cursor): Ditto.

(Logical change 1.75)
resume-ia64.c
ee12f505ed82d9cbfc3f95d1ced60da0f68eee1b 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> (is_local_addr_space): Test for _ULia64_local_addr_space only if UNW_GENERIC_ONLY
is not defined.
(tdep_find_proc_info) [HAVE_DLMODINFO): Declare new type "struct unwind_header"
to accommodate HP-UX unwind header. Fetch unwind table from this
header.

(Logical change 1.75)
ables-ia64.c
9abe0decf00fcff77c930846d05532ea2349e860 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> (ia64_init): Call _ULia64_local_addr_space_init() only if UNW_GENERIC_ONLY is
not defined.

(Logical change 1.75)
lobal-ia64.c
e4f251b98a39af202940417e2a03ac014abb8e16 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (local_resume): "static inline" version of what used to be ia64_local_resume().
(ia64_local_resume): Declare as "HIDDEN" (not "HIDDEN inline"), use local_resume().
(unw_resume): For UNW_LOCAL_ONLY case, call local_resume().

(Logical change 1.70)
resume-ia64.c
2e65e639a58c1831ba97066f2974483148eeed4d 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (ia64_getfp): Return -UNW_EBADREG when trying to access unsaved register.
(ia64_putfp): Ditto.
(ia64_get): Ditto.
(ia64_put): Ditto.

(Logical change 1.70)
nwind_i.h
f168752fcfc83ed0aa5df6032faf04ad6bcea39e 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.68)
lobal-asm-ia64.S
58df2a4b8f2d077b1b35b2a413adb521a3274b09 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
lobal-asm-ia64.S
bf2a805be23771ea5a612b16516f3d4acafa3980 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> If we have it, include <ia64intrin.h>.
(current_gp): New function.
(callback): Use current_gp() instead of open-coding it.

(Logical change 1.68)
ables-ia64.c
26ad35667c79bfbd2bb7de934bb9b7ca4f287efc 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Avoid GNU local labels for improved portability.

(Logical change 1.68)
Uia64_install_context.S
6dbafde94b51a68e7e34432439993b3a3794f96e 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (sigprocmask): Declare as global (Intel assembler insists on this).

(Logical change 1.68)
igsetjmp-ia64.S
4090e38376103adc0fba510d0bc588b8c7220d29 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (sigprocmask): Declare as "global" (Intel assembler insists on this).
(siglongjmp_continuation): Avoid GNU assembler local labels.

(Logical change 1.68)
iglongjmp-ia64.S
753601f8b0cd6c4ba9e6008b6bdf864a5a64deae 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (_U_dyn_info_list): Declare.
Move generation of dyn-list unwind entry into global-asm-ia64.S.

(Logical change 1.68)
lobal-ia64.c
58e0e100d1e2cf87432a59a165040d786ca51c0e 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include <inttypes.h> instead of <stdint.h>. HP-UX doesn't have the latter.

(Logical change 1.63)
nwind_i.h
ea91dee4a82be8cc429c223b972aefc18bce6702 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "config.h" if we have it.
Include <inttypes.h> instead of <stdint.h>. HP-UX doesn't have the latter.
Use "inline" instead of "__inline__" (the former gets properly #define'd by
config.h).

(Logical change 1.63)
se.h
d798e7dd07fd551e7906e7e324d92c4916156c49 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "config.h" if we have it.
(_Uia64_search_unwind_table): Be sure to clear "proc_info" members as documented
by unw_get_proc_info(3).
Include <dlfcn.h> if we have dlmodinfo() (HP-UX only).
(tdep_find_proc_info): Use dl_iterate_phdr() only if we have it (glibc-based
systems). Use dlmodinfo() if we have it (HP-UX).

(Logical change 1.63)
ables-ia64.c
5fe7ac3ff5865c11773dedd9137a7a8fc06e614d 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> (unw_set_caching_policy): Default to "global" policy if thread-local policy is
not available.

(Logical change 1.63)
et_caching_policy-ia64.c
5dc0e152a9f6650b110ed3cd6f1c09610a352b54 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> (unw_flush_cache): Also clear dyn_info_list_addr cache in the address space.

(Logical change 1.61)
lush_cache-ia64.c
d098282ff550cb1a26e419ad4ab8709d8b52646e 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "tdep.h".

(Logical change 1.59)
k_cursor_i-ia64.c
43cc4c9e59384ebb6a7de8406edb8879aa8b8d9a 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (ia64_make_proc_info): If caching is enabled, call ia64_get_cached_proc_info()
to pick up cached proc-info (if available).

(Logical change 1.59)
parser-ia64.c
fe0ed7dd4181e1af0c7a45238262481e1d739dde 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (ia64_getfp): Print debug message when accessing an unsaved register.
(ia64_putfp): Ditto.
(ia64_get): Ditto.
(ia64_put): Ditto.
(ia64_local_addr_space_init): Add missing declaration.

(Logical change 1.59)
nwind_i.h
d3ec5e94aa6fbca45dd8d2d3218dbca1b29d3ad0 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (cache_match): Remove locking comments.
(ia64_get_cached_proc_info): Rename from ia64_script_lookup() and modify it so
it directly updates the proc-info if the necessary script is in the cache.
(script_new): Remove locking comments and adjust formatting.
(ia64_find_save_locs): If global caching is enabled, mask signal delivery and
hold the cache lock while accessing the cache.
(ia64_script_cache_init): Initialize the cache lock.


(Logical change 1.59)
script-ia64.c
d6a0aa7059cd2ddf93c64274c66a8cea59b0d7b1 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Rename "epilogue_start" to "when_sp_restored".
(parse_dynamic): Fix it so it actually works.
(create_state_record_for): Initialize return_link_reg to zero.
Don't print "no unwind info" unconditionally when UNW_DEBUG is
in effect.

(Logical change 1.56)
parser-ia64.c
5428fc629557f772769f8d94244186cc0fde1b1a 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw): Move "psp" member before "bsp_loc".

(Logical change 1.56)
lobal-ia64.c
77ccc28ad910eee9e0a4488d27ba50c332173ab6 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (ia64_state_record): Rename epilogue_start to when_sp_restored.

(Logical change 1.56)
nwind_i.h
5939c41c09bb679e6be11957dbe7165c14bedb33 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (get_static_proc_name): New function.
(ia64_local_addr_space_init): Initialize get_proc_name callback.

(Logical change 1.56)
init-ia64.c
8bd0572f345c2edee3634d94a1f21023666fc132 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (build_script): Document the fact that we need IA64_REG_PSP to get compiled first.

(Logical change 1.56)
script-ia64.c
bd93c64f012011442443f8a5ee9ce10c9e35d31a 26-Feb-2003 hp.com!davidm <hp.com!davidm> (update_frame_state): Update the IP-cache before doing anything else.
If we reached the en of the frame-chain, then the remaining
registers may not be valid/accessible anymore.

(Logical change 1.55)
step-ia64.c
95a55361c8b95240325128808a2c7e8e09c65316 26-Feb-2003 hp.com!davidm <hp.com!davidm> (uc_addr): Allow (readonly) access to r0/nat0 to support ".save rp, r0" idiom.

(Logical change 1.55)
init-ia64.c
8d4f6ff52d13cf6fc90faf4e455e24337986fe25 26-Feb-2003 hp.com!davidm <hp.com!davidm> (rbs_contains): Tighten debug output.

(Logical change 1.55)
nwind_i.h
54eda6d6fcf3dd7d776a87ae5c14702623db71aa 26-Feb-2003 hp.com!davidm <hp.com!davidm> (_Uia64_find_dyn_list): Add "gp" argument.
Fix typo in address-offset for the "off" variable.
Adjust for the fact that the dyn-info list address is now gp-relative.

(Logical change 1.55)
ables-ia64.c
5660a59ba1878d745c337965333e55694d5ce15c 26-Feb-2003 hp.com!davidm <hp.com!davidm> (_U_dyn_info_list): Mark it as .hidden so we can do a @gprel() reloc against it.
(.info): Use @gprel() reloc instead of @segrel() reloc for _U_dyn_info_list.
The latter doesn't work because the unwind-info is in a different segment.
(ia64_init): Clear unw.r0.

(Logical change 1.55)
lobal-ia64.c
9d5c1bc580568af21489ce0d84adcd11558cb380 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> In error messages, replace "unwind:" by "libunwind:".
(desc_prologue): Fix handling of region_start so it doesn't get corrupted by
state-record pushing/popping.
(parse_dynamic): Allow the last region to contain a negative insn_count, indicating
that the region covers the last portion of a procedure.

(Logical change 1.54)
parser-ia64.c
74127228549c1a81dbac50bc41ff9d4e939bf715 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_get_proc_name): Drop "is_local" argument in call to unwi_get_proc_name).

(Logical change 1.54)
get_proc_name-ia64.c
bb4f71708d22a89ad6728ee2d28102ee294b2e31 22-Feb-2003 hp.com!davidm <hp.com!davidm> Minor formatting fix.

(Logical change 1.53)
init_local-ia64.c
2b0b48fd8acb2ffe9e8085b02942ba6fe9a10c96 22-Feb-2003 hp.com!davidm <hp.com!davidm> (remote_install_cursor): Implement it.

(Logical change 1.53)
resume-ia64.c
cb4fb05032e3b716fd88e0c46d539650d0ce35f9 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rotate_gr): Only print debug info if size-of-rotating-partition is non-zero.
(rotate_fr): Only print debug info if rotation-base is non-zero.

(Logical change 1.52)
egs.h
749cd255297c458a4f95101669f958a16c73c53c 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rbs_underflow): Remove.
(rbs_contains): New function.

(Logical change 1.52)
nwind_i.h
0d0c84f63cf83642e47f8012f111d5d0d2f4cbad 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rbs_switch): Rename from rbs_record_switch() and greatly simplify it because
we now switch to the new backing-store immediately.
(rbs_underflow): Remove.
(rbs_find_stacked): No longer assume that c->bsp is contained in the current
rbs. If it is not, first find the backing-store that's backing c->bsp.
(rbs_cover_and_flush): Use rbs_contains() instead of (broken) open code.
Handle the case where the initial bsp points to an RNaT slot.

(Logical change 1.52)
bs-ia64.c
8a621f78ffd2ba292cd19eadc60cb20cd307f34e 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> (common_init): Drop initialization of c->rbs_right_edge.
Initialize size of first rbs_area[] to 1<<63 so that we can maintain
a notion of "above" and "below".

(Logical change 1.52)
nit.h
77821808ab8e77617e8817018fa8f74979fe5d84 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> (check_rbs_switch): Mark it as "inline". Make rbs_record_switch() the last call.
(update_frame_state): Remove conditional call to rbs_underflow().

(Logical change 1.52)
step-ia64.c
d8023cf208876778cd663e6b52ca80d1c4799f3f 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_set_caching_policy): Call ia64_init() first if necessary.

(Logical change 1.49)
et_caching_policy-ia64.c
d55a7f7dd4a348247eee25ca0b5d451f18cb119d 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rbs_cover_and_flush): Also update c->rnat_loc as needed.

(Logical change 1.49)
bs-ia64.c
b8c178177a66b3279fe0b0ec60e2528b25c094f5 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> (ia64_local_resume): Remove unused variable "loadrs".

(Logical change 1.49)
resume-ia64.c
eb44c3a6d533a89c65e61a8e168737ac30b8cb53 15-Feb-2003 hp.com!davidm <hp.com!davidm> Move include of ia64intrin.h after include of "unwind_i.h".

(Logical change 1.48)
lush_cache-ia64.c
7fd45d122cec23084aa3d6ab4041e3f5bd7c93a8 15-Feb-2003 hp.com!davidm <hp.com!davidm> (create_state_record_for): Use dprintf(), not printf().

(Logical change 1.48)
parser-ia64.c
70ee73612ea52203b931c28236a8621673c5ce1d 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> Minor reformatting to make it fit in 80 cols.
(get_rnat): New function.
(rbs_cover_and_flush): Ditto.


(Logical change 1.47)
bs-ia64.c
32a1dc6be5b6caed9a3c366dab941e20b3f39ca1 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rbs_cover_and_flush): Declare.
(_Uia64_install_context): Drop loadrs argument from declaration.

(Logical change 1.47)
nwind_i.h
02c8c0cdae7002852fabc5809f5626e14cd6e94e 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> (ia64_local_resume): Use rbs_cover_and_flush() to linearize the contents of the
current register frame before resuming execution. Drop loadrs argument
from call to _Uia64_install_context().

(Logical change 1.47)
resume-ia64.c
03f6e9b0042f8d5b7056a269fe80ff78217b097a 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> (_Uia64_install_context): Drop "loadrs" argument and adjust code accordingly.

(Logical change 1.47)
Uia64_install_context.S
49f992ac07809419614f5bd1dcc566b5c0cf4212 14-Feb-2003 hp.com!davidm <hp.com!davidm> Mention !UNW_REMOTE_ONLY on #else branch.

(Logical change 1.46)
init-ia64.c
7372c6cc432a5924f836ca67acc2b27d1e5953c9 14-Feb-2003 hp.com!davidm <hp.com!davidm> (unw_flush_cache): Only uses __sync_fetch_and_add() if
HAVE_IA64INTRIN_H is defined. Otherwise, do non-atomic
increment (and issue compile-time warning about it).

(Logical change 1.46)
lush_cache-ia64.c
3980b80e26db1ec5904557b5177a55ea7a453b94 14-Feb-2003 hp.com!davidm <hp.com!davidm> (is_local_addr_space): Always return 0 for UNW_REMOTE_ONLY.
(_Uia64_search_unwind_table): Add a cast to avoid compiler-warning
when cross-compiling from a 32-bit platform.

(Logical change 1.46)
ables-ia64.c
d7c5192ef88d9d0265b3adaf1cbd3b577da665f5 14-Feb-2003 hp.com!davidm <hp.com!davidm> (ia64_init): Don't call _Uia64_local_addr_space_init() or
_ULia64_local_addr_space_init() for UNW_REMOTE_ONLY.

(Logical change 1.46)
lobal-ia64.c
425adcbda4a4b69cd629b8bfe229c8a6030ea94b 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Rewrite.

}(Logical change 1.45)
_ia64_install_context.S
d98aeba4cbb0f0948df1048c9e2bdbd2fd682ecf 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Rewrite.

2003/02/06 14:34:06-08:00 mostang.com!davidm
Rename: src/ia64/__ia64_install_context.S -> src/ia64/_Uia64_install_context.S

(Logical change 1.45)
Uia64_install_context.S
824d6619b500a86ff2fc680268357f0215d59b0c 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.45)
k_cursor_i-ia64.c
etjmp-ia64.S
iglongjmp-ia64.S
igsetjmp-ia64.S
5f94e2d488701fccd474245df3ad6f51aff2a05e 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
Uia64_install_context.S
k_cursor_i-ia64.c
etjmp-ia64.S
iglongjmp-ia64.S
igsetjmp-ia64.S
b2a5a9023b8fa5ffeb8fb87b533d56daec817895 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Fix signed/unsigned comparisons.

(Logical change 1.45)
parser-ia64.c
egname-ia64.c
egs.h
678d3209fb85ced46730b864f842466d868c3130 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_resume): Rewrite to make it work for resuming execution past a signal frame
(and also simplify it).

(Logical change 1.45)
resume-ia64.c
42cfe4f411ad1f33dbb51fbc99e433db99143ac4 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_get_proc_name): Add "offp" argument.

(Logical change 1.45)
get_proc_name-ia64.c
7377d07464f95745a7233f66bd01e4bac7e7d720 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (ia64_access_reg): When writing UNW_REG_IP, invalidate the proc_info if the new
IP is outside the range of the old procedure.
When writing one of the exception argument registers, track the update
in c->eh_valid_mask.

(Logical change 1.45)
regs-ia64.c
7e29f92baab66b17dc118ede488ed24941a78dfd 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (common_init): Don't initialize eh_args[] pro-actively; do it lazily.
Clear eh_valid_mask to zero.

(Logical change 1.45)
nit.h
be592ddeb2aaca7b13ff827f48881e9f3b54112b 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (_Uia64_search_unwind_table): Return a valid gp-value in the proc-info even when
there is no other unwind-info.

(Logical change 1.45)
ables-ia64.c
ebed1d6b829d3ee078ca4865298c22c177ad33b5 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (_Uia64_install_context): Rename from __ia64_install_context(). Change signature.

(Logical change 1.45)
nwind_i.h
0d4634d8fefae40b395cfbe06a2f38d28f51b5ea 28-Jan-2003 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): Rename AR_25 to AR_CSD.

(Logical change 1.43)
get_save_loc-ia64.c
e1e36dfdf6cd53285ff880bae0026620f44f6fee 28-Jan-2003 hp.com!davidm <hp.com!davidm> (rotate_gr): When rotating an out-of-frame register, return the original register
number, not -1. Otherwise, the wrong error gets propagated to the user.

(Logical change 1.43)
egs.h
6da7fc251123bd1dad24d9f3dc989833355cb127 28-Jan-2003 hp.com!davidm <hp.com!davidm> (ia64_scratch_loc): Rename AR_25 to AR_CSD.
(ia64_access_reg): Ditto.

(Logical change 1.43)
regs-ia64.c
1f6bf48b5cc20e1d0d18494c9cc3707229b0d51b 28-Jan-2003 hp.com!davidm <hp.com!davidm> (_Uia64_search_unwind_table): Rename from tdep_search_unwind_table().
(_Uia64_get_kernel_table): Rename from get_kernel_table() and make it global.

(Logical change 1.43)
ables-ia64.c
4df2088f8a982530e6c2e2484302b53b6e186893 28-Jan-2003 hp.com!davidm <hp.com!davidm> (SIGCONTEXT_AR_CSD_OFF): Rename from SIGCONTEXT_AR_25_OFF.

(Logical change 1.43)
ffsets.h
83893355b0ee67de7012e3b27eb51cb6a90d7029 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (update_frame_state): Handle "cfm" cache.

(Logical change 1.42)
step-ia64.c
8bff7ccc92dd4c5d30e146b3e40b0e31cd16acf4 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (rotate_gr): Take advantage of "cfm" cache.
(rotate_fr): Ditto.
(pr_ltop): Ditto.
(pr_ptol): Ditto.

(Logical change 1.42)
egs.h
4368ea4a70f9ffbf5a973519e890016b0e3aca9e 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (ia64_get_stacked): Make sure returned rnat-location is valid, too.

(Logical change 1.42)
nwind_i.h
e30bf11e2c854f190b863aaa7152d71323c2a6b4 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (ia64_access_reg): Handle "cfm" cache.

(Logical change 1.42)
regs-ia64.c
a89e112a322d654a73b061b111c9b77b9850eed1 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (common_init): Initialize "cfm" cache.

(Logical change 1.42)
nit.h
7ec3afd8db47ccb4957432fed8ba38d27c1c8230 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Minor reformatting.

(Logical change 1.41)
init_local-ia64.c
31fbd34d9ce478294c72fe88778e71aa010628c8 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (unw_get_save_loc): rotate_gr() expects a register number in the range r32-r127.

(Logical change 1.41)
get_save_loc-ia64.c
d5370fb25c651443d078fe687421bf3311ebefb3 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (rbs_record_switch): Fix it so it stands a chance of working in all cases.
(rbs_underflow): Ditto.
(rbs_find_stacked): Ditto.

(Logical change 1.41)
bs-ia64.c
eacf0e24e15a6793a88d41b3294c2c1ee43a097e 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (rbs_find_stacked): Renamed from rbs_find_reg.
(ia64_get_stacked): Expect a register number (32-127), not a skip-count.

(Logical change 1.41)
nwind_i.h
3b6290bef23002fabdcd3e2b6424f08247e43c2b 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (create_state_record_for): Fix thinko in test whether bsp/bspstore/rnat have been
saved.

(Logical change 1.41)
parser-ia64.c
73fd3a8d4ad28daa7cf00c1d5ac2a2a131cc3914 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (compile_reg): store register number for MOVE_STACKED.

(Logical change 1.41)
script-ia64.c
570c6e399af3fd84a3efd9e5ebb1430d478080cb 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (common_init): bspstore needs to be initialized from c->bspstore_loc.
Adjust for renaming in "struct cursor".

(Logical change 1.41)
nit.h
ad8830e9ce039d063701e5e7ced42f4e9f44e1d3 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (check_rbs_switch): New function. Split-off from update_frame_state().

(Logical change 1.41)
step-ia64.c
a356356660af77714ca0338a24bf965c71aade69 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (access_nat): rotate_gr() expects a register number in the range r32-r127.

(Logical change 1.41)
regs-ia64.c
1efaaab46ee5374ad7f54e48d4246bcaa49643e3 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.40)
bs-ia64.c
81d01dfc274f83a705bc86b8799ad4e2c46383ac 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
bs-ia64.c
ca50cf63540188b4ed0acb4f7da9bad70e0f4be7 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Begin to support resuming execution beyond a signal handler frame (not working yet).

(Logical change 1.40)
_ia64_install_context.S
4f231eb84ab0a9ff0448aaba7da1e74ea98f032c 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Add copyright notice.

(Logical change 1.40)
lobal-ia64.c
56f367ca9c66d4dbe11526335bd6840291101393 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (update_frame_state): Update c->sigcontext_off so unw_resume() can reconstruct the
original stack-pointer from c->sigcontext_loc.
Handle rbs-switches for Linux signal deliver on alternate signal stack and
for general case, indicated by UNW_PI_FLAG_IA64_RBS_SWITCH.
Call rbs_underflow() when we detect a register-backing-store underflow.

(Logical change 1.40)
step-ia64.c
7aaa1e995ab53174c3324c91a2e570c35ade8e9c 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (unw_regname0: Use NELEMS() instead of corresponding open code.

(Logical change 1.40)
egname-ia64.c
644a56edfcafb63fde1670fc5a1730ca123bfdc2 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (unw_init_local): Add comment as to why we can assume initial register window is
contiguous.

(Logical change 1.40)
init_local-ia64.c
3f3215952d49a7b03bad4f0dcd558ebcc38fe45c 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (unw_get_save_loc): Use ia64_get_stacked() and don't forget to rotate stacked
registers before accessing them.

(Logical change 1.40)
get_save_loc-ia64.c
29fbe1c0bcadad379b71713059c749d7e90339f3 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (uc_addr): Correct value returned for AR_BSPSTORE.

(Logical change 1.40)
init-ia64.c
7c6f9ccd2c8afbd5523cf0076afb664d8c696bfe 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (run_script): Use ia64_get_stacked() to access stacked register & don't forget to
rotate stacked registers.


(Logical change 1.40)
script-ia64.c
5a55c1d8a8b4374c487fbfa0d8045b139cd243ec 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (rbs_record_switch): New function.
(rbs_underflow): Ditto.
(rbs_find_reg): Ditto.
(ia64_get_stacked): Ditto.

(Logical change 1.40)
nwind_i.h
ea0a71ab3222b33ac1ec5a7f086cd9f0ee2c334c 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (ia64_local_resume): Begin to support unw_resume() that goes across a signal
(not complete yet).

(Logical change 1.40)
resume-ia64.c
a393d743f0f2613952b3d4b09a1e06dd583ca0d5 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (finish_prologue): use NELEMS() instead of corresponding open code.
(create_state_record_for): Turn on UNW_PI_FLAG_IA64_RBS_SWITCH when a procedure
has saved all of ar.bsp, ar.bspstore, and ar.rnat.

(Logical change 1.40)
parser-ia64.c
03db644db300b91bb6270d332cbdf93ff21dab06 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (common_init): Drop initialization of top_rnat_loc and rbs_top. Initialize
rbs_curr, rbs_wridx, rbs_nvalid, and rbs_area[0] instead.

(Logical change 1.40)
nit.h
3ead93703a66bb41cc3f5eda073a4e6b4cbfe006 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (access_nat): use ia64_get_stacked() to access stacked register & don't forget
to rotate stacked regs.
(ia64_access_reg): Ditto.

(Logical change 1.40)
regs-ia64.c
2212e1276b234e6234f31dd8b4d9f4608c2de2b7 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fix comment for ia64_rse_num_regs().

(Logical change 1.39)
se.h
e107c723e0159b0674fcd1382f77dd4edf8dd8c0 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/set_caching_policy.c -> src/ia64/set_caching_policy-ia64.c

}(Logical change 1.32)
set_caching_policy.c
1206ec93210d9a663bb51443d18a8781c7f08d35 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/set_caching_policy.c -> src/ia64/set_caching_policy-ia64.c

(Logical change 1.32)
et_caching_policy-ia64.c
0f1fc193c53ce538fd5b0c4dce3181590ab95eb3 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/destroy_addr_space.c -> src/ia64/Gdestroy_addr_space.c

(Logical change 1.32)
destroy_addr_space.c
f977aba30b6b692277f73ac47b0a40fa5ef9456e 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/create_addr_space.c -> src/ia64/Gcreate_addr_space.c

(Logical change 1.32)
create_addr_space.c
3f320f8191f82d2aabe1a96756e75829960d2281 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lget_accessors.c -> src/ia64/Lget_accessors-ia64.c

}(Logical change 1.32)
get_accessors.c
ced635f45a34cc29033e71e6658f0581b632a135 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lget_accessors.c -> src/ia64/Lget_accessors-ia64.c

(Logical change 1.32)
get_accessors-ia64.c
c26a876b816f0c37f46b516d98e1cb74483a79b7 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Gcreate_addr_space.c -> src/ia64/Gcreate_addr_space-ia64.c

(Logical change 1.32)
create_addr_space-ia64.c
6fd20088619b83c1553755c386bd40d913fe347c 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

}(Logical change 1.32)
get_fpreg.c
get_proc_info.c
get_proc_name.c
get_reg.c
get_save_loc.c
init_local.c
init_remote.c
is_signal_frame.c
parser.c
regs.c
resume.c
script.c
set_fpreg.c
set_reg.c
step.c
57901eea02210eb00603cb3be8b4bb76f7a2b411 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Gstep.c -> src/ia64/Gstep-ia64.c

(Logical change 1.32)
step-ia64.c
e83a8555ebfa569231b453e8caa96425b69abb0a 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Gset_reg.c -> src/ia64/Gset_reg-ia64.c

(Logical change 1.32)
set_reg-ia64.c
45d291d88a91c146428ef904eb74192b027f21a9 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Gset_fpreg.c -> src/ia64/Gset_fpreg-ia64.c

(Logical change 1.32)
set_fpreg-ia64.c
469215c497b5df2f05444a2174bb1d4e4e17a893 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Gscript.c -> src/ia64/Gscript-ia64.c

(Logical change 1.32)
script-ia64.c
997f02561eb2bed4090be4cab6d6b522ea0464bb 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Gresume.c -> src/ia64/Gresume-ia64.c

(Logical change 1.32)
resume-ia64.c
6d343f42064e5ee26a5096a98f703c63ccd722d8 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Gregs.c -> src/ia64/Gregs-ia64.c

(Logical change 1.32)
regs-ia64.c
3e7ebd19f37af39720c0d915d860ab9eabd74ffb 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Gparser.c -> src/ia64/Gparser-ia64.c

(Logical change 1.32)
parser-ia64.c
75c34d4062b54975cb900b4ded73f80bc4ba4d95 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Gis_signal_frame.c -> src/ia64/Gis_signal_frame-ia64.c

(Logical change 1.32)
is_signal_frame-ia64.c
026b06425819e004cd176c6aca1d8bcc217d3a4e 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:23-08:00 mostang.com!davidm
Rename: src/ia64/Ginit_remote.c -> src/ia64/Ginit_remote-ia64.c

(Logical change 1.32)
init_remote-ia64.c
db6175a3381b8821786cf20f53be8ade160a9106 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:23-08:00 mostang.com!davidm
Rename: src/ia64/Ginit_local.c -> src/ia64/Ginit_local-ia64.c

(Logical change 1.32)
init_local-ia64.c
a7ac140ef2f0b6abcab76c8f135475fa9bdcd5fb 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:23-08:00 mostang.com!davidm
Rename: src/ia64/Gget_save_loc.c -> src/ia64/Gget_save_loc-ia64.c

(Logical change 1.32)
get_save_loc-ia64.c
b9c1fc307309347240235379e5f965c52d30b607 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:23-08:00 mostang.com!davidm
Rename: src/ia64/Gget_reg.c -> src/ia64/Gget_reg-ia64.c

(Logical change 1.32)
get_reg-ia64.c
c810becbf63c4740a8192f5bd97d48bac9530103 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:23-08:00 mostang.com!davidm
Rename: src/ia64/Gget_proc_name.c -> src/ia64/Gget_proc_name-ia64.c

(Logical change 1.32)
get_proc_name-ia64.c
a3c1a1b273ee59416ad3a6bfb7ae8f6a60a0694b 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:23-08:00 mostang.com!davidm
Rename: src/ia64/Gget_proc_info.c -> src/ia64/Gget_proc_info-ia64.c

(Logical change 1.32)
get_proc_info-ia64.c
b1fffe243407a199d29a573e2a4bd4fd7fc423e8 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

2002/12/18 15:52:23-08:00 mostang.com!davidm
Rename: src/ia64/Gget_fpreg.c -> src/ia64/Gget_fpreg-ia64.c

(Logical change 1.32)
get_fpreg-ia64.c
c333cb0d25eca3b6c4b2ed170396df6be7a2d894 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

(Logical change 1.32)
nit.h
egs.h
481e35c2ca6da6149db30c8572979e035cfff55d 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Remove include of "mempool.h".
Move debug macros to internal.h.

(Logical change 1.32)
nwind_i.h
8c52e5fec15643a95a9b089606db5c3930ccf521 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

}(Logical change 1.32)
flush_cache.c
get_accessors.c
create_addr_space.c
destroy_addr_space.c
get_fpreg.c
get_proc_info.c
get_proc_name.c
get_reg.c
get_save_loc.c
init.c
init_local.c
init_remote.c
is_signal_frame.c
parser.c
regs.c
resume.c
script.c
set_fpreg.c
set_reg.c
step.c
ables.c
nw_regname.c
4c56811949ad1ea4109b2fcac0157985a70ce396 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:26-08:00 mostang.com!davidm
Rename: src/ia64/tables.c -> src/ia64/tables-ia64.c

(Logical change 1.32)
ables-ia64.c
f4ce74be3ff73378e62203b237269598ad544695 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:26-08:00 mostang.com!davidm
Rename: src/ia64/regname.c -> src/ia64/regname-ia64.c

(Logical change 1.32)
egname-ia64.c
0a6f5b81f05a50be9811d215af3e76e11910df55 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/get_accessors.c -> src/ia64/get_accessors-ia64.c

(Logical change 1.32)
et_accessors-ia64.c
1341aa4a7d5e4e37b0ef63b82bf390fcab1f389c 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/flush_cache.c -> src/ia64/flush_cache-ia64.c

(Logical change 1.32)
lush_cache-ia64.c
03fa6339d38dfdb44de1dbcd9b47ada4a2ed5864 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lstep.c -> src/ia64/Lstep-ia64.c

(Logical change 1.32)
step-ia64.c
13e00f72c6fb8672b101f40aeb2fb94e392ff71f 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lset_reg.c -> src/ia64/Lset_reg-ia64.c

(Logical change 1.32)
set_reg-ia64.c
77374a84ce8ac7211ab02f70047d02580d2028bd 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lset_fpreg.c -> src/ia64/Lset_fpreg-ia64.c

(Logical change 1.32)
set_fpreg-ia64.c
82673e826317de6e49d5bcee45f11d1f12e4dac9 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lscript.c -> src/ia64/Lscript-ia64.c

(Logical change 1.32)
script-ia64.c
93d8b7349bcf59bd7b4a21862f846c5c86a81735 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lresume.c -> src/ia64/Lresume-ia64.c

(Logical change 1.32)
resume-ia64.c
5ddc9f8d566757099e4ae0e42df1f1d499453825 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lregs.c -> src/ia64/Lregs-ia64.c

(Logical change 1.32)
regs-ia64.c
12ebd9a69c43775e571bf4c7de80237bb9ad191e 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lparser.c -> src/ia64/Lparser-ia64.c

(Logical change 1.32)
parser-ia64.c
00ba25997bd0804e39263a33c1fa7b6e04de322c 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lis_signal_frame.c -> src/ia64/Lis_signal_frame-ia64.c

(Logical change 1.32)
is_signal_frame-ia64.c
7ba782f6db3f4759014c8400d8fd91bb739a2df2 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Linit_remote.c -> src/ia64/Linit_remote-ia64.c

(Logical change 1.32)
init_remote-ia64.c
a94abd0e325537e50fb04dc091a5865cc0b15141 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Linit_local.c -> src/ia64/Linit_local-ia64.c

(Logical change 1.32)
init_local-ia64.c
4f4ce30642e09e63223ae18180c72dd33439acde 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Linit.c -> src/ia64/Linit-ia64.c

(Logical change 1.32)
init-ia64.c
eb46316f98123ba87b20a2f2464de81135bb45c6 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lget_save_loc.c -> src/ia64/Lget_save_loc-ia64.c

(Logical change 1.32)
get_save_loc-ia64.c
9c75c0b134372b18198ffef851d6ce69f0fc7d83 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lget_reg.c -> src/ia64/Lget_reg-ia64.c

(Logical change 1.32)
get_reg-ia64.c
b49c0a516401adecec5da0f0fa211a98fba7e11b 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lget_proc_name.c -> src/ia64/Lget_proc_name-ia64.c

(Logical change 1.32)
get_proc_name-ia64.c
1f7d96a2d6c15eae3068157e4dcd1aa23b6f6a6c 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:25-08:00 mostang.com!davidm
Rename: src/ia64/Lget_proc_info.c -> src/ia64/Lget_proc_info-ia64.c

(Logical change 1.32)
get_proc_info-ia64.c
98b9f00153c11d5f5adf1b38a677dc266edea82f 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Lget_fpreg.c -> src/ia64/Lget_fpreg-ia64.c

(Logical change 1.32)
get_fpreg-ia64.c
a8022ee7bdd6ac1296f15692c502523922cfb060 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Ldestroy_addr_space.c -> src/ia64/Ldestroy_addr_space-ia64.c

(Logical change 1.32)
destroy_addr_space-ia64.c
177fc9642fc59c19a6c15009d2bee53bbbdc3ac2 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

2002/12/18 15:52:24-08:00 mostang.com!davidm
Rename: src/ia64/Lcreate_addr_space.c -> src/ia64/Lcreate_addr_space-ia64.c

(Logical change 1.32)
create_addr_space-ia64.c
9f32da41c322bb8943ae37e3adb9547a3520b87f 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
create_addr_space-ia64.c
destroy_addr_space-ia64.c
get_fpreg-ia64.c
get_proc_info-ia64.c
get_proc_name-ia64.c
get_reg-ia64.c
get_save_loc-ia64.c
init-ia64.c
init_local-ia64.c
init_remote-ia64.c
is_signal_frame-ia64.c
parser-ia64.c
regs-ia64.c
resume-ia64.c
script-ia64.c
set_fpreg-ia64.c
set_reg-ia64.c
step-ia64.c
create_addr_space-ia64.c
destroy_addr_space-ia64.c
get_accessors-ia64.c
get_fpreg-ia64.c
get_proc_info-ia64.c
get_proc_name-ia64.c
get_reg-ia64.c
get_save_loc-ia64.c
init-ia64.c
init_local-ia64.c
init_remote-ia64.c
is_signal_frame-ia64.c
parser-ia64.c
regs-ia64.c
resume-ia64.c
script-ia64.c
set_fpreg-ia64.c
set_reg-ia64.c
step-ia64.c
lush_cache-ia64.c
et_accessors-ia64.c
lobal-ia64.c
egname-ia64.c
et_caching_policy-ia64.c
ables-ia64.c
010e6701793bdfbc56c18f1b73db820ba352da89 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Delete: src/ia64/Lset_caching_policy.c

}(Logical change 1.32)
set_caching_policy.c
0cde510ce58da814c1bf27c0b4d7924819fd6fbb 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Delete: src/ia64/Lflush_cache.c

}(Logical change 1.32)
flush_cache.c
dfa2c41cdf0cfe58dc5c24cbf999ce419671a2c9 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_destroy_addr_space): Make it a no-op for UNW_LOCAL_ONLY.

2002/12/18 15:52:23-08:00 mostang.com!davidm
Rename: src/ia64/Gdestroy_addr_space.c -> src/ia64/Gdestroy_addr_space-ia64.c

(Logical change 1.32)
destroy_addr_space-ia64.c
4f5950ae7be7abaa9e4a8e10e70d08866779dc1a 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw): Move to global-ia64.c.
(tdep_uc_addr): "Rename" from _Uia64_uc_addr().
(_U_dyn_info_list): Move to global-ia64.c.
(ia64_init): Move to global-ia64.c.
(ia64_local_addr_space_init): New function.

}(Logical change 1.32)
init.c
89c97f37ee481c0799015f9747581e8a4878d69e 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw): Move to global-ia64.c.
(tdep_uc_addr): "Rename" from _Uia64_uc_addr().
(_U_dyn_info_list): Move to global-ia64.c.
(ia64_init): Move to global-ia64.c.
(ia64_local_addr_space_init): New function.

2002/12/18 15:52:23-08:00 mostang.com!davidm
Rename: src/ia64/Ginit.c -> src/ia64/Ginit-ia64.c

(Logical change 1.32)
init-ia64.c
a85267d16bbb01ee8d6c5b23bde75ac4c23bf116 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.32)
lobal-ia64.c
4bbf588c8993f27e355d8f8e700b22697363adb3 18-Dec-2002 mostang.com!davidm <mostang.com!davidm> (_Uia64_find_dyn_list): New ia64-specific helper routine to locate the dynamic-info
list address in an unwind-table.

(Logical change 1.31)
ables.c
3df8a3ce237cf71516676c07a82d92aaa6c4ebb0 18-Dec-2002 mostang.com!davidm <mostang.com!davidm> (_U_dyn_info_list): Move declaration to here from src/dyn-local.c.
(unwind-table entry for _U_dyn_info_list): Ditto (it's ia64-specific, so it can't
be in src/dyn-local.c).

(Logical change 1.31)
init.c
3076501b06eebc54b5162d930194ed4c679bf61c 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lset_reg.c -> src/ia64/Gset_reg.c

}(Logical change 1.30)
nw_set_reg.c
bae8873816daaecb819bfefe958a94a60c66bc63 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lset_reg.c -> src/ia64/Gset_reg.c

(Logical change 1.30)
set_reg.c
bc62754a1a833eaa186683039bc37c2c027f0c07 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lset_fpreg.c -> src/ia64/Gset_fpreg.c

}(Logical change 1.30)
nw_set_fpreg.c
a2375f43eda0456e4af6c5088e3440f18db8cd23 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lset_fpreg.c -> src/ia64/Gset_fpreg.c

(Logical change 1.30)
set_fpreg.c
94a6c8ca03b9f65190ef06627a38e89713406fba 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lset_caching_policy.c -> src/ia64/Gset_caching_policy.c

}(Logical change 1.30)
nw_set_caching_policy.c
8c8717dda780dd1e6d57081780d9a3d94fcbeff8 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lset_caching_policy.c -> src/ia64/Gset_caching_policy.c

(Logical change 1.30)
set_caching_policy.c
f176e2eb2a403ed2c2201fc7eb9f89c7f73c4913 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Linit_remote.c -> src/ia64/Ginit_remote.c

}(Logical change 1.30)
nw_init_remote.c
8f0b7818e7937e857663f35f1b42ad6288fdaf70 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Linit_remote.c -> src/ia64/Ginit_remote.c

(Logical change 1.30)
init_remote.c
e8e1af0a88dafba19abbf9f6bf62aa294f676a1b 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Linit_local.c -> src/ia64/Ginit_local.c

}(Logical change 1.30)
nw_init_local.c
064904ebcea230d58ffba12bc4132db2179ae06c 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Linit_local.c -> src/ia64/Ginit_local.c

(Logical change 1.30)
init_local.c
638d2f9eb307877e9ca745c2ee4b2b442aec3443 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lget_save_loc.c -> src/ia64/Gget_save_loc.c

}(Logical change 1.30)
nw_get_save_loc.c
1381978b0e1209116ddc1f3234b509112d74b505 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lget_save_loc.c -> src/ia64/Gget_save_loc.c

(Logical change 1.30)
get_save_loc.c
4a23fc2d5ee26ff05c41293eccabb7db2e1e1c6d 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lget_reg.c -> src/ia64/Gget_reg.c

}(Logical change 1.30)
nw_get_reg.c
86107764e3d6423a6b61ae3d9a3da2415843c4f7 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lget_reg.c -> src/ia64/Gget_reg.c

(Logical change 1.30)
get_reg.c
ea6147c8706e51334e4a9f511438afeb3811d32a 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lget_fpreg.c -> src/ia64/Gget_fpreg.c

}(Logical change 1.30)
nw_get_fpreg.c
b39ffb00e964361bceb1005d205b2e4e2e4868c5 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lget_fpreg.c -> src/ia64/Gget_fpreg.c

(Logical change 1.30)
get_fpreg.c
d0e344024c6f4511f241a9360c2bc865ccb5d697 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lflush_cache.c -> src/ia64/Gflush_cache.c

}(Logical change 1.30)
nw_flush_cache.c
7e60eb19b62bb9813357edc0f6faddb9bd826fb3 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Lflush_cache.c -> src/ia64/Gflush_cache.c

(Logical change 1.30)
flush_cache.c
96eeae58bdffa004ced1544487f35ae90f459dcc 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Ldestroy_addr_space.c -> src/ia64/Gdestroy_addr_space.c

}(Logical change 1.30)
nw_destroy_addr_space.c
01f9b269b2a6e0e3187df0d602e635d6e75d594e 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/Ldestroy_addr_space.c -> src/ia64/Gdestroy_addr_space.c

(Logical change 1.30)
destroy_addr_space.c
12f30d648157d340228b9dbb53809b52c23f5588 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Move enum ia64_pregnum and struct unw_addr_space to tdep-ia64.h.
(IA64_FLAG_SIGTRAMP): Replace with is_signal_frame member.
(IA64_FLAG_BIG_ENDIAN): Replace with per-address space big_endian flag.
(struct ia64_cursor): Add pi_valid and pi_is_dynamic members.
(ia64_find_proc_info): Add "need_unwind_info" argument.
(ia64_put_unwind_info): New macro.

(Logical change 1.30)
nwind_i.h
793c8a3005c4c0da52d4eb098b37e25b35e98974 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
create_addr_space.c
destroy_addr_space.c
flush_cache.c
get_accessors.c
get_fpreg.c
get_proc_info.c
get_proc_name.c
get_reg.c
get_save_loc.c
init.c
init_local.c
init_remote.c
is_signal_frame.c
parser.c
regs.c
resume.c
script.c
set_caching_policy.c
set_fpreg.c
set_reg.c
step.c
create_addr_space.c
destroy_addr_space.c
flush_cache.c
get_accessors.c
get_fpreg.c
get_proc_info.c
get_proc_name.c
get_reg.c
get_save_loc.c
init_local.c
init_remote.c
is_signal_frame.c
resume.c
set_caching_policy.c
set_fpreg.c
set_reg.c
step.c
c5307b2398bbf4cf8997a7fd7fcd3ef6a45fd3a8 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

}(Logical change 1.30)
unw_create_addr_space.c
unw_destroy_addr_space.c
unw_flush_cache.c
unw_get_accessors.c
unw_get_fpreg.c
unw_get_proc_info.c
unw_get_reg.c
unw_get_save_loc.c
unw_init_local.c
unw_init_remote.c
unw_is_signal_frame.c
unw_resume.c
unw_set_caching_policy.c
unw_set_fpreg.c
unw_set_reg.c
unw_step.c
924b1764b256eb107b213155ab71de7c6e34f9d1 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_step.c -> src/ia64/Lstep.c

(Logical change 1.30)
step.c
50cae0e2223f9775328d0e09df92ba83848f781f 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_set_reg.c -> src/ia64/Lset_reg.c

(Logical change 1.30)
set_reg.c
74bd7af8b5bf16160ca2a2e65e1d42a3673a7858 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_set_fpreg.c -> src/ia64/Lset_fpreg.c

(Logical change 1.30)
set_fpreg.c
ef1547248f66d39224605f7d4650115acac4f021 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_set_caching_policy.c -> src/ia64/Lset_caching_policy.c

(Logical change 1.30)
set_caching_policy.c
d7d8a16bc228246e613cef4148eb4e855c545d79 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_resume.c -> src/ia64/Lresume.c

(Logical change 1.30)
resume.c
56c38b5b4b8f983dac37ee4b7daccee0917af529 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_is_signal_frame.c -> src/ia64/Lis_signal_frame.c

(Logical change 1.30)
is_signal_frame.c
55e48ef09c1d56a8ac45d7ac8afd30bc8107a680 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_init_remote.c -> src/ia64/Linit_remote.c

(Logical change 1.30)
init_remote.c
cb24b9e4514c1f8325f1748e0feb73f5b2e88f20 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_init_local.c -> src/ia64/Linit_local.c

(Logical change 1.30)
init_local.c
2f64edbe65d599b5867da32cf64685d22496c796 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_get_save_loc.c -> src/ia64/Lget_save_loc.c

(Logical change 1.30)
get_save_loc.c
3af62b52aa084eca3cbf5dd0421367d60171e50a 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_get_reg.c -> src/ia64/Lget_reg.c

(Logical change 1.30)
get_reg.c
1f0e55bdb5a91a24bb8e848220d212a78ab8c3c0 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_get_proc_info.c -> src/ia64/Lget_proc_info.c

(Logical change 1.30)
get_proc_info.c
791bdf16c4a58de37ac05014b8cc22fe18359fa1 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_get_fpreg.c -> src/ia64/Lget_fpreg.c

(Logical change 1.30)
get_fpreg.c
1816abfa4e5745ef435bef465654513bbeb84535 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_get_accessors.c -> src/ia64/Lget_accessors.c

(Logical change 1.30)
get_accessors.c
c326357cd66d5161b25f3f0f4024a639823fd753 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:36-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_flush_cache.c -> src/ia64/Lflush_cache.c

(Logical change 1.30)
flush_cache.c
910dc47cfcd884de429b77ccb4e0560ae75f0a38 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:35-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_destroy_addr_space.c -> src/ia64/Ldestroy_addr_space.c

(Logical change 1.30)
destroy_addr_space.c
2120d31863ef2f02e706bcdc272603de1005ef4a 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

2002/12/11 12:26:35-08:00 mostang.com!davidm
Rename: src/ia64/Lunw_create_addr_space.c -> src/ia64/Lcreate_addr_space.c

(Logical change 1.30)
create_addr_space.c
a3b302887419a986ffcc7b84874fad3f50f64cda 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

(Logical change 1.30)
init.c
parser.c
regs.c
script.c
c23934ce5f8e2a19eb2c00fe14d6933d28b86c64 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file rename.

}(Logical change 1.30)
unw_find_dynamic_proc_info.c
da4aeb0ed1ed65ae69763d7c2d67a7d2206ee418 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for IA64_FLAG_SIGTRAMP -> c->is_signal_frame change.
(update_frame_state): Clear is_signal_frame to zero near the end. Clear
pi_valid instead of calling ia64_make_proc_info().

}(Logical change 1.30)
nw_step.c
c85fbb10f8e4b02d0591d290c215b1f8bd436186 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for IA64_FLAG_SIGTRAMP -> c->is_signal_frame change.
(update_frame_state): Clear is_signal_frame to zero near the end. Clear
pi_valid instead of calling ia64_make_proc_info().

2002/12/11 12:26:26-08:00 mostang.com!davidm
Rename: src/ia64/Lstep.c -> src/ia64/Gstep.c

(Logical change 1.30)
step.c
217ad52ca983ae795a9fc254f43feebde2e7c4bd 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for IA64_FLAG_BIG_ENDIAN -> as->big_endian change.
(ia64_access_regs): Call ia64_make_proc_info() to ensure c->pi.gp is valid before
returning it.

}(Logical change 1.30)
egs.c
3919f4ffb608d2b3439622043f95de1c235122b3 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for IA64_FLAG_BIG_ENDIAN -> as->big_endian change.
(ia64_access_regs): Call ia64_make_proc_info() to ensure c->pi.gp is valid before
returning it.

2002/12/11 12:27:31-08:00 mostang.com!davidm
Rename: src/ia64/regs.c -> src/ia64/Gregs.c

(Logical change 1.30)
regs.c
d3da35636843c825c90f6d15d708c01e23667024 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Add copyright header and forward-declration of ia64_cursor.

}(Logical change 1.30)
cript.h
a84826659d8ec3fd32ea65b73642e478ebcea41e 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_resume): Call ia64_make_proc_info() to ensure c->is_signal_frame is valid.

}(Logical change 1.30)
nw_resume.c
ea247163753e48549b6082f677cea554e8953924 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_resume): Call ia64_make_proc_info() to ensure c->is_signal_frame is valid.

2002/12/11 12:26:26-08:00 mostang.com!davidm
Rename: src/ia64/Lresume.c -> src/ia64/Gresume.c

(Logical change 1.30)
resume.c
4b3e3e5f9f38464cac0b1006bce041698704c217 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_local_addr_space): Initialize statically, so it's valid right away.
(put_unwind_info): New function.
(get_dyn_info_list_addr): Ditto.
(ia64_init): Initialize big_endian member in local_addr_space and
put_unwind_info and get_dyn_info_list_addr callbacks in the
accessor's structure.

}(Logical change 1.30)
nit.c
ef007fb585e48f62175de128286ca85cf16efb32 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_local_addr_space): Initialize statically, so it's valid right away.
(put_unwind_info): New function.
(get_dyn_info_list_addr): Ditto.
(ia64_init): Initialize big_endian member in local_addr_space and
put_unwind_info and get_dyn_info_list_addr callbacks in the
accessor's structure.

2002/12/11 12:27:19-08:00 mostang.com!davidm
Rename: src/ia64/init.c -> src/ia64/Ginit.c

(Logical change 1.30)
init.c
4e2f5c0fbf3190895b53c61f67285a0000fa38de 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_is_signal_frame): Use "is_signal_frame" instead of IA64_FLAG_SIGTRAMP flag bit.

}(Logical change 1.30)
nw_is_signal_frame.c
495a5a547f3eefbdf0e4b29d510d63a4ff0a3664 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_is_signal_frame): Use "is_signal_frame" instead of IA64_FLAG_SIGTRAMP flag bit.

2002/12/11 12:26:26-08:00 mostang.com!davidm
Rename: src/ia64/Lis_signal_frame.c -> src/ia64/Gis_signal_frame.c

(Logical change 1.30)
is_signal_frame.c
68c95d3f64779b83dc6029a2aae0ebccb2adaeb7 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_get_proc_info): Call ia64_make_proc_info() to ensure that the proc_info is
valid.

}(Logical change 1.30)
nw_get_proc_info.c
0a574c093691f0a16a3016456475ec98d57c1109 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_get_proc_info): Call ia64_make_proc_info() to ensure that the proc_info is
valid.

2002/12/11 12:26:26-08:00 mostang.com!davidm
Rename: src/ia64/Lget_proc_info.c -> src/ia64/Gget_proc_info.c

(Logical change 1.30)
get_proc_info.c
35697758fd0c78ea6a30b33d8e24047cb2142518 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_get_accessors): If libunwind hasn't been initialized yet, do so first to ensure
that the local accessors are valid.

}(Logical change 1.30)
nw_get_accessors.c
805bb72ed00d4191bdddd9a08918eb2987f86222 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_get_accessors): If libunwind hasn't been initialized yet, do so first to ensure
that the local accessors are valid.

2002/12/11 12:26:26-08:00 mostang.com!davidm
Rename: src/ia64/Lget_accessors.c -> src/ia64/Gget_accessors.c

(Logical change 1.30)
get_accessors.c
8c72d1c2771d1f9aad609b9c169e77aed15b54b7 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_create_addr_space): Support "byte_order" argument.

}(Logical change 1.30)
nw_create_addr_space.c
02e59a8939f290abb806a353ad03cdb222b905a3 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_create_addr_space): Support "byte_order" argument.

2002/12/11 12:26:25-08:00 mostang.com!davidm
Rename: src/ia64/Lcreate_addr_space.c -> src/ia64/Gcreate_addr_space.c

(Logical change 1.30)
create_addr_space.c
57a6d3699d9c76e9ed385692443a29b2908d19a7 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (script_finalize): Also initialize the proc_info.
(build_script): For signal-frames, generate an instruction that will set
is_signal_frame to TRUE.

}(Logical change 1.30)
cript.c
8f82941a848bad37d3b701cf65df2bdca78e0de2 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (script_finalize): Also initialize the proc_info.
(build_script): For signal-frames, generate an instruction that will set
is_signal_frame to TRUE.

2002/12/11 12:27:36-08:00 mostang.com!davidm
Rename: src/ia64/script.c -> src/ia64/Gscript.c

(Logical change 1.30)
script.c
13032ebce3153032bb3ba7572a5f61f4aa84ed1c 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (local_find_proc_info): New function.
(remote_find_proc_info): Ditto.

}(Logical change 1.30)
nw_find_dynamic_proc_info.c
dea15a73d09a68848759dc7e2d8fe32ad9296f52 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (is_local_addr_space): New function.
(tdep_search_unwind_table): Rename from _Uia64_search_unwind_table() and declare as
HIDDEN. Allocate (if needed) and fill in unwind_info only if requested.
(tdep_put_unwind_info): New function.
(_Uia64_find_proc_info): Add "need_unwind_info" argument and declare as HIDDEN.

(Logical change 1.30)
ables.c
f96f12879c9cab78cfdd865512eed6a8786362ee 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (get_proc_info): Take additional "need_unwind_info" argument and set pi_valid
and pi_is_dynamic flags in the cursor structure.
(put_unwind_info): New function.
(create_state_record_for): Release unwind-info via a call to put_unwind_info() after
we're done parsing it.

}(Logical change 1.30)
arser.c
8578dc1e6d6c78ed14c99455cc78bfcd31018141 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (get_proc_info): Take additional "need_unwind_info" argument and set pi_valid
and pi_is_dynamic flags in the cursor structure.
(put_unwind_info): New function.
(create_state_record_for): Release unwind-info via a call to put_unwind_info() after
we're done parsing it.

2002/12/11 12:27:25-08:00 mostang.com!davidm
Rename: src/ia64/parser.c -> src/ia64/Gparser.c

(Logical change 1.30)
parser.c
2e0505826fb8e49628c58c22dc9c62133a235854 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (common_init): Clear "is_signal_frame". Instead of calling ia64_make_proc_info(),
simply clear "pi_valid" flag.

(Logical change 1.30)
nit.h
653c9006ac876d521a4caf36de57089f0a74c6af 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.30)
get_proc_name.c
get_proc_name.c
b691bb13009ffeb2e93261f7c879e4e93b646e18 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.29)
unw_find_dynamic_proc_info.c
unw_get_accessors.c
unw_get_proc_info.c
nw_find_dynamic_proc_info.c
nw_get_accessors.c
nw_get_proc_info.c
612e33825c83aa606bfd7198df3cdbf9782cf1c9 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
unw_find_dynamic_proc_info.c
unw_get_accessors.c
unw_get_proc_info.c
ables.c
nw_find_dynamic_proc_info.c
nw_get_accessors.c
nw_get_proc_info.c
214827cae80d2e9fe74e1b5201ee6f0cb13d40cf 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (update_frame_state): Do an early return if IP is zero (end of chain).

(Logical change 1.29)
nw_step.c
1c1b6a171f7234af89fd3450ecfe66e46f469ef4 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_regname): Remove names for UNW_REG_PROC_START, UNW_REG_HANDLER, and
UNW_REG_LSDA.

(Logical change 1.29)
nw_regname.c
83f2952a864855f6e24697fe6e1c6c16c726a1a3 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_get_save_loc): Remove handling of UNW_REG_PROC_START, UNW_REG_HANDLER,
and UNW_REG_LSDA.

(Logical change 1.29)
nw_get_save_loc.c
22c1128cf793d7c1245488a5e85f7af4860b6bc2 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (struct ia64_table_entry): New type (moved from unwind_i.h).
(lookup): New function (moved from parser.c).
(_Uia64_search_unwind_table): New function (based on code in parser.c).
(kernel_table): New variable.
(get_kernel_table): Relocate the kernel table's "info_offset" values as we
count it. Adjust for new callback-interface.
(callback): Adjust for new interface.
(_Uia64_find_proc_info): Rename from _Uia64_glibc_acquire_unwind_info).

}(Logical change 1.29)
ables-glibc.c
42fdeb430b71b3a39e4d401fe65aca0662fa396e 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (struct ia64_table_entry): New type (moved from unwind_i.h).
(lookup): New function (moved from parser.c).
(_Uia64_search_unwind_table): New function (based on code in parser.c).
(kernel_table): New variable.
(get_kernel_table): Relocate the kernel table's "info_offset" values as we
count it. Adjust for new callback-interface.
(callback): Adjust for new interface.
(_Uia64_find_proc_info): Rename from _Uia64_glibc_acquire_unwind_info).

2002/11/27 16:44:37-08:00 mostang.com!davidm
Rename: src/ia64/tables-glibc.c -> src/ia64/tables.c

(Logical change 1.29)
ables.c
d49825fd74832d739f166082e299b0e7d7237395 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (struct ia64_script): Change type of "pi" member from struct ia64_proc_info to
unw_proc_info_t.

(Logical change 1.29)
cript.h
c97d8cdab47236ffaa65e9a3a3f29e95b865c8e6 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (struct ia64_proc_info): Delete.
(struct ia64_cursor): Change type of "pi" member from struct ia64_proc_info to
unw_proc_info_t.
(struct unw_addr_space): Declare "acc" member even for UNW_LOCAL_ONLY case.
(ia64_acquire_unwind_info): Delete
(ia64_relesae_unwind_info): Ditto.
(ia64_find_proc_info): New routine.
(struct ia64_unwind_table_entry): Delete.
(struct ia64_unwind_talbe): Ditto.
(struct ia64_global_unwind_state): Remove "unwind_table_pool" member.
(ia64_get_proc_info): Rename to ia64_make_proc_info().

(Logical change 1.29)
nwind_i.h
75952fdf41a3bfb90e88c9c2648d2a20879ad602 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (ia64_local_resume): Adjust for new address-space argument.

(Logical change 1.29)
nw_resume.c
1170560e625e5bee3a2392d6247f18e92ff48d5e 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (ia64_access_reg): Remove handling of UNW_REG_PROC_START, UNW_REG_HANDLER, and
UNW_REG_LSDA.

(Logical change 1.29)
egs.c
5ef3b80ed0153dd66a113b3947877c16c39e32af 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (get_script_cache): Flush cache only if the generation-numbers differ.

(Logical change 1.29)
cript.c
b8802b5c11237bc5f1088973cd757c065980a9dd 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (finish_prologue): Iterate over "mask" only if it is non-zero.
(lookup_preg): New function.
(parse_dynamic): Ditto.
(get_proc_info): Take explicit IP argument.
(create_state_record_for): New function, containing most of the code originally
in ia64_create_state_record(). Don't forget to initialize
sr->first_region. Check c->pi.format and parse unwind descriptors or
dynamically registered unwind info accordingly.
(ia64_get_proc_info): Adjust for extra argument expected by get_proc_info().
(ia64_create_state_record): Do interesting work by calling create_state_record_for().

(Logical change 1.29)
arser.c
3ab317eef58e923ccef6cffbad924f8c37619d13 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (common_init): Adjust for rename of ia64_get_proc_info() to ia64_make_proc_info().

(Logical change 1.29)
nit.h
cfae46ade616f21a036c51ebe69e77f58d5d01e4 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (access_mem): Adjust for fact that address-space is now passed as first arg.
(access_reg): Ditto.
(access_fpreg): Ditto.
(ia64_init): Remove initializationof unw.unwind_table_pool. Initialize accessors
even for UNW_LOCAL_ONLY case.

(Logical change 1.29)
nit.c
f277006b837c8b5b24c60c0bc710e28ef3861db4 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.27)
unw_create_addr_space.c
unw_destroy_addr_space.c
nw_create_addr_space.c
nw_destroy_addr_space.c
f6ba78341f87845e4b121f196135799106b8b9d0 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
unw_create_addr_space.c
unw_destroy_addr_space.c
nw_create_addr_space.c
nw_destroy_addr_space.c
5287e145c371892f26d28e817efcedfe30b5c044 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (unw_set_caching_policy): Adjust for new interface.

(Logical change 1.27)
nw_set_caching_policy.c
772f42385287acf7b84276bbb3b64da5eb1bb602 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (unw_local_addr_space): Define here.
(local_addr_space): New variable.
(uc_addr): Move here from unw_init_local.c.
(_Uia64_uc_addr): Ditto.
(access_mem): Ditto.
(access_reg): Ditto.
(access_fpreg): Ditto.
(ia64_init) [!UNW_REMOTE_ONLY]: Initialize local_addr_space.

(Logical change 1.27)
nit.c
1481ba336b2893600aab1daf44dfc478316be2ae 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (unw_init_remote): Adjust for new interface.

(Logical change 1.27)
nw_init_remote.c
349dc592e19f9abfecf79925971b95b76b3207a4 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (unw_init_local): Initialize c->as_arg with context-pointer (instead of c->uc).

(Logical change 1.27)
nw_init_local.c
22e898a099920ed6bfc2fe504f62e2ee527e52ce 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (unw_get_save_loc): Adjust for fact that context pointer is now stored in
c->as_arg, which is a "void *".

(Logical change 1.27)
nw_get_save_loc.c
09eaf30ca412dc2554d372b0887f019deea023ed 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (unw_flush_cache): Adjust for new arguments.

(Logical change 1.27)
nw_flush_cache.c
9f93a9d0da46ee23112a7a90404d1f4e364079e0 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (ia64_local_resume): Move here from unw_init_local().

(Logical change 1.27)
nw_resume.c
40e5cd3ca7730f319fdeca555c02484b85e28a57 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (get_proc_info): Adjust for move of "tables" member into the address-space structure.
(ia64_get_proc_info): Always compile-in script-lookup, but check script-cache only
if caching is enabled.

(Logical change 1.27)
arser.c
b5e3d308ef304935e5717de9c1ed45a807499707 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (flush_script_cache): Take additional "address-space" argument.
(get_script_cache): Ditto.
(script_lookup): Renamed from ia64_script_lookup() and add "address-space" argument.
(ia64_script_lookup): New function.
(build_script): Get script from the caller instead of via script_new().
(ia64_find_save_locs): If caching is disabled, create a temporary script and
do not update the script cache.

(Logical change 1.27)
cript.c
07beae63f4d193829de43d4dd095f3ced8bd500d 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (common_init): Initialize c->hint and c->prev_script unconditionally.

(Logical change 1.27)
nit.h
007805c65a52897bc5bfce022283f546ac76f1a4 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (access_nat) [UNW_LOCAL_ONLY]: Adjust for fact that context-pointer is now stored
in c->as_arg, which is a "void *".

(Logical change 1.27)
egs.c
990790c880ff486703c12e6150e54117f0cd323d 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (

(Logical change 1.27)
nwind_i.h
aca3843d6f53f2b36cb66c167a10e3e30e8ebd3a 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Switch to MIT license.

(Logical change 1.26)
_ia64_install_context.S
nit.c
nit.h
arser.c
egs.c
cript.c
cript.h
ables-glibc.c
context_i.h
nw_get_fpreg.c
nw_get_reg.c
nw_init_local.c
nw_init_remote.c
nw_is_signal_frame.c
nw_resume.c
nw_set_fpreg.c
nw_set_reg.c
nw_step.c
nwind_decoder.h
nwind_i.h
c2262737f7313096b2aaa1ebbd3c7ae062005ba2 14-Nov-2002 model.com!marky <model.com!marky> Fix typo in ia64_put()

(Logical change 1.24)
nwind_i.h
126ca1056681a08a28d7c4f16c5689b6ce9174e2 12-Nov-2002 hp.com!davidm <hp.com!davidm> Remove IA64_UNW_SCRIPT_CACHE macro. Move script cache info into
separate ia64_script_cache structure.
(unw.cache_generation): New member.
(unw.global_cache): Ditto.
(ia64_per_thread_cache): New macro.
(ia64_script_cache_init): Ditto.
(ia64_script_cache_init): Add declaration.

(Logical change 1.23)
nwind_i.h
aca9360701ca47398ae72fd50a4ccb65fdbc35ab 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.22)
unw_flush_cache.c
unw_set_caching_policy.c
nw_flush_cache.c
nw_set_caching_policy.c
e04493ac30c7b4b3fabccd50329d9ef6fecb44ba 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
unw_flush_cache.c
unw_set_caching_policy.c
nw_flush_cache.c
nw_set_caching_policy.c
57c618492530c7c7b047f1c89dba8350e2d3ca7a 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (struct unw): Remove "hash" member.
(ia64_init): Replace cache-initialization with call to ia64_script_cache_init().

(Logical change 1.22)
nit.c
e196ffd7eb16ec29200c7d153e0e654a7270f684 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (struct ia64_script_cache): New structure (broken out from global unwind state).

(Logical change 1.22)
cript.h
d7d0463d0b2282c74d2ddfcfa3a19beccdde694b 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (ia64_per_thread_cache) [HAVE___THREAD]: New variable.
(flush_script_cache): New function.
(get_script_cache): Ditto.
(ia64_script_lookup): Modify to support multiple (in particular: per-thread) caches.
(script_new): Add explicit "cache" pointer argument.
(ia64_script_lookup): Add multi-cache support.
(build_script): Ditto.
(ia64_find_save_locs): Ditto.
(ia64_script_cache_init): New function.

(Logical change 1.22)
cript.c
e633236827c579711822c22b65f70965f8bd0cb2 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (ia64_getfp): Change from macro to inline function. Check "loc" argument for
being NULL before dereferencing it.
(ia64_putfp): Ditto.
(ia64_get): Ditto.
(ia64_put): Ditto.

(Logical change 1.21)
nwind_i.h
4583a3fc273bc79dafcf96808ff4c85c09f77ca6 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Fix bugs reported by Robert Faught:

(unw_get_save_loc): Handle b6 like b7.
(unw_get_save_loc): Fix typo: "if (!sloc)" was meant to be "if (!loc)".

(Logical change 1.21)
nw_get_save_loc.c
6a0ac2b8a46d151cffadb26e809c02f8ce9fb255 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (ia64_scratch_loc): Handle b6 like b7. Reported by Robert Faught.
(ia64_access_reg): Ditto.

(Logical change 1.21)
egs.c
3fbd1a1d688b8d6c55468576b55fd3a08992271e 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Minor formatting fixes.

(struct ia64_reg_state): Moved here from parser.c.
(struct ia64_global_unwind_state): Add unwind_table_pool, state_record_pool,
and labeled_state_pool.

(Logical change 1.19)
nwind_i.h
b4d191544aa1337cb3945ab19100413a0b05e30b 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Keep list of things to test.

(Logical change 1.19)
ODO
b04ff63c652ef194234b3ac61c08895d37e01031 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (update_frame_state): Print debug output when catching sigcontext location.

(Logical change 1.19)
nw_step.c
a2284ed1f38447e668b648f768ed91f8281c74db 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (unw_get_save_loc): Remove unused variables sc_addr and ret.

(Logical change 1.19)
nw_get_save_loc.c
76a2d6a18b3b09d48b1f721cddfbe989730bdc78 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (struct ia64_labeled_state): Move to unwind_i.h.
(alloc_reg_state): Use mempool interface.
(free_reg_state): Ditto.
(alloc_labeled_state): Ditto.
(free_labeled_state): Ditto.
(alloc_spill_area): Fix spill-area allocation (fix by Richard Henderson).
(desc_frgr_mem): Fix case for f16-f31 (fix by Richard Henderson).
(get_proc_info): Use mempool_alloc() instead of malloc().

(Logical change 1.19)
arser.c
ce831876f24dabfe25be08380327d824a336aac0 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (ia64_init): Initialize mempools.

(Logical change 1.19)
nit.c
d603a5b4bba0df046607524257f546b2c0e0d782 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (ia64_access_reg): r15-r18 should refer to sigcontext IFF the cursor is currently
pointing at the signal trampoline frame. Otherwise, raising an exception from within
a signal handler will fail to pass the exception arguments to the exception handler.

(Logical change 1.19)
egs.c
e3cb03d7b665c5ddb2c06b0c976f470acc60b1e1 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (get_kernel_table): Use sos_alloc()/sos_free() instead of malloc()/free().

(Logical change 1.19)
ables-glibc.c
9ac7c9cda2cb9305d6a20679f92d8873f7b325b6 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (common_int): Explicitly declare return type as "int".

(Logical change 1.19)
nit.h
1c0d73e27ddd03b3c057ede4fad4e0dddb5511f7 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> Replace uses of IA64_FLAG_SIGTRAMP flag by checks against sigcontext_loc.

(Logical change 1.18)
egs.c
c0a60b6f82c7b72ac6a50db8ddd420ac1b5e57e6 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.18)
unw_is_signal_frame.c
f7381ce536dc3bfd7302c549baaf5c9920d62b03 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
unw_is_signal_frame.c
af6fe3711915348fdf967de5806031930c0e6ee6 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> Include <stdlib.h>.
(ia64_init): Initialize debug level from UNW_DEBUG_LEVEL environment variable.

(Logical change 1.18)
nit.c
039f99fef0d127a813402bb0adbc0eb4d7f653af 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (update_frame_state): Fix handling of sigtramp frames. Also work around bugs
in kernel unwind info.

(Logical change 1.18)
nw_step.c
118746f9e5c78b38da4ab40f5e45d933675be0e6 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (unw_is_signal_frame): Need to (re-)create state record before we can check
IA64_FLAG_SIGTRAMP.

(Logical change 1.18)
nw_is_signal_frame.c
83da1e6ac1a48d1eb34f6e51194f10a9cf11a153 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (unw_get_save_loc): Replace check for IA64_FLAG_SIGTRAMP with check against
c->sigcontext_loc.

(Logical change 1.18)
nw_get_save_loc.c
563bccbf75901c7af98525cb5324d4c9034d371c 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (struct ia64_cursor): Add sigcontext_loc.

(Logical change 1.18)
nwind_i.h
4d37950b2c182e7bc1de517aa27c9d87a28d5183 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (rotate_gr): If the register is outside the current stacked frame, return -1.

(Logical change 1.18)
egs.h
2294fb8aa20e50ee17a719a26058d8d698227bb7 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (ia64_create_state_record) [IA_UNW_DEBUG]: Display state record for default
frame state as well.

(Logical change 1.18)
arser.c
c8453178899d42fcb5fc2cca6a43f6122378ae3c 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (getunwind): Define only if HAVE_GETUNWIND is not defined.
(_Uia64_glibc_acquire_unwind_info): Correct typo: dl_iterate_phdr() is successful
only if it returns a positive value.

(Logical change 1.18)
ables-glibc.c
c56126ea7b28a3c91ec7dada4eb0f13b022b6ba4 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (common_init): Initialize c->sigcontext_loc to zero.

(Logical change 1.18)
nit.h
c528adf7c79337bda4e335fa8507e9b8e0fb30ee 19-Apr-2002 mostang.com!davidm <mostang.com!davidm> Fix typo which caused register names to be off by 7.

(Logical change 1.17)
nw_regname.c
5a6e6f89d8b148e00913a0f6a4afd60c21996dcb 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> SP is now read via UNW_IA64_GR + 12.
Change prefix from _U_ia64 to _Uia64.
Rename _U_ia64_regname() to unw_regname().

(Logical change 1.16)
nw_init_local.c
50b1a123c0e7cd96e21b4c51fa8a7d686304a845 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> (regname): Update with current register names.
(unw_regname): First register number now starts with zero.

2002/04/11 21:43:00-07:00 mostang.com!davidm
Rename: src/ia64/shared.c -> src/ia64/unw_regname.c

(Logical change 1.16)
nw_regname.c
27cb8c28449f5010e2355c180474d7a217afb37e 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
nw_regname.c
82248d8a12b923c746051c6171965bf961bc559c 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> Change prefix from _U_ia64 to _Uia64.

(Logical change 1.16)
ables-glibc.c
9d5e392426553487e13b81da3af8105eb6d3943b 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> (regname): Update with current register names.
(unw_regname): First register number now starts with zero.

}(Logical change 1.16)
hared.c
bd228fb16a2fbf6a6bb137c582079357df11de87 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> (_U_ia64_regname): Delete declaration.
Change prefix from _U_ia64 to _Uia64.
Drop extraneous ia64_ prefix from ia64-specific routines.

(Logical change 1.16)
nwind_i.h
cc5ee5947ac4d3db60be829ba6b391256897e422 06-Apr-2002 hp.com!davidm <hp.com!davidm> Update.

(Logical change 1.12)
ODO
1f20cef0573ab930e574675298a12160dcb3f18c 06-Apr-2002 hp.com!davidm <hp.com!davidm> Include libunwind-ia64.h instead of libunwind.h.

(Logical change 1.12)
nwind_i.h
f8cdbb6ef032df3ab40cc096f7a0f2faf942081e 04-Apr-2002 mostang.com!davidm <mostang.com!davidm> Update.

(Logical change 1.11)
ODO
fb9b517d0c1d4c0306965c1764c77ef1938ef7ea 04-Apr-2002 mostang.com!davidm <mostang.com!davidm> Read stack pointer from r12.

(Logical change 1.11)
nit.h
b682349b33c86364669bd4e1016075695507d567 03-Apr-2002 hp.com!davidm <hp.com!davidm> (Logical change 1.10)
unw_get_save_loc.c
egs.h
3b315369bcf6e55ccffd9c5df40003ba991d06d6 03-Apr-2002 hp.com!davidm <hp.com!davidm> Initial revision
unw_get_save_loc.c
egs.h
4e41f21f65d3c492bf990c8196237fef864997e5 03-Apr-2002 hp.com!davidm <hp.com!davidm> Fix typo in comment.

(Logical change 1.10)
nwind_i.h
fb94137d04d977b9f2575c227a74ab5b78562806 03-Apr-2002 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): First draft-implementation. Should be reasonably close to something
useful.

(Logical change 1.10)
nw_get_save_loc.c
a5bf714ea51b1f3a01e88dfd261f0ff5c7e89623 03-Apr-2002 hp.com!davidm <hp.com!davidm> (rotate_gr, rotate_fr, pr_ltop, pr_ptol): Move into regs.h.

(Logical change 1.10)
egs.c
99639fb162e8ed476b1d572d18404791a406e3ec 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Rename UNW_IA64_CURRENT_BSP to UNW_IA64_BSP.

(Logical change 1.9)
egs.c
5e30dcbde3003a8efbc499f88f24a3a95f47e3a1 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Mention debugger requirements.

(Logical change 1.9)
ODO
6f514a672633048b2f6eb2e9b2353643bd4c444a 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.9)
unw_get_fpreg.c
unw_set_fpreg.c
nw_get_fpreg.c
nw_get_save_loc.c
nw_set_fpreg.c
3d5c9efd1e3208252665ba8e6200a17b8473e76d 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
unw_get_fpreg.c
unw_set_fpreg.c
nw_get_fpreg.c
nw_get_save_loc.c
nw_set_fpreg.c
883ce4ca59f75d0956ba3d3ae2916015ae6eed97 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Drop useless STAT() call.

(Logical change 1.9)
nw_step.c
9a2039fe0179b715daed0205564f6cffa519b389 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Protect against multiple inclusion. Define IA64_UNW_DEBUG based on DEBUG. Document
that in the UNW_LOCAL_ONLY-case, bit 2 in register save locations is unused. If
UNW_LOCAL_ONLY is defined, define stream-lined versions of IA64_REG_LOC(),
IA64_FPREG_LOC(), ia64_acquire_unwind_info(), ia64_release_unwind_info(), ia64_get(),
ia64_put(), ia64_getfp(), and ia64_putfp(). Drop convenience macros and declarations for
ia64_glibc_{acquire,release}_unwind_info(). Add convenience macro and declaration for
ia64_local_resume().

(Logical change 1.8)
nwind_i.h
59f4f0d4c12883ae3d6c7cd805789f4b28e6a478 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Move sharable stuff into shared.c.

(Logical change 1.8)
nit.c
0c897ad8586f23cbdefdc5f5597d8fc470d47869 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Make this file sharable by using exported names that do not depend on UNW_LOCAL_ONLY.

(Logical change 1.8)
ables-glibc.c
3083f408428ac6c1de1428295748f81371ec3a3c 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
init.c
parser.c
regs.c
script.c
script.c~
unw_get_reg.c
unw_init_local.c
unw_init_remote.c
unw_resume.c
unw_set_reg.c
unw_step.c
nit.h
hared.c
ede7c575f9ee0474e1b308d76a264907f5ef2ffa 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Adjust for fact that IA64_REG_LOC now takes two arguments.
Special case access of NaT bits.

(Logical change 1.8)
egs.c
2353a19c6754bc15248a7f043845d8530adbee03 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> (unw_resume): If UNW_LOCAL_ONLY is defined, directly call ia64_local_resume().

(Logical change 1.8)
nw_resume.c
155b35c2cfe28681bc9807a066f304039293040b 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> (unw_init_remote): If UNW_LOCAL_ONLY is defined, return -UNW_EINVAL. Use common_init()
to handle most of the cursor initialization.

(Logical change 1.8)
nw_init_remote.c
503d83fa69bf9f84da324f7e22f3a5477afefea7 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> (uc_addr): New function to translate a register number into a ucontext address.
(_U_ia64_uc_addr): New function.
(access_reg): Use uc_addr() to calculate ucontext address. Use uc->sc_rbs_base
when accessing ar.bsp or ar.bspstore (see comments for unw_init_local()).
(access_fpreg): Ditto.
(ia64_local_resume): Renamed from resume(). Read NaT bits via ia64_access_reg().
Call abort() instead of fprintf() when encountering a signal trampoline.
(unw_init_local): Initialize uc->sc_rbs_base to the bsp value of the current function.
For UNW_LOCAL_ONLY case, just initialize c->uc and then call
common_init() to do the remaining initialization. For the general case,
just initialize the accessor and then also call common_init().

(Logical change 1.8)
nw_init_local.c
5e34685f1847c7b616bee0055176231ef5012d37 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.8)
init.c
parser.c
regs.c
regs.c~
script.c
script.c~
unw_get_reg.c
unw_get_reg.c~
unw_init_local.c
unw_init_remote.c
unw_resume.c
unw_set_reg.c
unw_step.c
nit.h
hared.c
97c6919cd32c27890ef11f625c4673f052e552ab 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/unwind_decoder.c -> src/ia64/unwind_decoder.h

}(Logical change 1.7)
nwind_decoder.c
de7b9f4912d3f62da5be7474cf4a6c7fa2d3b3eb 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/unwind_decoder.c -> src/ia64/unwind_decoder.h

(Logical change 1.7)
nwind_decoder.h
95ce9146a75cc7e572842af61519fed591264a38 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
nwind_decoder.h
2f69df1d92b369bd406e99ff7ccd42ccb4850a83 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Include unwind_decoder.h instead of unwind_decoder.c.

(Logical change 1.7)
arser.c
68ffdc1fcea1111572ee8b861e1b466d942cc29d 22-Feb-2002 (none)!davidm <(none)!davidm> When printing a value of type unw_word_t, use the %lu format and
cast the value to (long).

(struct ia64_labeled_state): New type.
(alloc_labeled_state): New macro.
(free_labeled_state): Ditto.
(push, pop): Update for new ia64_state_record layout.
(dup_state_stack): New function.
(free_state_stack): Ditto.
(desc_copy_state): Make it restore the entire stack of states, not
just the current one.
(desc_label_state): Make it save the entire stack of states, not
just the current one.
(ia64_free_state_record): Free the list of labeled states.

(desc_prologue): Terminate parsing at end of region regardless of
whether the next region is a body or a prologue.

(lookup): Verify that unwind table entry found by binary search
really includes the desired IP. If not, return NULL.
(get_proc_info): Adjust for move of start/end from unwind table
to the unwind table info. Return -UNW_ENOMEM if unable
to allocate a new table. If unwind entry does not exist
for desired IP, clear the procedure info to zero. Check
the unwind version number and return -UNW_EBADVERSION if
it is not 1.

(Logical change 1.5)
arser.c
8dbd577e05cf102bc2613751c4e42b9e0e57e934 22-Feb-2002 (none)!davidm <(none)!davidm> To simplify cross-compilation, use unw_word_t instead of long pointers
for backing store addresses.

(Logical change 1.5)
se.h
6a4f3b23c1ba506fd36dee49e26e845a56451837 22-Feb-2002 (none)!davidm <(none)!davidm> Rename IA64_UNW_ACCESSORS to UNW_LOCAL_ONLY. Drop weak_alias() and
alias() macros.

(struct ia64_cursor): Rearrange order of members a bit to group
things that logicall belong together. Rename rp_loc to
ip_loc.
(struct ia64_unwind_table): Drop start and end members (they are now
in unw_ia64_table_t).
(struct ia64_reg_state): Break declaration out of declaration for
ia64_state_record and add "next" member.
(struct ia64_state_record): Add member "labeled_states", drop
members "stack", and "reg_state_list".

(Logical change 1.5)
nwind_i.h
143ace01a8f2bc773d378a6a5e7170f80134ce66 22-Feb-2002 (none)!davidm <(none)!davidm> Rename IA64_INSN_MOVE_SIGCONTEXT to IA64_INSN_MOVE_SCRATCH.

(Logical change 1.5)
cript.h
60cbd737abc62f0337115f9dc3ac806e65a45bb5 22-Feb-2002 (none)!davidm <(none)!davidm> Reformat preg_index initialization to GNU Coding standard.

(Logical change 1.5)
nit.c
4224f76cfd2edcd761db73be13a57576d85e6dc1 22-Feb-2002 (none)!davidm <(none)!davidm> Initial revision
ffsets.h
7820abd97739b0fa658a086df9e6c70f4ef19022 22-Feb-2002 (none)!davidm <(none)!davidm> Include "offsets.h" to get offsets for various structures (such
as sigcontext). Adjust for the fact that the RSE arithmetic
is now done on values of type unw_word_t rather than long pointers.

(ia64_scratch_loc): Rename from ia64_get_sigcontext() and expand
it such that it returns a scratch register location if
the current frame is not a sigcontext frame.
(ia64_access_reg): Read the address of the personality routine with
ia64_get() rather than trying to dereference the address
directly. When writing the IP or the PR, update the cached
values, too.

(Logical change 1.5)
egs.c
37905614970a010a1af610fd247337dca76cebe8 22-Feb-2002 (none)!davidm <(none)!davidm> Include "offsets.h" instead of <signal.h> to enable cross-compilation.
Use offsets defined in this file instead of calculating the offsets
from sigcontext structure.

(update_frame_state): Rename from ia64_get_frame_state() and make it
static and inlined.

(unw_step): Call update_frame_state() instead of ia64_get_frame_state().

(Logical change 1.5)
nw_step.c
172cc2ba9b79251af946de97095078e2abd35615 22-Feb-2002 (none)!davidm <(none)!davidm> If UNW_REMOTE_ONLY is defined, make unw_init_local() a stub that
unconditionally returns -UNW_EINVAL.

(access_reg): IP is now read via UNW_IA64_IP (instead of
UNW_IA64_BR+0). CFM is now read via UNW_IA64_CFM
instead of UNW_IA64_AR_PFS. For UNW_IA64_AR_BSP
(and UNW_IA64_AR_BSPSTORE), adjust the pointer so
that it points to the first stacked register in
the current frame.
(resume): "rp_loc" has been renamed to "ip_loc".
(unw_init_local): Add an #error directive to prevent compilation
with UNW_LOCAL_ONLY until this case has been implemented.

(Logical change 1.5)
nw_init_local.c
7c934e9308f8e7f47ac8b8282c5113b6f69c95a1 22-Feb-2002 (none)!davidm <(none)!davidm> For now, add #error directive to ensure compilation fails when
attempting to compile with UNW_LOCAL_ONLY.

(Logical change 1.5)
nw_resume.c
fb5ed0d9397bad18d331d3e56fc3aa43d42b666d 22-Feb-2002 (none)!davidm <(none)!davidm> Compile only if UNW_REMOTE_ONLY is not defined.

(get_kernel_table): Return -UNW_ENOMEM if unable to allocate buffer
for kernel's unwind info. Initialize the start and end
members in unw_ia64_table_t.
(callback): Initialize the start and end members.

(Logical change 1.5)
ables-glibc.c
4588bf926d4b63b9b03e05049da3fdead124dfec 22-Feb-2002 (none)!davidm <(none)!davidm> Build only if UNW_REMOTE_ONLY is not defined.

(Logical change 1.5)
_ia64_install_context.S
5cdb197f44e4c29b7451471cbaa8fb63a34c5e4c 22-Feb-2002 (none)!davidm <(none)!davidm> (unw_init_remote): Rename from ia64_init_remote(). Initialize
cfm_loc with UNW_IA64_CFM. Initialize bspstore_loc with
UNW_IA64_AR_BSPSTORE. Renamem rp_loc to ip_loc and initialize
with UNW_IA64_IP. Initialized the cached values of
PR and IP. Initialize sp and psp to value in UNW_IA64_SP.
Initialize exception handling args by reading the corresponding
scratch registers (r15-r18). If the read fails, initialize
with 0. Finish by calling ia64_get_proc_info() instead of
ia64_get_frame_state().

(Logical change 1.5)
nw_init_remote.c
dffc24cb9fd2248bc2c260e135b4f003c00403f4 22-Feb-2002 (none)!davidm <(none)!davidm> (compile_reg): Use IA64_INSN_MOVE_SCRATCH instead of
IA64_INSN_MOVE_SIGCONTEXT.
(run_script): Drop IA64_INSN_MOVE_SIGCONTEXT. Implement
IA64_INSN_MOVE_SCRATCH by calling ia64_scratch_loc().

(Logical change 1.5)
cript.c
73c10de341a80823fbd6e15503fe1813a918929f 22-Feb-2002 (none)!davidm <(none)!davidm> (Logical change 1.5)
ffsets.h
444b815950bbde98ab81800cf07923093566cc2a 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> Clarify comment about proc_info.

(Logical change 1.4)
OTES
7fbfe0a255eb7ff3f27efa5adc6ed69dab471ecf 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.3)
OTES
ODO
_ia64_install_context.S
nit.c
arser.c
egs.c
se.h
cript.c
cript.h
ables-glibc.c
context_i.h
nw_get_reg.c
nw_init_local.c
nw_init_remote.c
nw_is_signal_frame.c
nw_resume.c
nw_set_reg.c
nw_step.c
nwind_decoder.c
nwind_i.h
63669f7ad4fc6eb752c88713235e2438a8e327d5 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
OTES
ODO
_ia64_install_context.S
nit.c
arser.c
egs.c
se.h
cript.c
cript.h
ables-glibc.c
context_i.h
nw_get_reg.c
nw_init_local.c
nw_init_remote.c
nw_is_signal_frame.c
nw_resume.c
nw_set_reg.c
nw_step.c
nwind_decoder.c
nwind_i.h