History log of /external/libunwind/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
965cd6944d33fd7a2ef7c4f4cb8f3c8e420d93cc 13-Nov-2014 Christopher Ferris <cferris@google.com> Fix initialization problem.

The local address space map init can be called twice. Make sure it's
only called once.

Bug: 18380960

Change-Id: Iee3666c45ee67a2f150e62dd768845bccd609654
os-common.c
i/Lmap.c
23c6aa9a54d0a220fb2557197c555b2684c93876 27-Oct-2014 Christopher Ferris <cferris@google.com> Fix aarch64 handling of error code.

In the is_signal_frame call, there is an error return path that can
return a non-zero value. Unfortunately, only zero is considered an
error, so this causes the frame to be handled incorrectly.

Once this was fixed, I also modified the code so that if the treating
the unwind as in a signal frame fails, we can fall back and try a couple
of different paths.

It turns out this is_signal_frame check was broken on arm too.

Bug: 18100846

Change-Id: I519aea7594352be60df665457eb2986ab4f0f513
arch64/Gis_signal_frame.c
arch64/Gstep.c
rm/Gis_signal_frame.c
1e549bb0cef88f170cbbbd273212f45cf8f9af43 17-Sep-2014 Elliott Hughes <enh@google.com> Correctly identify the aarch64 kernel's signal trampoline.

This was misfiring because it was seeing a "corrected" PC that pointed
to the nop before the mov that's the first instruction in the trampoline.

Bug: 17436734

(cherry picked from commit 6d90028ee35b7028004e5a4f39ffa55dd0fbd6de)

Change-Id: I86abd5c49668e3f6694837b9a780d537c4c7a2f1
arch64/Gis_signal_frame.c
e5f01b69475e06adb460e999fcb96f7b6cb5cbc0 26-Sep-2014 Christopher Ferris <cferris@google.com> Fix local arm unwind to handle dwarf properly.

It turns out that the local unwind for arm only checks the debug_frame
for dwarf information. This means that any arm assembly code that only
has dwarf information cannot be unwound. Fix this so the arm function
calls the dwarf_find_proc_info instead of doing the half implementation
that existed originally.

Bug: 17404548
Change-Id: Iffae860f2357d114fc004daa215e9d96a461379d
rm/Gex_tables.c
f360ccc06f3f086f41cf6ba4036b52571ed2a54f 11-Sep-2014 Christopher Ferris <cferris@google.com> Do not try to read/write device memory.

Device memory might have certain alignment constraints that the unwind
code violates. Since we shouldn't be reading this memory, treat this
type of memory as not readable and not writable.

Bug: 17037053
Change-Id: I8e07aabcf9c0d146f11e2e1d388fcb3a0024f98f
os-common.c
s-linux.c
5cd02e1e4908b0b8d08a64c247e97cc17ee8fedf 06-Jun-2014 Duane Sand <duane.sand@imgtec.com> [MIPS64] Enable mips64 build for n64 abi.

Also delete src/mips/elfxx.c, which was never used.

Change-Id: I48526ab4ee4053f926ab2e93a3913b0a4629a820
ips/Gcreate_addr_space.c
ips/elfxx.c
60c0e104182996ce3739e3377d1f8f3f706853ca 09-Jun-2014 Christopher Ferris <cferris@google.com> Fix ip adjust on aarch64.

I didn't add the ip adjust when aarch64 support was added. This meant that
the ip pointed to the wrong instruction when doing unwinds.

Change-Id: Ie60322b1bd0f4dae95852cc93d163b850595b0b5
arch64/Gstep.c
b8c41be3236bd92c11b505ab78f4be194539125b 28-May-2014 Calin Juravle <calin@google.com> Merge "Fix FPREGS_MEM offset on x86."
9eaf331908a5a8511e5c261cc05daff2fb2ccb92 28-May-2014 Calin Juravle <calin@google.com> Fix FPREGS_MEM offset on x86.

Bug: 12828904
Change-Id: I1f863eb6bc43d34e54a397f4892290142c7ca2bd
86/offsets.h
97cfce23662576d0bf57779325603659d845513f 27-May-2014 Ian Rogers <irogers@google.com> Fix mac build.

Due to a case insensitive ar, we need to change the name of this
file.

Bug: 15198981
Change-Id: I70da31fcac3c3a838672aa2a8073c833600792b8
nwind/BacktraceWrapper.c
7cb7cbcacbc28bb5dadb471cbbda856a9d3e25cd 23-May-2014 Dan Albert <danalbert@google.com> Work around for duplicate symbols in static libs

Bug: 15110069
Change-Id: I24757ad60d94ac250065e2680871d0059e8c240d
warf/Gstep_dwarf.c
warf/Lstep_dwarf.c
7e10fa72f0d9e6160b917a62d9d91a87c9b47ffb 22-May-2014 Elliott Hughes <enh@google.com> Fix building libunwind with debug := true.

Change-Id: I1d72e942f6d28c34e08cdef133111307670bef2c
rm/Gstep.c
87be0544f744ca52e3354b738596dcf72962232e 14-May-2014 Calin Juravle <calin@google.com> Populate ucontext_t#fpregs_mem when getting the context

Bug: 12828904
Change-Id: Iecee79d149a2d9009a565fec26690d5c7ef1734a
86/getcontext-linux.S
86_64/getcontext.S
2319e0f1aec9e1f716eff88987b0023c5b2f6c07 29-Apr-2014 Christopher Ferris <cferris@google.com> Add exception handling unwind code.

Fix up the code to work with the map caching code.

This new functionality has not been tested thoroughly.

Change-Id: I8ef22b1125ee888c068f20d2917e2b20d903898e
nwind/Backtrace.c
nwind/ForcedUnwind.c
nwind/RaiseException.c
nwind/Resume.c
nwind/Resume_or_Rethrow.c
nwind/unwind-internal.h
7c04242d6fcd486d16c7848fed599cbda658f6d7 25-Apr-2014 Christopher Ferris <cferris@google.com> Fix x86/x86_64 getcontext overflow problem.

The x86 getcontext code was writing past the end of the context structure.
Fixed this problem, and added a test to make sure that doesn't happen again.
In addition, the x86_64 getcontext was doing the same.

Bug: 14319200
Change-Id: Ia2e2e55fe5459d6c8f8257e787012546b77503c4
86/getcontext-linux.S
86_64/getcontext.S
d1c383c5bb03420decf5cf789cf14ab144b0720d 10-Apr-2014 Christopher Ferris <cferris@google.com> Fix all warnings, and make warnings errors.

Change-Id: Ia2039922b55891551b1de0f0c281c266db6ee219
rm/Gex_tables.c
rm/Gstep.c
warf/Gfde.c
warf/Gfind_unwind_table.c
lfxx.c
ips/Ginit.c
trace/_UPT_access_fpreg.c
trace/_UPT_access_mem.c
trace/_UPT_access_reg.c
trace/_UPT_get_dyn_info_list_addr.c
86_64/Gstash_frame.c
bb754471703e806d83d0e6670955dc1d399690b3 10-Apr-2014 Christopher Ferris <cferris@google.com> Use map cache for finding image names.

This change removes the function find_binary_for_address and replaces it
with a call to check the cached map data instead. This is an error path
that hardly ever gets exercised though.

Also fix a couple of warnings in Gfind_proc_info-lsb.c.

Change-Id: Idb501d6674cacfc693fc35608d322ec78f48a4d6
os-common.c
warf/Gfind_proc_info-lsb.c
0fa05b02d01da95b0b266e9b5660a9364d85e98b 09-Apr-2014 Christopher Ferris <cferris@google.com> Fix return code for unmappable elf data.

If an elf image cannot be mapped for the local unwind, then uninitialized data
gets passed back. Fix this to actually return an error code.

Bug: 13897127
Change-Id: I31b66491bbc7d8b7ad99d50d04a33ca1d886a0f7
os-common.c
e64e77857aae2ed6c7e6a0e773bede5b877cabb3 08-Apr-2014 Christopher Ferris <cferris@google.com> Fix local_get_elf_image prototype.

Change-Id: I3fb0de34ac0447e25b0c0368f76044b4bfc834ba
s-common.c
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
arch64/Ginit.c
a64/Ginit.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
os-common.c
arch64/Ginit.c
arch64/Ginit_local.c
rm/Ginit.c
rm/Ginit_local.c
lfxx.c
lfxx.h
ppa/Ginit.c
ppa/Ginit_local.c
a64/Ginit.c
a64/Ginit_local.c
i/Gdestroy_addr_space.c
i/Lmap.c
i/map.c
i/maps.c
ips/Ginit.c
ips/Ginit_local.c
s-common.c
s-freebsd.c
s-hpux.c
s-linux.c
s-qnx.c
pc/Ginit_local.c
pc32/Ginit.c
pc64/Ginit.c
trace/_UPT_find_proc_info.c
h/Ginit.c
h/Ginit_local.c
86/Ginit.c
86/Ginit_local.c
86_64/Ginit.c
86_64/Ginit_local.c
d24fdf6c51c7ab875662b9ca13372d57cd9f36e1 13-Mar-2014 Christopher Ferris <cferris@google.com> Fix symbol name association.

Do not associate a name with an ip unless the ip is actually within
the symbol's size.

Change-Id: I7ec424abdd9a21ca94b37fa30302b355b64b6312
lfxx.c
2a5223fc1f073d7738bbccb843297f128f444dd8 12-Mar-2014 Christopher Ferris <cferris@google.com> Modify the x86 step cut off.

The current cut off stops if the ip of the current step matches the
previous step. This cuts off recursive functions improperly, so change
it to stop when cfa and ip are the same as the previous frame.

Change-Id: I0be6ed8694d7d4aabc2087bd700310c907f5c047
86/Gstep.c
1df3245fb2c4d437e930e226331e02e218451db4 27-Feb-2014 Christopher Ferris <cferris@google.com> AARCH64: Change Debug calls to use %lx instead of %x.

The attached patch simply modifies the Debug statements for aarch64 to use
%lx instead of %x. Tested by compiling for aarch64 using a cross-compiler.

Change-Id: I1f05ed759cef2ff4704c955752f0c19fc22dbb40
Signed-off-by: Christopher Ferris <cferris@google.com>
arch64/Ginit.c
34764fe4fa6bbacc9c6f9235bf0790cb917c4901 26-Feb-2014 Christopher Ferris <cferris@google.com> Fix mips memory reads.

Cast the first 32 bit read to an unsigned value to avoid sign extending the
value up to 64 bits.

Change-Id: Ib678f48acf91f382fd5d8bcbf2be7d5803aaf0b8
trace/_UPT_access_mem.c
fb2fafb9daf5b9f5119d5550a68ebdc3d0564b06 14-Feb-2014 Christopher Ferris <cferris@google.com> Implement ptrace get registers for aarch64.

Modify the mips code to use the current getregs code path.

Create a new configuration value for getregset to be used by aarch64.

Change-Id: I014c7418937619485ef6c1a0a8b3db8acc4fc89c
trace/_UPT_access_fpreg.c
trace/_UPT_access_reg.c
e6c23a7dbafa4c93c661053e6c34ae0725e38313 21-Feb-2014 Christopher Ferris <cferris@google.com> Fix NULL pointer dereference.

Bug: 13120542

Change-Id: I6847aeb779d3800b6e71710cf1c8026c1c05ea50
s-linux.c
b8627d92164f67864e806afb9f461f2db161f13c 20-Feb-2014 Christopher Ferris <cferris@google.com> Fix a potential race.

When adding the mmap image data to the shared map structure, make
sure to lock before adding the information.

Change-Id: I4ea8d73f8ac2e3d423619388550b1bed40be46ab
s-linux.c
6efcda4b51d0aab9709557a1ca2ac8dd92d4f0fe 12-Feb-2014 Christopher Ferris <cferris@google.com> Fix mips unwind.

On mips 32, ptrace returns a long but unw_word_t is 64 bits. Unfortunately,
the read code assumes that unw_word_t and long are the same, so most
of the returned values are incorrect.

I fixed it by doing two reads on mips to pull in all of the 64 bits. This
could be a slight performance degradation, but I don't think it matters
enough to try and fix.

Change-Id: Ied0fbf56e62fe2c933e468741f8c47df882f6e44
trace/_UPT_access_mem.c
30529500ff810e3bbad62f3c8c16b0eee0a36f0e 11-Feb-2014 Christopher Ferris <cferris@google.com> Fix getcontext for mips.

Since the correct ucontext_t structure changed, the getcontext function
needs to reflect that change.

Change-Id: Ideb22f0ef77bc8dd29df1dff12180cd3afbdc498
ips/getcontext-android.S
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
arch64/Ginit_local.c
rm/Ginit_local.c
ppa/Ginit_local.c
a64/Ginit_local.c
i/maps.c
ips/Ginit_local.c
pc/Ginit_local.c
h/Ginit_local.c
86/Ginit_local.c
86_64/Ginit_local.c
220127bd0ad713f55fa1057677ba6f400ed6d42d 30-Jan-2014 Christopher Ferris <cferris@google.com> Merge "x86_64: enable architecture"
b58eb4a882a6ff98f6c0890260da797b62dbcdee 30-Jan-2014 Elliott Hughes <enh@google.com> Switch libunwind over to <sys/ucontext.h>.

Change-Id: Iba3a471cbdc4171b55616082b76798b0715c269a
ips/Ginit.c
4a188fbc855f1c7b8dde0513d440c4108a736102 30-Jan-2014 Elliott Hughes <enh@google.com> Switch x86 libunwind over to <sys/ucontext.h>.

Change-Id: I1f13e56b13bc912a2401015ea40091aafeac70a6
86/Gos-linux.c
f1f90e79544429ebc9b9be4587691cd12a4aa855 04-Dec-2013 Pavel Chupin <pavel.v.chupin@intel.com> x86_64: enable architecture

Tested on host with crasher-run-on-host target

This patch is required:
https://android-review.googlesource.com/#/c/80307/

Also adding disabled debug build flags

Change-Id: Ib577e7431fc27605fb0d4e616ffbfc8c9fbc3862
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
86_64/Gstep.c
f6cc9135efb61bbcc41656aea78f89d213c51976 29-Jan-2014 Christopher Ferris <cferris@google.com> Do not allow read/writing if map is NULL.

For a reason I don't understand, certain thread decode paths result
in passing bad values to read data which can cause a crash.

Remove the special case that indicated an address was readable/writable
if the map is NULL.

Change-Id: Iab4a5b0bbcbfb866b39b2549eaafb2a9f715ae33
s-linux.c
d3bf49b06c7d56b371fe49f13490f7e548a8455a 28-Jan-2014 Christopher Ferris <cferris@google.com> Fix memory leak.

Change-Id: Iaf279d86fe1a9384bbc7cfa40e7b1783bb59a223
warf/Gfind_proc_info-lsb.c
warf/Gparser.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
arch64/Ginit.c
rm/Ginit.c
warf/Gfind_unwind_table.c
lfxx.c
ppa/Ginit.c
a64/Ginit.c
i/Gdestroy_addr_space.c
i/maps.c
ips/Ginit.c
s-linux.c
pc/Ginit_local.c
trace/_UPT_find_proc_info.c
h/Ginit.c
86/Ginit.c
86_64/Ginit.c
9dee3d2dd2d6913aeefe8c3417a494ab1dcfdaf5 07-Jan-2014 Christopher Ferris <cferris@google.com> Stop unwinding when seeing a repeated ip on x86.

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

Change-Id: I7b7eed29a1b7ddad8e0d852598260809d3eb98d1
arch64/Ginit.c
rm/Ginit.c
ppa/Ginit.c
a64/Ginit.c
ips/Ginit.c
pc32/Ginit.c
pc64/Ginit.c
h/Ginit.c
86/Ginit.c
86_64/Ginit.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
arch64/Ginit.c
rm/Ginit.c
rm/Gstep.c
warf/Gfind_proc_info-lsb.c
ppa/Ginit.c
a64/Ginit.c
ips/Ginit.c
s-freebsd.c
s-hpux.c
s-linux.c
s-linux.h
s-qnx.c
pc/Ginit_local.c
pc32/Ginit.c
pc64/Ginit.c
h/Ginit.c
86/Ginit.c
86_64/Ginit.c
984761515e6aafe8f27d0fda1151e2f81e2832e0 15-Nov-2013 Christopher Ferris <cferris@google.com> Fix memory leaks in dwarf processing.

Add a missing free in debug_frame handling.

Fix leaks in locate_debug_info of the path variable.

Change-Id: I9fa6f02415768ac58489e1253459d72f7a549d04
warf/Gfind_proc_info-lsb.c
5f0e55ca7540d58e8c02dd67e1a062cad285f6c8 15-Nov-2013 Christopher Ferris <cferris@google.com> Move stack structures to allocations.

The two structures (dwarf_state_record_t, dwarf_reg_state_t) total
about 10,000 bytes. This causes failures when trying to call this
function from the threaded interface working with a limited stack.

Change-Id: Ib4113c14accd935fd20efff26dea5542fac60612
warf/Gparser.c
cc6cc088ba4077f5b6cfa3931a1737b03fc0446e 16-Oct-2013 Christopher Ferris <cferris@google.com> Add a new option to conserve stack space.

There are a few places where large data structures are put on the stack.
This causes failures when trying to dump threads using a smaller stack so
use an option to conserve stack space.

Tested by running these commands:

autoreconf -i
./configure

Verify that config.h has CONSERVE_STACK undefined since this is a host build.

autoreconf -i
android/conf_arm.sh

Verify that config.h has CONSERVE_STACK defined.

Built libunwind with both CONSERVE_STACK define and undefined.

Bug: 8410085
Change-Id: I9ec4dee656475650883176d8801430b7e312153c
warf/Gfind_proc_info-lsb.c
trace/_UPT_find_proc_info.c
efb75a0b84fed700173700a2e4fee153ba491b32 01-Oct-2013 Christopher Ferris <cferris@google.com> Update external/libunwind to build in android.

Bug: 8410085

Change-Id: Ideb46602d1e1cf2df5f858ef11d498055c02b969
arch64/init.h
rm/Gglobal.c
rm/Gresume.c
rm/Gstep.c
rm/init.h
ppa/init.h
i/Gget_proc_name.c
ips/Ginit.c
ips/getcontext-android.S
ips/init.h
pc32/init.h
pc64/init.h
trace/_UPT_access_reg.c
86/Ginit.c
86/Gos-linux.c
86/Gstep.c
86/init.h
86_64/init.h
2c3444d0f4821b159d60290c514a8aeba8d9061f 21-Sep-2013 Masatake YAMATO <yamato@redhat.com> Remove one of duplicated declarations of `get_proc_name'

Declarations of `get_proc_name' of is duplicated.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
lfxx.h
dee708f4bc9aa169bd96e97c5e5ac851a10c7868 05-Sep-2013 Masatake YAMATO <yamato@redhat.com> Missing -llzma in libunwind.pc

liblzuma used in decoding MiniDebuginfo is not listed in
libunwind.pc.

Changes in version 2 of patch:

* Don't check HAVE_LZMA. It is redundant.
* Make liblzma as private libraries in use.

Both are suggested by Mike Frysinger <vapier@gentoo.org>.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
akefile.am
nwind/libunwind.pc.in
af23f0a04b9f58f05e2a6567fb619002b993950d 23-Aug-2013 Luca Clementi <luca.clementi@gmail.com> Add Cflags keyword to pkg-config metadata files

pkg-config metadata template files are missing Cflags keyword
which is required to properly compile against libunwind using
PKG_* autoconf macros

Acked-by: Mike Frysinger <vapier@gentoo.org>
oredump/libunwind-coredump.pc.in
ibunwind-generic.pc.in
trace/libunwind-ptrace.pc.in
etjmp/libunwind-setjmp.pc.in
nwind/libunwind.pc.in
3b8254d3b911193d1270bed6e941f56479ef5a85 15-May-2013 Matt Fischer <matt.fischer@garmin.com> Fix unwind info freeing code in DWARF parser

The DWARF code allocates its unwind_info objects out of a
memory pool. The code which frees the object therefore calls
the mempool freeing code. However, there are cases where the
free code will be run with an unwind_info that was allocated
through a different mechanism (e.g. an ARM exidx table entry).
In these cases, the object should not be freed through the
mempool code.

To correct this, a check was added to ensure that the unwind_info
is of the appropriate type before passing the object along to the
mempool to be freed.
warf/Gparser.c
d41a453bbf195818e3fa66ed0a123f0c06aa754b 19-May-2013 Arun Sharma <asharma@fb.com> Fix a build error

<elf.h> needs to be included before the check for ELF_CLASS.
lfxx.h
5eba0f816d8999b48de4f68ca2eb743ab1fcf224 19-May-2013 Arun Sharma <asharma@fb.com> Fixup long lines.
s-qnx.c
eac65dc9b8cc18fa4c65c0485878a11c470357b6 15-Apr-2013 Matt Fischer <matt.fischer@garmin.com> Add basic support for the QNX operating system

This change adds some special cases to allow libunwind to compile
for QNX.

* QNX's copy of <elf.h> and <link.h> reside in sys/ instead. To deal
with this, an AC_CHECK_HEADERS() was added to check for the files
in both locations.
* Similarly, QNX does not have <endian.h>. In cases where the file is
not found, logic was added to refer to QNX-specific macros to determine
endianness.
* The QCC compiler, which is a wrapper around GCC, cannot handle some
standard GCC options. Therefore, logic was added to check for QCC,
and when it is found, to suppress the use of -lgcc, and to express the
option -nostartfiles as -Wc,-nostartfiles instead, which is correctly
passed on to the underlying GCC.
* Finally, the support file os-qnx.c was added, patterned after the existing
os-*.c files. Only local image lookup is currently supported (see the
comments for more information), but this is sufficient for QNX, since
ptrace is not supported there anyway, and that is the only case where the
function is required to do remote image lookup.

Change-Id: Ie7934f94a7317bdde59335f2acd4c3a97c0384c1
akefile.am
rm/Gis_signal_frame.c
warf/Gfind_proc_info-lsb.c
warf/Gfind_unwind_table.c
lfxx.h
s-qnx.c
ac6c0a6535975f1dc2da6e4e2766614baac2a14a 11-May-2013 Yvan Roux <yvan.roux@linaro.org> [PATCH] AArch64 port.
akefile.am
arch64/Gcreate_addr_space.c
arch64/Gget_proc_info.c
arch64/Gget_save_loc.c
arch64/Gglobal.c
arch64/Ginit.c
arch64/Ginit_local.c
arch64/Ginit_remote.c
arch64/Gis_signal_frame.c
arch64/Gregs.c
arch64/Gresume.c
arch64/Gstep.c
arch64/Lcreate_addr_space.c
arch64/Lget_proc_info.c
arch64/Lget_save_loc.c
arch64/Lglobal.c
arch64/Linit.c
arch64/Linit_local.c
arch64/Linit_remote.c
arch64/Lis_signal_frame.c
arch64/Lregs.c
arch64/Lresume.c
arch64/Lstep.c
arch64/gen-offsets.c
arch64/init.h
arch64/is_fpreg.c
arch64/offsets.h
arch64/regname.c
arch64/siglongjmp.S
arch64/unwind_i.h
oredump/_UCD_access_reg_linux.c
trace/_UPT_reg_offset.c
612e1056f69fb95409586ff715f614c0bbc013d8 19-Apr-2013 Matt Fischer <matt.fischer@garmin.com> Fix symlink install hook

During the install, symlinks are added from libunwind-<arch> to
libunwind-generic. However, on platforms that don't support
symlinking (such as Windows), the $(LN_S) macro is defined
as 'cp -p' instead. This works fine, except that since the
target of the symlink is a relative path, the copy will only
succeed if the current directory is the directory that contains
the file.

The solution to this problem suggested in the Autotools manual
(see http://www.gnu.org/software/automake/manual/automake.html#Extending)
is to simply cd into the correct directory first. This patch
makes that change for the symlinks that are being made during install.

[ edit: use relative path for the link name as well ]
akefile.am
563b0ff3144c0e60a9aa63fdafb4dea66ecd3d50 19-Apr-2013 Matt Fischer <matt.fischer@garmin.com> Added --enable-setjmp

Currently, libunwind-setjmp is built whenever local unwinding is
built. This patch adds an explicit flag to control it instead.
The default if not specified is to follow the old behavior.
akefile.am
abb0957198be8cb34c4dfa0dfd7e7eee13055f09 15-Apr-2013 Matt Fischer <matt.fischer@garmin.com> Added --enable-ptrace

This change adds a manual override to control building of the ptrace
library, similar to the existing --enable-coredump option. The
default is set based on the existence of sys/ptrace.h, allowing it
to be automatically disabled for platforms that do not have ptrace.
akefile.am
f92ecb61273bf58f9372f96868a9b8fb4d920ad4 03-Apr-2013 Arun Sharma <asharma@fb.com> dwarf: Fix memory leak

Need to clean up by calling put_unwind_info() on code paths where fetch_proc_info() fails.

Signed-off-by: Arun Sharma <asharma@fb.com>
warf/Gparser.c
8028a537dd936d02204605065eaabf52be148294 07-Mar-2013 dave lerner <dlerner@windriver.com> unw_is_signal_frame should return false/0 for bad addresses

access_mem() could fail and return a non-zero value, which callers
interpret as boolean true.

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
86/Gos-linux.c
679b65cd221efa7df42b6a369c7b1ebe9d8b5c3e 31-Jan-2013 Chris January <chris.january@allinea.com> dwarf: Fix the order of the operands to the relational operators

dwarf_eval_expr are reversed compared with the DWARF spec.
warf/Gexpr.c
10b064ffe902d5af31bb49bd8e4f03c545f8d462 13-Nov-2012 Ladislav Michl <ladis@linux-mips.org> Support building with older compilers.

Add a check for __builtin_unreachable.
rm/Gresume.c
h/Gresume.c
d7322f0f64dab715c4feb5f08edef5660d8719c0 06-Oct-2012 Arun Sharma <asharma@fb.com> Update to v1.1
akefile.am
adae66d2e24f3779272acfdff6941f29ed61950a 05-Oct-2012 Tommi Rantala <tt.rantala@gmail.com> Fix x86-64 debug build -Wformat warning

src/x86_64/Gstep.c: In function '_ULx86_64_step':
src/x86_64/Gstep.c:204:4: warning: unknown conversion type character 'r' in format [-Wformat]
86_64/Gstep.c
96c1bca2b08f147011814b1b7be6863151ef0be9 05-Oct-2012 Tommi Rantala <tt.rantala@gmail.com> Fix header inclusion order in `src/elfxx.c'

Make sure that we have included `config.h' before checking HAVE_LZMA.
This makes a difference at least on MIPS, where we include `elfxx.c'
directly. For other platforms this does not make much difference, as we
are already indirectly including `config.h' from other headers.
lfxx.c
cb3fbbb1729254e9a49e3f8fbe1cadbd519ece52 29-Sep-2012 Arun Sharma <asharma@fb.com> Reduce the number of ifdefs in machine independent code

Hopefully we don't have too many GNUC users who don't have
fetch and add.
i/mempool.c
890e23eb9d3ffd9be2a025189a21794b5ed0e0ff 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Prefer NULL over zero
warf/Gfind_proc_info-lsb.c
warf/Gparser.c
ips/Ginit.c
s-linux.h
86_64/Ginit.c
86_64/Ginit_remote.c
86_64/Gtrace.c
aebba1f8a7dee9b9ae3e70128ad48de69ca90b15 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Apply `define_lock()'

We have a nice macro for defining pthread mutexes, use it.
rm/Gglobal.c
ppa/Gglobal.c
i/dyn-register.c
ips/Gglobal.c
pc32/Gglobal.c
pc64/Gglobal.c
86/Gglobal.c
86_64/Gglobal.c
86_64/Gtrace.c
22aff2cc1fc1f0bdf8eb8dc2338c4b957ddacaf9 20-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Fix second operand read in dwarf_eval_expr()

Due to bad bracketing, the second operand was never read for dwarf
expressions that take two operands.

Caught with sparse.
warf/Gexpr.c
65bdcc6f9dbbef0763cb3692a5e1fb6387d482f8 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Teach autotools current ARM `ex_tables.h' location
akefile.am
5e7e890a0b75fc9b64838dd197f554c6c6285d88 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Plug in `ALIAS' attribute
i/backtrace.c
7d471b144013924f8d80e532a693fb77dbe73c2b 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Define and use `CONST_ATTR'
rm/Gex_tables.c
warf/Gparser.c
a64/Gparser.c
a64/Gscript.c
e0653f9e3a0004a62f6c7afb57885bb473b17537 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Define and use `WEAK'
i/backtrace.c
397f32a378d4b7acc962bf4a0056dca2197077dd 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Plug in `ARRAY_SIZE' in ptrace code
trace/_UPT_access_fpreg.c
trace/_UPT_access_reg.c
dcbe6836ebb4ed300ebf529e38e412e94a8197d8 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> IA64: constify read only arrays in `tdep_init()'
a64/Gglobal.c
088ac537752a09246da443bff1f893773d4b84d2 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Constify `operands' in src/dwarf/Gexpr.c
warf/Gexpr.c
ee8df2628891435ebb95eee04668d5bbd6995723 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Constify `dwarf_to_unw_regnum_map'
pc32/Gglobal.c
pc64/Gglobal.c
86/Gglobal.c
86_64/Gglobal.c
a9b5b10f23fe0f55e39fece22d5d4bfdf7f3bdfe 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Set `_UPT_reg_offset' read only

We do not modify `_UPT_reg_offset', so let's set it `const'. Given that
the array is exported, it's technically possible that some library user
is actually modifying the content, but does not seem really all that
likely.
trace/_UPT_internal.h
trace/_UPT_reg_offset.c
e2d5cdd22da48a5bbf772090b55590ef70b63999 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> ppc32: include `compiler.h' for UNUSED in ucontext_i.h
pc32/ucontext_i.h
8d5b1aeeffb80515197fd7aeee0b3fbfac904ecd 16-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> SuperH port

Add support for the 32bit SuperH architecture running Linux.
Specifically, support is added for SH4, and support for earlier SH
versions and to the 64bit SH5 are left out. This was tested in qemu with
a little-endian SH4 debian image & GCC 4.7 cross compiler.
akefile.am
oredump/_UCD_access_reg_linux.c
trace/_UPT_reg_offset.c
h/Gcreate_addr_space.c
h/Gget_proc_info.c
h/Gget_save_loc.c
h/Gglobal.c
h/Ginit.c
h/Ginit_local.c
h/Ginit_remote.c
h/Gis_signal_frame.c
h/Gregs.c
h/Gresume.c
h/Gstep.c
h/Lcreate_addr_space.c
h/Lget_proc_info.c
h/Lget_save_loc.c
h/Lglobal.c
h/Linit.c
h/Linit_local.c
h/Linit_remote.c
h/Lis_signal_frame.c
h/Lregs.c
h/Lresume.c
h/Lstep.c
h/gen-offsets.c
h/init.h
h/is_fpreg.c
h/offsets.h
h/regname.c
h/siglongjmp.S
h/unwind_i.h
79c2c254a74ca850aefe2c49b973dea1fa2934c2 06-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> MIPS coredump support

Add MIPS support to the coredump library. Explicit support for the MIPS
program counter register is added so that we can start backtracing from
the program counter value we read from a core dump. The PC register
support was not strictly required for local backtracing, and we will in
fact just plug the return address to the PC register in getcontext().

I have only tested the 32bit "OABI" paths.
oredump/_UCD_access_reg_linux.c
ips/Gget_save_loc.c
ips/Ginit.c
ips/Gregs.c
ips/getcontext.S
ips/init.h
ips/offsets.h
ips/regname.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.
rm/unwind_i.h
ppa/unwind_i.h
a64/unwind_i.h
ips/unwind_i.h
pc32/unwind_i.h
pc64/unwind_i.h
86/unwind_i.h
86_64/unwind_i.h
cc6cd621ea76e65a07d6047b8706e0f3d769f8f0 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: kludge out unused variable in unw_get_save_loc() stub
ppa/Gget_save_loc.c
fc38a5339da4901399e74fad101f0b48ac9275a1 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: properly check dwarf_get() return value in unw_step()
ppa/Gstep.c
6023ccf6677fa030c001fcccc903c6ded9ffc47e 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> PPC: remove unused `PAGE_START' macro from Ginit.c
pc32/Ginit.c
pc64/Ginit.c
0941dedb705cdffa87835855004336c6cf3895e4 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Remove unused src/x86_64/Lis_signal_frame.c
86_64/Lis_signal_frame.c
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]
a64/init.h
b4bde18112016cb720f3df2c0f23f5897f85f7b3 07-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Apply UNW_ALIGN more in src/mi/mempool.c

Apply UNW_ALIGN in a few places in src/mi/mempool.c that I missed in
commit c2f757418 ("Rename and share `ALIGN' macro from
_UCD_internal.h").
i/mempool.c
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.
rm/Gglobal.c
rm/Ginit_local.c
rm/Ginit_remote.c
ppa/Gglobal.c
ppa/Ginit_local.c
ppa/Ginit_remote.c
ppa/get_accessors.c
a64/Gglobal.c
a64/Ginit_local.c
a64/Ginit_remote.c
i/Gget_accessors.c
i/Gset_caching_policy.c
ips/Gglobal.c
ips/Ginit_local.c
ips/Ginit_remote.c
pc/Ginit_local.c
pc/Ginit_remote.c
pc32/Gglobal.c
pc64/Gglobal.c
86/Gglobal.c
86/Ginit_local.c
86/Ginit_remote.c
86_64/Gglobal.c
86_64/Ginit_local.c
86_64/Ginit_remote.c
9a3565ddc1e956ef1f52806093e949c7809f6e79 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Simplify `sos_alloc()' implementation

Instead of maintaining a pointer to the `sos_memory' array, maintain an
index that tells the next free position. When atomic operations are
available, the allocation boils down to a single fetch-and-add
operation.
i/flush_cache.c
i/mempool.c
26fc1563fba945d0356e4a7dd935a6a57b3c03db 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Align `sos_memory' to MAX_ALIGN

We give aligned pointers from the `sos_memory' array, so any non-aligned
bytes are only wasted.
i/mempool.c
c36a14f24507a3fd988430eba872ded895ed6913 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Workaround non-power-of-two i386 sizeof(long double) in src/mi/mempool.c

To ensure that we return properly aligned pointers from sos_alloc(),
MAX_ALIGN must be a power-of-two. On i386 the power-of-two assumption
fails as sizeof(long double) = 12. Fix this by rounding up to 16.
i/mempool.c
e6edad069c95127383a8122608a6bd3785413204 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Use GCC __BIGGEST_ALIGNMENT__ for sos-pool MAX_ALIGN

Use the __BIGGEST_ALIGNMENT__ macro provided by GCC for sos_alloc()
allocation alignment. The macro gives ``the largest alignment ever used
for any data type on the target machine you are compiling for.''

__BIGGEST_ALIGNMENT__ also has some other nice properties, e.g. it is
power-of-two on all architectures (note that on i386, sizeof(long
double) = 12), and on some architectures (e.g. SuperH) the alignment
requirement can be lower than sizeof(long double).
i/mempool.c
d0cbc51955b900749e1ae1f51d7c45d51d3bbd23 17-Sep-2012 Konstantin Belousov <kib@freebsd.org> x86_64: stop unwinding when %rbp location is NULL
86_64/Gstep.c
e891591bcbbc6eca063776a118b3da7dc2f8b299 22-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> ppc32: fixup cross build failure
pc32/ucontext_i.h
trace/_UPT_reg_offset.c
e4b24be9c2008411eaee3e6eff18964d8f91c7b5 22-Sep-2012 Arun Sharma <asharma@fb.com> pkg-config file fixups

Suggested-by: Alexander Toresson <alexander.toresson@gmail.com>
oredump/libunwind-coredump.pc.in
trace/libunwind-ptrace.pc.in
ea5e90fd9f6ef9840c71b8c4a304793547263de3 15-Sep-2012 Alexander Toresson <alexander.toresson@gmail.com> Create and install pkg-config .pc files

[Edit: renamed to libunwind-generic.pc and some .pc files
created only when needed -- asharma@fb.com]
akefile.am
oredump/libunwind-coredump.pc.in
ibunwind-generic.pc.in
trace/libunwind-ptrace.pc.in
etjmp/libunwind-setjmp.pc.in
nwind/libunwind.pc.in
9184535486e4f4bbf29d1aa8139afbd02059495b 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ptrace: add more Debug to access_reg

This was useful in debugging issues with the libunwind-ptrace code on
ppc64.
trace/_UPT_access_reg.c
3d6f7479b04b153f43bc9918a1bad25e3e8d2cd7 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ptrace: check for NULL arg.

tdep_get_func_addr in ppc64 passes NULL for the last argument of
as->access_mem. tdep_get_func_addr is called by elf_w(lookup_symbol),
which in turn is called by elf_w(get_proc_name_in_image).

elf_w(get_proc_name_in_image) is part of the API, and is only passed an
unw_addr_space_t, not a unw_cursor_t, meaning that we cannot recover the
UPT_info on the PPC64 platform.

This could be fixed by giving libunwind the knowledge to perform
relocations itself, thus not needing to look at the running image to
determine function addresses.
trace/_UPT_access_mem.c
10abb25af46c4b452d65d55fd7a16f74a4184897 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ptrace/access_reg: print out register name on "bad register"

When we have a "bad register", print out the name of that register (if
possible) to aid in debugging.
trace/_UPT_access_reg.c
f796a6dfe9a70de368c3434d3d3821e45a7ed130 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc64: add FRAME_POINTER & NIP to regname.
pc64/regname.c
0abc36eb1884a9c6ebd3f7a655d2140fd31ed2fc 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc64: be explicit in access_reg range check
pc64/Ginit.c
64e8a3d9096f3149d0b17296d2c974ed5659bcba 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> UPT: Add reg offsets for ppc32/64
trace/_UPT_reg_offset.c
3a5d7ff694aa95773a402309aaec37a28a921539 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> build: make libunwind-coredump build optional

Disable the building of libunwind-coredump except on x86_64 and x86
(where implimentations exsist).

Allow overriding of this autodetection via --enable-coredump and
--disable-coredump.
akefile.am
fa56db394d6ae5287cbb3794aa894fa0730c1010 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc32: add UNUSED attribute to dmy_ctxt
pc32/ucontext_i.h
4ddca1acf156868708b05952e2ca27d66852778e 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc32: remove unused dmy_vrregset
pc32/ucontext_i.h
d00b62109066cc098a3869c463004b63917f409c 12-Sep-2012 ariel.burton@roguewave.com <ariel.burton@roguewave.com> PATCH: fix build with --enable-msabi-support

This attached patch, relative to libuninwd-1.0.1,
will fix building with --enable-msabi-support on linux x86_64.

Ariel Burton
86_64/Gglobal.c
86_64/Lglobal.c
58db35ecebec318cf3da185f7f820e6a14d9525f 09-Sep-2012 Arun Sharma <asharma@fb.com> Silence a compiler error.
oredump/_UCD_access_mem.c
c2f7574187cfbb36dbcdc85bc61a027a4025f394 04-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Rename and share `ALIGN' macro from _UCD_internal.h

Rename the `ALIGN' macro to `UNW_ALIGN', and move it from
`_UCD_internal.h' to `libunwind_i.h' so that we can share it with the
mempool code. `ALIGN' was clashing with system headers on FreeBSD:

In file included from src/coredump/_UCD_access_reg_freebsd.c:26:
src/coredump/_UCD_internal.h:102:1: warning: "ALIGN" redefined
In file included from /usr/include/sys/param.h:115,
from src/coredump/_UCD_lib.h:52,
from src/coredump/_UCD_access_reg_freebsd.c:24:
/usr/include/machine/param.h:79:1: warning: this is the location of the previous definition
oredump/_UCD_create.c
oredump/_UCD_internal.h
i/mempool.c
ee06b329756d85b19c86387533beda123815c9fa 03-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Fix IA64 separate builddir cursor generation

IA64 build was failing when using a separate build directory. Refer to
the source files with `$srcdir' to fix the build.
akefile.am
a6f2a7a2a871d88402dc28c02bee672f8321b7bb 28-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Fix incorrect .debug_frame lookup with non-zero text segment vaddr

Unwinding over ptrace and unwinding coredump fail to lookup the
.debug_frame dwarf data when the ELF file text segment virtual address
is non-zero. Looking at some binaries, the virtual address is non-zero
for non-pie binaries, and zero for PIC shared libraries and PIE
executables.

The core dump unwinder can be used for demonstrating the bug. Without
this patch, the unwinding fails badly (testing with a ARM qemu image):

$ UNW_ARM_UNWIND_METHOD=1 ./test-coredump-unwind core `cat backing_files`
test-coredump-unwind: unw_get_proc_info(ip=0x86d8) failed: ret=-10

After applying this patch, we can unwind all the way until running out
of dwarf data:

$ UNW_ARM_UNWIND_METHOD=1 ./test-coredump-unwind core `cat backing_files`
ip=0x000086d8 proc=000086d4-000086dc handler=0x00000000 lsda=0x00000000
test-coredump-unwind: step
test-coredump-unwind: step done:1
ip=0x000086ef proc=000086dc-000086f2 handler=0x00000000 lsda=0x00000000
test-coredump-unwind: step
test-coredump-unwind: step done:1
ip=0x000086e7 proc=000086dc-000086f2 handler=0x00000000 lsda=0x00000000
test-coredump-unwind: step
test-coredump-unwind: step done:1
ip=0x00008597 proc=00008584-0000859a handler=0x00000000 lsda=0x00000000
test-coredump-unwind: step
test-coredump-unwind: step done:1
ip=0x76eacc3b proc=76eacba0-76eaccec handler=0x00000000 lsda=0x00000000
test-coredump-unwind: step
test-coredump-unwind: step done:1
test-coredump-unwind: unw_get_proc_info(ip=0x85c3) failed: ret=-10

Note how the binary itself is mapped to address 0x8000, the virtual
address for the text segment is 0x8000, and the .debug_frame program
counter values are relative to 0:

$ tr ' ' '\n' < backing_files
0x8000:/home/user/tests/crasher
0x76e96000:/lib/arm-linux-gnueabi/libc-2.13.so
0x76f77000:/lib/arm-linux-gnueabi/libgcc_s.so.1
0x76f88000:/lib/arm-linux-gnueabi/ld-2.13.so

$ readelf -l crasher
Elf file type is EXEC (Executable file)
Entry point 0x859d
There are 9 program headers, starting at offset 52

Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
EXIDX 0x0007b0 0x000087b0 0x000087b0 0x00030 0x00030 R 0x4
PHDR 0x000034 0x00008034 0x00008034 0x00120 0x00120 R E 0x4
INTERP 0x000154 0x00008154 0x00008154 0x00013 0x00013 R 0x1
[Requesting program interpreter: /lib/ld-linux.so.3]
LOAD 0x000000 0x00008000 0x00008000 0x007e4 0x007e4 R E 0x8000
LOAD 0x000efc 0x00010efc 0x00010efc 0x00148 0x00154 RW 0x8000
DYNAMIC 0x000f08 0x00010f08 0x00010f08 0x000f8 0x000f8 RW 0x4
NOTE 0x000168 0x00008168 0x00008168 0x00044 0x00044 R 0x4
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
GNU_RELRO 0x000efc 0x00010efc 0x00010efc 0x00104 0x00104 R 0x1

$ readelf --debug-dump=frames crasher | grep FDE
00000010 00000024 00000000 FDE cie=00000000 pc=00008614..000086d4
00000038 0000000c 00000000 FDE cie=00000000 pc=000086d4..000086dc
00000048 00000014 00000000 FDE cie=00000000 pc=000086dc..000086f2
00000060 00000014 00000000 FDE cie=00000000 pc=00008584..0000859a
warf/Gfind_unwind_table.c
2aea391d6a575636c435e0dc3d0f8d73ad546c62 31-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> ARM: invalidate proc info after non-dwarf unw_step()

After successfully stepping the cursor on ARM, the proc info is
invalidated only in dwarf_step(). Invalidate the proc info also when
stepping with the non-dwarf based methods. This fixes
unw_get_proc_info() returning stale data.

The core dump unwinder can be used for demonstrating the bug. When
unwinding based only on DWARF data, the proc info is correct:

$ UNW_ARM_UNWIND_METHOD=1 ./test-coredump-unwind core `cat backing_files` 2>/dev/null
ip=0x000086d8 proc=000086d4-000086dc handler=0x00000000 lsda=0x00000000
ip=0x000086ef proc=000086dc-000086f2 handler=0x00000000 lsda=0x00000000
ip=0x000086e7 proc=000086dc-000086f2 handler=0x00000000 lsda=0x00000000
ip=0x00008597 proc=00008584-0000859a handler=0x00000000 lsda=0x00000000
ip=0x76e3ac3b proc=76e3aba0-76e3acec handler=0x00000000 lsda=0x00000000

When unwinding based only on the exidx method, we see the proc info
lagging behind:

$ UNW_ARM_UNWIND_METHOD=4 ./test-coredump-unwind core `cat backing_files` 2>/dev/null
ip=0x000086d8 proc=000086d4-000086db handler=0x00000000 lsda=0x00000000
ip=0x000086ef proc=000086d4-000086db handler=0x00000000 lsda=0x00000000
ip=0x000086e7 proc=000086dc-000086f3 handler=0x00000000 lsda=0x00000000
ip=0x00008597 proc=000086dc-000086f3 handler=0x00000000 lsda=0x00000000
ip=0x76e3ac3b proc=00008584-0000859b handler=0x00000000 lsda=0x00000000
ip=0x000085c3 proc=76e3aba0-76e3ae4b handler=0x00000000 lsda=0x00000000

Finally, with this patch applied, we get the desired proc info also with
the exidx unwinder:

$ UNW_ARM_UNWIND_METHOD=4 ./test-coredump-unwind core `cat backing_files` 2>/dev/null
ip=0x000086d8 proc=000086d4-000086db handler=0x00000000 lsda=0x00000000
ip=0x000086ef proc=000086dc-000086f3 handler=0x00000000 lsda=0x00000000
ip=0x000086e7 proc=000086dc-000086f3 handler=0x00000000 lsda=0x00000000
ip=0x00008597 proc=00008584-0000859b handler=0x00000000 lsda=0x00000000
ip=0x76e3ac3b proc=76e3aba0-76e3ae4b handler=0x00000000 lsda=0x00000000
ip=0x000085c3 proc=0000859c-00008613 handler=0x00000000 lsda=0x00000000
rm/Gstep.c
21ad2c19ea575b4485121e9f824609fe6e4f3be9 15-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Implement _UCD_access_reg() for ARM

Implement the Linux version of _UCD_access_reg() for ARM. We can
sidestep the register number remapping, as the libunwind register
numbers match one-to-one to the ELF core file register numbers.
oredump/_UCD_access_reg_linux.c
f93e1e93be521a757fa7a1c7c3fedc5520318325 31-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Avoid LLVM -Wunused-value warning in src/dwarf/Gexpr.c

src/dwarf/Gexpr.c:434:4: warning: expression result unused [-Wunused-value]
pop ();
^~~~~~
src/dwarf/Gexpr.c:211:14: note: expanded from:
stack[--tos]; \
~~~~~ ~~~~~^
warf/Gexpr.c
fce25d74c93e897439e5183fea7d8dbaf55848fe 27-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Eliminate one heap allocation in dwarf_find_debug_frame()

Allocate `tab' from stack in dwarf_find_debug_frame(), as it's only a
few members and we only need it locally in the function.
warf/Gfind_proc_info-lsb.c
90d7baea352631f93ec7a9688fc59f58f148c19d 27-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Remove free() NULL pointer checks in load_debug_frame() error path

Just pass potentially NULL pointers to free() in the error path in
load_debug_frame(). Saved 40 bytes of code in libunwind.so on ARM -O2
thumb build at the expense of slightly slower execution.
warf/Gfind_proc_info-lsb.c
a745ac2f60b995fc23479daa5da9ca6226b01949 23-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> PPC: return failure from the unw_get_proc_info() stub

Stop pretending that unw_get_proc_info() works on PPC, and instead give
an error back to the caller. As far as I can tell, none of the libunwind
tests clear out the `unw_proc_info_t' before passing it to
unw_get_proc_info(), so they would end up working on garbage data.
pc/Gget_proc_info.c
8f94f1e6c01648ff41dec9b44bd7a8b6a230671e 23-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> PPC: add missing debug level in Debug() calls in Gstep.c

ppc32/Gstep.c:116: warning: comparison between pointer and integer
ppc32/Gstep.c:116: warning: comparison with string literal results in unspecified behavior
ppc32/Gstep.c:116: warning: initialization makes integer from pointer without a cast
ppc32/Gstep.c:116: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast
/usr/powerpc-linux-gnu/include/stdio.h:333: note: expected 'const char *__restrict__' but argument is of type 'int'
pc32/Gstep.c
pc64/Gstep.c
7feb6b85751f2f296793de9116eefc37c712be77 01-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: fix common_init() bitrot

Fix bitrot in HPPA common_init(). This has only been compile tested.

hppa/init.h: In function 'common_init':
hppa/init.h:33: error: 'struct cursor' has no member named 'ip_loc'
hppa/init.h:33: warning: implicit declaration of function 'HPPA_REG_LOC'
hppa/init.h:34: error: 'struct cursor' has no member named 'sp_loc'
hppa/init.h:36: warning: implicit declaration of function 'hppa_get'
hppa/init.h:36: error: 'struct cursor' has no member named 'ip_loc'
hppa/init.h:36: error: 'struct cursor' has no member named 'ip'
hppa/init.h:40: error: 'struct cursor' has no member named 'sp'
ppa/init.h
7e5cab6dacfaead42c483ba9cb2dc202bde703b5 15-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Add missing newline to debug message in _UCD_access_reg_linux.c
oredump/_UCD_access_reg_linux.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.
oredump/_UCD_access_mem.c
oredump/_UCD_access_reg_freebsd.c
oredump/_UCD_access_reg_linux.c
oredump/_UCD_find_proc_info.c
oredump/_UCD_get_proc_name.c
warf/Gparser.c
a64/Gscript.c
5738bac1717a0b315c5181400a3de1873e012df7 10-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> ARM: fix with-signal-frame local unw_resume()

Make sure that the `sigcontext_addr' cursor member is pointing to the
`struct sigcontext' as expected in arm_local_resume().
rm/Gstep.c
14fc15928b31c18c06f6c075ba0394c0000d3981 10-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> ARM: fix non-signal-frame local unw_resume() due to compiler optimization cleverness

When cross-compiling libunwind with optimizations (-O1 or higher),
gcc-4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) optimizes away the memory
writes prior to the inline asm() statement in arm_local_resume() in the
non-signal-frame path, causing the `regs' array to be only allocated on
the stack, but not populated. This means that we are restoring garbage
to the registers.

As suggested in the GCC docs, add a fixed size input memory constraint
for the array content. This is enough to get the desired code to be
generated.

Adding __builtin_unreachable() to the point that we should never reach
was also in itself enough to inhibit the optimization. It also reduces
the function size by a few instructions.
rm/Gresume.c
5fef17c05dd20ea6c0a6e3532177a916ef022a3c 05-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Fix memory leaks in unw_create_addr_space() wrong-endian error paths

Check the endianness earlier in unw_create_addr_space() on all
architectures to avoid leaking the dynamically allocated address space
struct.

This was already fixed for ARM in commit cf6a99879604 ("Fix memory leak
in ARM unw_create_addr_space()"). Move the endianness check also on ARM
to avoid malloc() & free() in the error case.
rm/Gcreate_addr_space.c
ppa/Gcreate_addr_space.c
ips/Gcreate_addr_space.c
pc/Gcreate_addr_space.c
86/Gcreate_addr_space.c
86_64/Gcreate_addr_space.c
2d750952a5849356eb1c1c42f9e33a4546fc0cd5 07-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Use constants for ELF magic bytes in _UCD_create.c
oredump/_UCD_create.c
7b811137215918f46ddb64d2ede349a8d0aa217e 07-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> MIPS: implement dwarf_to_unw_regnum() macro without table
ips/Gglobal.c
1dc66bd1817e5664326f468ed0b56eb3a24d1ccd 07-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> ARM: implement dwarf_to_unw_regnum() macro without table
rm/Gglobal.c
54a096a5af6b5a9b57ac17a9485cd6069d3044af 01-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> PPC: do not export dwarf_to_unw_regnum_map

dwarf_to_unw_regnum_map is internal to libunwind, and should not be
exported.
pc32/Gglobal.c
pc64/Gglobal.c
80fc285599e493c1d2cfd84620107a1162e550fe 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> MIPS: fix symbol naming for `mips_lock', `mips_local_resume', and `mips_local_addr_space_init'

Properly export the symbol names also on MIPS. `make check' was
complaining:

src/.libs/libunwind.a(Linit.o): In function `mips_local_addr_space_init':
src/mips/Ginit.c:183: multiple definition of `mips_local_addr_space_init'
../src/.libs/libunwind-mips.a(Ginit.o):src/mips/Ginit.c:183: first defined here

src/.libs/libunwind.a(Lglobal.o): In function `_ULmips_init':
src/mips/Gglobal.c:42: multiple definition of `mips_lock'
../src/.libs/libunwind-mips.a(Gglobal.o):src/mips/Gglobal.c:42: first defined here

collect2: ld returned 1 exit status
ips/unwind_i.h
201bb8733d385c86b9d78ee061db071b92d03938 18-Aug-2012 Arun Sharma <asharma@fb.com> Use libtool to build libunwind-ptrace
akefile.am
3d5e6c1dddc67288a4aeaf8bbcdc76dd220f5898 10-Aug-2012 Martin Milata <mmilata@redhat.com> Search MiniDebugInfo for procedure names

After searching the normal symbol table, look if the binary contains
.gnu_debugdata section. If it does, run LZMA decompression on it, load
the resulting ELF image into memory and call lookup_symbol() on it
again.

lookup_symbol() is modified so that it takes min_dist as a parameter and
only returns a symbol when it finds one that is closer than indicated by
the parameter.

Signed-off-by: Martin Milata <mmilata@redhat.com>
lfxx.c
71c1fffc357276dbcf7327a2829d8ec1eedf7e6f 10-Aug-2012 Martin Milata <mmilata@redhat.com> Refactor parts of elfxx.c to allow reusing code

Signed-off-by: Martin Milata <mmilata@redhat.com>
lfxx.c
7d5a1970215bf8537026c425d38d22465e4a07ee 08-Aug-2012 Martin Milata <mmilata@redhat.com> Add liblzma detection to configure script

Signed-off-by: Martin Milata <mmilata@redhat.com>
akefile.am
e11a6a4fdf1891802987519974f3a01d665126e9 06-Aug-2012 Martin Milata <mmilata@redhat.com> Fix incorrect return code of unw_get_proc_name

The code for symbol lookup (elfxx.c:lookup_symbol) works by iterating
over symbol tables while maintaing the symbol closest to the supplied
instruction pointer. Whenever this search encountered symbol that was
longer than result buffer, the function returned -UNW_ENOMEM even though
the final symbol wasn't too long.

Signed-off-by: Martin Milata <mmilata@redhat.com>
lfxx.c
814bd79fb1814eb5bbeb2fdb652d5ae08f1edd28 04-Aug-2012 Arun Sharma <asharma@fb.com> Fix some compiler warnings
etjmp/siglongjmp.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'
a64/Gtables.c
0fecf13d108b8992ab4f0bc7bfbfb57f12cd9b50 31-Jul-2012 Tommi Rantala <tt.rantala@gmail.com> Fix --enable-debug-frame build

dwarf/Gfind_unwind_table.c: In function '_Ux86_dwarf_find_unwind_table':
dwarf/Gfind_unwind_table.c:223:46: error: 'struct elf_dyn_info' has no member named 'edi'
warf/Gfind_unwind_table.c
5d36914c9beb7630aa2059c1c723dd217ccf3e76 31-Jul-2012 Tommi Rantala <tt.rantala@gmail.com> IA64: use tdep_find_unwind_table() in coredump lib

Fixup commit d93d96ad833390519ea68a2df22dd55dd26a3214 ("Fix compilation
on IA64"), and replace the dwarf_find_unwind_table() call with
tdep_find_unwind_table().

Fixes linkage error on IA64:
../src/.libs/libunwind-coredump.so: undefined reference to `dwarf_find_unwind_table'
oredump/_UCD_find_proc_info.c
oredump/_UPT_get_dyn_info_list_addr.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.
akefile.am
a64/mk_Gcursor_i.c
a64/mk_cursor_i
de28c51e631fd2d119caff4eabb8ff604dbcf2eb 29-Jun-2012 Martin Milata <mmilata@redhat.com> Build libunwind-coredump using libtool

So that it builds shared/pic library that can be linked with other
libraries.

Signed-off-by: Martin Milata <mmilata@redhat.com>
akefile.am
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>
akefile.am
a64/Gfind_unwind_table.c
trace/_UPT_find_proc_info.c
trace/_UPT_get_dyn_info_list_addr.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
dd297ea92e7cea8050effdb5ac9998933a28da6e 19-May-2012 Arun Sharma <asharma@fb.com> Revert "x86_64: unbreak test-ptrace"

This reverts commit c9c5a40be19f8159aff0f5f07b753d59ba65f0f9.
dwarf_get() returns 0 on success. We should continue unwinding
in that case.

TBD: investigate test-ptrace failure on some platforms.
86_64/Gstep.c
c9c5a40be19f8159aff0f5f07b753d59ba65f0f9 16-May-2012 Arun Sharma <asharma@fb.com> x86_64: unbreak test-ptrace

If dwarf_get returns 0 (indicating the end of call chain), we should
not override the return value to 1. This may result in the caller
continuing to unwind and getting spurious errors.
86_64/Gstep.c
1a6ea3da607d35c03733b9db26b64b71cdbfcfa7 23-Apr-2012 Konstantin Belousov <kib@freebsd.org> freebsd: Fix boundary conditions for non-dwarf walker on x86_64.

In the commit d04dc94cc2b0141f06ed9de1665ab89a3f549e0b, the check for
dwarf.ip == 0 was removed from non-dwarf walker in x86_64 version of
unw_step(). Apparently this broke the detection of the end of frame
chain when NULL %rbp is specified, because the case just marked
dwarf.ip as 0. Explicitly set ret to 0 to indicate the end of
iteration.
86_64/Gstep.c
3bb74aae3da540865b1208f78936c8975929cb11 23-Apr-2012 Konstantin Belousov <kib@freebsd.org> freebsd: Account for the possible ERESTART handling of the syscalls.
86_64/Gos-freebsd.c
5f440b4af2b5dcae2f15652999b9aca7db55d02c 23-Apr-2012 Konstantin Belousov <kib@freebsd.org> freebsd: Workaround for old FreeBSD kernels

Older kernels interpret the pid argument of the process information
sysctls as pid only. If libunwind UPT consumer passed tid to _UPT_create,
tdep_get_elf_image() returns error due to sysctls failure. Provide a
slow workaround by searching for a process owning the supplied tid if
sysctl returned ESRCH.
s-freebsd.c
f8858bacca33415577606f23f52569c1242337de 23-Apr-2012 Konstantin Belousov <kib@freebsd.org> freebsd: Fix logic error

When encountered vm map entry is not backed by a vnode, continue search
for matching entry instead of aborting the loop.
s-freebsd.c
0fac4c8109e23b5363fea3366e35ba17d9f7ea79 23-Apr-2012 Konstantin Belousov <kib@freebsd.org> freebsd: Consistently use symbolic name UNW_EUNSPEC for errors
s-freebsd.c
69e300e8f6f5e9b136a70d5f3ca80fb8deac6666 15-Apr-2012 Jiri Olsa <jolsa@redhat.com> dwarf: Get correct return from expression evaluation

Currently the expression evaluation always succeeds,
and possible error is not propagated to the caller.

The ',' operator makes the condition always return 0.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Tested-by: Paul Pluzhnikov <ppluzhnikov@google.com>
warf/Gparser.c
cbc66b62c085c369c8506da12f7dc5014baabfc8 10-Apr-2012 Arun Sharma <asharma@fb.com> mips: fix a linker error

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
trace/_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.
akefile.am
warf/Gfind_unwind_table.c
a64/Gfind_unwind_table.c
a64/Lfind_unwind_table.c
bc056ffc9fc47103c04db7fd3bb03c39b2bf1766 27-Mar-2012 Arun Sharma <asharma@fb.com> coredump: update license to be the same as rest of libunwind

Per Denys Vlasenko <dvlasenk@redhat.com>:

Sure. It's a trivial file, I don't mind if you use
whatever license you like on it :)
oredump/_UCD_lib.h
edcc521a0e94bb198aa3197f1620c40f640334c1 26-Mar-2012 Alexander Larsson <alexl@redhat.com> Add helper macros for pointer arithmetics

ALIGN lets you align pointers and STRUCT_MEMBER lets you get
structure members at a specific offset.

These are useful in general, and will be needed for the coredump notes
cleanup work.
oredump/_UCD_internal.h
b1393b7e638fbed2d21a207f813c9fd021ec1242 26-Mar-2012 Alexander Larsson <alexl@redhat.com> Clean up the elf notes handling in the coredump code

We centralize the elf notes handling code in some macros, thus
simplifying the loops over the notes and avoiding code duplication.
oredump/_UCD_create.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>
a64/Gtables.c
5e59e93d049b9c6261c0db456edb7ab323618b6c 26-Mar-2012 Arun Sharma <asharma@fb.com> dwarf: introduce a valid bit for dwarf_reg_state_t

Without this, cache_match() returns true when (ip == 0).
warf/Gparser.c
d04dc94cc2b0141f06ed9de1665ab89a3f549e0b 26-Mar-2012 Arun Sharma <asharma@fb.com> dwarf: ip == 0 should't terminate unwind
warf/Gstep.c
86_64/Gstep.c
43e5ee28c00813fb53f6642304b33a49b70b6d62 26-Mar-2012 Arun Sharma <asharma@fb.com> Demote the debug level to reduce verbosity
warf/Gfind_proc_info-lsb.c
0628a9872ca4ca5a93b3671e21f099a81e21c07a 24-Mar-2012 Arun Sharma <asharma@fb.com> Whitespace cleanup
oredump/_UCD_create.c
0c0ea23cf2ea57c168ef20956a4c4183efa13d0d 23-Mar-2012 Alexander Larsson <alexl@redhat.com> Add support for multiple threads in core files

_UCD_select_thread() lets you select the active thread from
the core file and _UCD_get_num_threads() tells you how many there are.
oredump/_UCD_create.c
oredump/_UCD_internal.h
d62748178383a1869b3e6c1f102cfd2e30c55371 23-Mar-2012 Alexander Larsson <alexl@redhat.com> Break out the ifdefs for the UCD_info.prstatus type

This cleans up the code a bit and makes it easier to refer to
the prstatus type in other places.
oredump/_UCD_internal.h
b9ff650a2286978e0901cab2c5735482bfc45b7b 23-Mar-2012 Alexander Larsson <alexl@redhat.com> Add _UCD_get_pid and _UCD_get_cursig

These let you get the pid and the current signal from the coredump.

This isn't strictly unwind related, but these are trivial to implement
as we have the info, and you almost always want these when you're
printing a backtrace from a core file.
oredump/_UCD_create.c
adbeb79155e703101eaf747f30e101788cfa7004 23-Mar-2012 Alexander Larsson <alexl@redhat.com> Fix build with --enable-debug

This just fixes a typo
oredump/_UCD_access_reg_linux.c
cc7c74e691032b8c694d673dc1530c26ce801736 13-Mar-2012 Kostik Belousov <kostik@sirion> On FreeBSD, the structure is called prstatus.
oredump/_UCD_internal.h
dc9be1a97a7712b36533a9c362ecc3e6492fbc9b 13-Mar-2012 Kostik Belousov <kostik@sirion> Implement register read for FreeBSD coredumps.
Rename _UCD_access_reg.c to _UCD_access_reg_linux.c, to have
per-OS coredump register reader.
akefile.am
oredump/_UCD_access_reg.c
oredump/_UCD_access_reg_freebsd.c
oredump/_UCD_access_reg_linux.c
1e6959a769fefbed6c9eb5d54d71cf5c02d962ed 13-Mar-2012 Kostik Belousov <kostik@sirion> Shut down compiler warning about format mismatch.
oredump/_UCD_create.c
e8eb5834505cb2ef5b7afbf44eead1bdbdb644ae 13-Mar-2012 Kostik Belousov <kostik@sirion> Handle byteswap.h and endian.h inclusion.
oredump/_UCD_create.c
f0bb806ecbbdc62f0e59716221212d75cc78e9f8 13-Mar-2012 Arun Sharma <asharma@fb.com> Move the test case to tests dir.
oredump/example-core-unwind.c
0f17b521716c8492f08f8671fd847fd3c26f8175 16-Feb-2012 Arun Sharma <asharma@fb.com> Fixup regnames on x64
oredump/_UCD_access_reg.c
b08ae72d6c041c2c9d72d049f815d001032169ca 13-Mar-2012 Arun Sharma <asharma@fb.com> Add support for unwinding coredump images

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
akefile.am
oredump/README
oredump/_UCD_access_mem.c
oredump/_UCD_access_reg.c
oredump/_UCD_accessors.c
oredump/_UCD_create.c
oredump/_UCD_destroy.c
oredump/_UCD_elf_map_image.c
oredump/_UCD_find_proc_info.c
oredump/_UCD_get_proc_name.c
oredump/_UCD_internal.h
oredump/_UCD_lib.h
oredump/_UPT_access_fpreg.c
oredump/_UPT_elf.c
oredump/_UPT_get_dyn_info_list_addr.c
oredump/_UPT_put_unwind_info.c
oredump/_UPT_resume.c
oredump/example-core-unwind.c
d276b7a9614987495a7dfb056e6558f452ebe802 13-Mar-2012 Arun Sharma <asharma@fb.com> Introduce get_proc_name_in_image()

This is similar to get_proc_name() but takes an already mapped
image.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
lfxx.c
lfxx.h
6525714c270c6521389b657793bd7147eeffa4f0 13-Mar-2012 Arun Sharma <asharma@fb.com> Move some dwarf functionality from ptrace to dwarf

Move ptrace-independent code from src/ptrace/_UPT_find_proc_info.c
to src/dwarf/{G,L}find_unwind_table.c. Name this moved function
dwarf_find_unwind_table().

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
akefile.am
warf/Gfind_unwind_table.c
warf/Lfind_unwind_table.c
trace/_UPT_find_proc_info.c
trace/_UPT_get_dyn_info_list_addr.c
trace/_UPT_internal.h
25ee9f81727616f3269032c52483e4421d451291 13-Mar-2012 Arun Sharma <asharma@fb.com> Introduce struct elf_dyn_info

This is a common part of struct UPT_info
and struct UCD_info (to be introduced later).
Make _UPTi_find_unwind_table function operate only on this part
of struct UPT_info.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
trace/_UPT_create.c
trace/_UPT_destroy.c
trace/_UPT_find_proc_info.c
trace/_UPT_get_dyn_info_list_addr.c
trace/_UPT_internal.h
3d08506936d16401aade168de0c95646b3f54a94 13-Feb-2012 Arun Sharma <asharma@fb.com> Fix undefined symbol: _Uelf64_valid_object

Without this change, we end up building libunwind-${arch}.a with
missing symbols.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
lfxx.c
lfxx.h
59328832f7ee48682fcd0fd1ca0cb9cfdb32ec4a 05-Feb-2012 Konstantin Belousov <kib@freebsd.org> Provide the FreeBSD implementation for _UI_siglongjmp_cont on x86.
On FreeBSD, _NSIG is at least 128, so just pass a pointer to the
signal mask in the register.
Add my copyright.
etjmp/siglongjmp.c
86/siglongjmp.S
1774384098bc52588eccf454c0d076857ad182eb 05-Feb-2012 Konstantin Belousov <kib@freebsd.org> FreeBSD also supports PT_GNU_STACK.
86/longjmp.S
86/siglongjmp.S
29dae2171e764b885553aa6c3b9a18448790fd12 05-Feb-2012 Konstantin Belousov <kib@freebsd.org> Style.
s-freebsd.c
51445f61d36567b8f242b5dbef0df12a0fba9702 01-Feb-2012 Tommi Rantala <ext-tommi.1.rantala@nokia.com> ARM: fix unwind table search when IP less than first table entry

Properly return error when searching for unwind table entry for an IP
that is less than the first available table entry.
rm/Gex_tables.c
ec4b23bf70e593a69b8d84ff31a0593993a0d295 23-Jan-2012 Tommi Rantala <ext-tommi.1.rantala@nokia.com> ARM: fix off-by-one in exidx VFP pop

The range of VFP registers we need to pop is inclusive.
rm/Gex_tables.c
458c661be704782ba3f9bd5be7d3b96e6eb0fd7a 23-Jan-2012 Tommi Rantala <ext-tommi.1.rantala@nokia.com> Fix libunwind-generic.so symbolic link never being created in make install

Commit 7d43108f9c41a2ccbe0adc8713523ad60469e026 ("No
libunwind-generic.so if configured with --disable-shared") introduced a
check to avoid creating a broken libunwind-generic.so link, but the
result of the commit is that libunwind-generic.so is never created (at
least when installing to a clean directory).

We need to check for the installed libunwind-$(arch).so file,
libunwind-generic.so will be the symbolic link name.
akefile.am
52ca68c770e9128940748bab72a5b103057166a8 16-Dec-2011 Arun Sharma <asharma@fb.com> Fix a race condition

There is a window of time between the munmap and the tls_cache being
marked as destroyed, where there could be a bad access to memory that
has been unmapped/freed. Reorder the code a bit to close the window.

Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
86_64/Gtrace.c
cf2f3d3b755d3374cc2f77973339c44c18057130 02-Dec-2011 Arun Sharma <asharma@fb.com> Correct the inverted check

Typo when manually applying the previous commit.
86_64/Gstash_frame.c
2f328202ee19a68f4fc99d2cea169407026a70ed 02-Dec-2011 Arun Sharma <asharma@fb.com> Fix a compiler warning

Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
86_64/Gstash_frame.c
2b606faa21024932f6819ba31e846d866db9d2f9 26-Nov-2011 Konstantin Belousov <kostikbel@gmail.com> Fix compilation on non-glibc machines.

Commit 297d9cd07d7ea9b541fb13bffe418 (Fix for failing test-setjmp)
breaks non glibc systems, since __GLIBC_PREREQ is not defined there.
As a consequence, preprocessor aborts with an error.

Trying to hide __GLIBC_PREREQ under #ifdef __GLIBC would require
either code duplication, or moving the longjmp implementation into
the separate file, which is included twice. In fact, I am not sure
in any use of the __GLIBC_PREREQ at the compile time, because the
compiled code can be run on the later version of glibc.

Below is the patch, tested on FreeBSD x86/x86_64 and Scientific Linux 6.1
x86_64. I compile the code always, but keep it in under unused static
symbol. In principle, the code could be optimized out by linker.

[ Minor formatting edits: asharma@fb.com ]
etjmp/longjmp.c
etjmp/siglongjmp.c
1010880548589685a27b8f63ef54a3ea78e052fc 28-Nov-2011 Arun Sharma <asharma@fb.com> Address x86_64 crashes when using sigaltstack

The crashes were tracked down to f->rpb_cfa_offset being incorrect.

The problem is that {rsp,rbp}_cfa_offset only have 15 bits, but for
SIGRETURN frame they are filled with:

// src/x86_64/Gstash_frame.c

f->cfa_reg_offset = d->cfa - c->sigcontext_addr;
f->rbp_cfa_offset = DWARF_GET_LOC(d->loc[RBP]) - d->cfa;
f->rsp_cfa_offset = DWARF_GET_LOC(d->loc[RSP]) - d->cfa;

The problem is that the delta here can be arbitrarily large when
sigaltstack is used, and can easily overflow the 15 and 30-bit fields.

When signal handler starts running, the stack layout is:

... higher addresses ...
ucontext
CFA->
__restore_rt (== pretcode in rt_sigframe from
linux-2.6/arch/x86/include/asm/sigframe.h)
SP ->
... sighandler runs on this stack.

... lower addresses ...

This makes it very convenient to find ucontext from the CFA.

Attached patch re-tested on Linux/x86_64, no new failures.

Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Reviwed-by: Lassi Tuura <lat@cern.ch>
86_64/Gos-linux.c
86_64/Gstash_frame.c
86_64/Gtrace.c
297d9cd07d7ea9b541fb13bffe418c8b2a8c3aa6 15-Nov-2011 Paul Pluzhnikov <ppluzhnikov@google.com> Fix for failing test-setjmp

On Mon, Nov 14, 2011 at 5:02 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:

> P.S. test-setjmp is failing for me (before or after the patch).
> When I enable assertions (to confirm my new assertions are correct), I see:
>
>  lt-test-setjmp: ../../src/dwarf/Gparser.c:754: apply_reg_state: \
>    Assertion `rs->reg[17].where == DWARF_WHERE_EXPR' failed.
>
> which likely explains that failure.

The problem is actually two-fold:

First, the loops in {sig,}longjmp.c are "do { ... } while (unw_step() >= 0);"

But unw_step() returns 0 on reaching the end of the chain (_start),
and the loop should stop there.

The second problem is that with this commit:
http://repo.or.cz/w/glibc.git/commitdiff/c67da0b50e3d20f89d7bb352cd67dcf66d808e50
glibc obfuscates value of SP in jmp_buf, so we might as well just give up.

Patch attached.

Thanks,
--
Paul Pluzhnikov
etjmp/longjmp.c
etjmp/siglongjmp.c
d84e5d5d2485b7c37bdf31794c77ed000f34faf5 18-Nov-2011 Ken Werner <ken.werner@linaro.org> Call dwarf_step only if CONFIG_DEBUG_FRAME is defined

The ARM EABI does not use the .eh_frame and .eh_frame_hdr sections for unwinding. Therefore it doesn't make sense to call dwarf_step if CONFIG_DEBUG_FRAME is not defined.
rm/Gstep.c
786882ff8c0d1317558a4a805b2be319e64cb6a9 12-Nov-2011 Arun Sharma <asharma@fb.com> Remove unused variable segbase
warf/Gfind_proc_info-lsb.c
1e644990c9afe9054ba7693929139f298cb3e53a 31-Oct-2011 Ken Werner <ken.werner@linaro.org> Only declare the start/end variables in case CONFIG_DEBUG_FRAME is defined.

Prevents compiler warnings about unused variables.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
warf/Gfind_proc_info-lsb.c
25aeae9adf3c55fb38752434d948ebc42f3ea465 02-Nov-2011 Ken Werner <ken.werner@linaro.org> Fix breakage when host != target

Define the sigreturn syscall numbers instead of including on <sys/syscall.h>.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gis_signal_frame.c
d20df8b3183d1f179ffc30a5ceabb9d1375ac0ff 01-Nov-2011 Arun Sharma <asharma@fb.com> Fix up the breakage when host != target
warf/Gfind_proc_info-lsb.c
851f14281c2fefb596c8e6b2e356c553a3f5cc87 30-Oct-2011 Arun Sharma <asharma@fb.com> Fix some compiler warnings
s-linux.h
0eba2169fb19ef0707a2c96201e33769001b5f11 25-Oct-2011 Ken Werner <ken.werner@linaro.org> [ARM] Add support for systems that don't support ucontext.h

Define unw_tdep_context rather than using ucontext_t in order to support
systems that lack ucontext.h. Note that POSIX.1-2008 removed getcontext,
makecontext and swapcontext from its specification.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gglobal.c
rm/Ginit.c
rm/Ginit_local.c
rm/Gresume.c
rm/init.h
059676cb00cfdd3be17dfdeb25547037737f1b68 20-Oct-2011 Ken Werner <ken.werner@linaro.org> Prevent the use of struct dl_phdr_info outside of dl_iterate_phdr

Since the dl_iterate_phdr is required for local unwinding only the use of
struct dl_phdr_info can be eliminated in case libunwind gets compiled for
remote unwinding. This enhances libunwinds portability to targets that
don't provide any dl_iterate_phdr functionality.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
warf/Gfind_proc_info-lsb.c
trace/_UPT_find_proc_info.c
0fed502a81dd6d9eff4da9ff26d895a16ab828cf 20-Oct-2011 Ken Werner <ken.werner@linaro.org> UNW_REMOTE_ONLY fixes

Exclude <link.h> because it is only required for local unwinding when
iterating over the program headers.

Have the following DWARF related functions available in case of
UNW_REMOTE_ONLY because they are used by libunwind-ptrace:
dwarf_find_debug_frame
locate_debug_info
find_binary_for_address
load_debug_frame
debug_frame_tab_new
debug_frame_tab_append
debug_frame_tab_shrink
debug_frame_tab_compare

Signed-off-by: Ken Werner <ken.werner@linaro.org>
warf/Gfind_proc_info-lsb.c
0a26727ea2b3b9afd8d019a91777f350d06dd8dc 30-Oct-2011 Arun Sharma <asharma@fb.com> Fix TLS destructor ordering problems

Glibc calls thread-specific dtors in the order in which the keys were added,
so the first dtor is the trace_cache_free() one. Then thread-specific
data for some other key is free()d, which calls into unw_backtrace(),
which uses dangling cache and munmapped cache->frames.

[ Minor rename + compiler warning fix: asharma@fb.com ]
Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
86_64/Gtrace.c
08077a4962c4e606598f9f0e54b515b3c882be10 30-Oct-2011 Arun Sharma <asharma@fb.com> pthread_once() workaround for FreeBSD and Solaris

On FreeBSD, as well as on the Solaris < 10, weak pthread_once stub is
always exported from libc. But it does nothing, which means that if
threaded library is not loaded, then pthread_once() call do not actually
call the initializer finction. The construct
if (likely (pthread_once != 0))
{
pthread_once(&trace_cache_once, &trace_cache_init_once);
then fails to initialize the trace cache on x86_64.

Work around by checking that the initializer was indeed called.
Note that this can break if libthr is loaded dynamically, but my belief
is that there is no platforms which allow dynamic loading of the threading
library.
86_64/Gtrace.c
7f41e701e34353baa975f5b471a9343aee2e488e 09-Sep-2011 Ken Werner <ken.werner@linaro.org> Have tdep_get_elf_image available in case of UNW_REMOTE_ONLY

Because it gets used by libunwind-ptrace.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
s-freebsd.c
s-hpux.c
s-linux.c
da4743f52a577c9bf005a23b39b021238763e5ee 09-Sep-2011 Ken Werner <ken.werner@linaro.org> Exclude arm_find_proc_info and arm_put_unwind_info in case of UNW_REMOTE_ONLY

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gex_tables.c
197571915c70b9ccd0978c13f12acb2a5f3058d4 11-Oct-2011 Ken Werner <ken.werner@linaro.org> Change _UPTi_find_unwind_table to return an integer.

This keeps the definition on IA64 and all the other architectures in sync with
the declaration of _UPTi_find_unwind_table. This also mimics the behaviour of
what's done for local unwinding and allows the function to provide more than
one way to undwind.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
trace/_UPT_find_proc_info.c
trace/_UPT_get_dyn_info_list_addr.c
trace/_UPT_internal.h
c4133e879b8cfa7e7295f7d35bde22dfc800ebc8 16-Oct-2011 Arun Sharma <asharma@fb.com> undef FORTIFY_SOURCE

It's a bit annoying to undefine at configure or compile time.

Signed-off-by: Arun Sharma <asharma@fb.com>
etjmp/longjmp.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>
rm/Gget_save_loc.c
ppa/Gget_save_loc.c
a64/Gget_save_loc.c
ips/Gget_save_loc.c
86/Gget_save_loc.c
86_64/Gget_save_loc.c
962366dace4fed902ad5e89df1b34c13c3224b8b 23-Sep-2011 Arun Sharma <asharma@fb.com> Fixup compile errors on ia64.

Suggested-by: Harald Servat <harald.servat@bsc.es>
trace/_UPT_get_dyn_info_list_addr.c
trace/_UPT_internal.h
ac0acd06f319832eecb60936621b3f98363223a7 11-Sep-2011 Arun Sharma <asharma@fb.com> Bump up the library version
akefile.am
00abb7c056f2b921e76c9a44d44229056d3168e9 05-Sep-2011 Arun Sharma <asharma@fb.com> Reorder libraries in lib_LTLIBRARIES

This fixes a make install time problem.
akefile.am
92327a3647a96e6425c158cd0f9ec2669c441647 29-Aug-2011 Ken Werner <ken.werner@linaro.org> ARM: prefer to unwind using DWARF info

In case the user doesn't specify whether to unwind using the ARM specific
unwind tabler or DWARF info libunwind should prefer the latter. Since DWARF
expressions are more powerful than the ARM specific unwind tables
arm_find_proc_info is changed to check for DWARF first.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gex_tables.c
912db91b053a86092515caff4ed8e2447864c8cb 29-Aug-2011 Ken Werner <ken.werner@linaro.org> ARM: Exit unw_step in case DWARF based unwinding was successful

Prevents unw_step from trying to unwind the stack using the ARM specific
unwind tables in case the DWARF based unwinding was successful.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gstep.c
112c927371b8253040a38da697372a3fd67ad520 17-Aug-2011 Ken Werner <ken.werner@linaro.org> ARM: Ensure unw_step returns whatever find_proc_info() returns

This allows the test-proc-info test case to pass on ARM.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gstep.c
93e64550acf34fba786eddbb2e1b108bf34ae106 17-Aug-2011 Ken Werner <ken.werner@linaro.org> ARM: Fix return value of arm_find_proc_info

Initialize the return value with -1 in order prevent arm_find_proc_info from
returning zero. This could happen in case the environemtn variable
UNW_ARM_UNWIND_METHOD doesn't allow exidx and/or dwarf unwinding.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gex_tables.c
d83846f120596ea60f74816947deceb93d0a8944 20-Jul-2011 Ken Werner <ken.werner@linaro.org> ARM: Initial support for remote unwinding using libunwind-ptrace

Change _UPTi_find_unwind_table to also look for the ARM specific unwind
information. Adjust the ARM unwind code to read memory using the accessor
routines.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gex_tables.c
rm/Gstep.c
trace/_UPT_find_proc_info.c
trace/_UPT_internal.h
b317cb48296ca3837b403782c317f6214a54a7fa 20-Jul-2011 Ken Werner <ken.werner@linaro.org> Change libunwind-ptrace to also look for .debug_frame if nothing found in .eh_frame.

This changes the behavior of libunwind-ptrace to what we do for local
unwinding.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
trace/_UPT_create.c
trace/_UPT_find_proc_info.c
trace/_UPT_internal.h
545023c2072975c6b85a09d5faf2cf05db10e064 14-Jul-2011 Ken Werner <ken.werner@linaro.org> Rework the lookup of the ARM specific unwind info

Implement routines for finding the proc_info and searching the unwind table
for the ARM backend.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gex_tables.c
rm/Ginit.c
rm/Ginit_local.c
rm/Gstep.c
warf/Gparser.c
0b9f591823474c9651acdffec68256e077e4d601 12-Aug-2011 Ken Werner <ken.werner@linaro.org> Make the dwarf dl_iterate_phdr callback available within libunwind.

Rename the dwarf dl_iterate_phdr callback routine and the callback_data
structure to dwarf_callback and dwarf_callback_data. Make it available
within libunwind by declaring the two at the dwarf.h header file.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
warf/Gfind_proc_info-lsb.c
25f6b8295d0427746e2a760bb17e63c0461e47f2 06-Jul-2011 Ken Werner <ken.werner@linaro.org> Change address type from void* to unw_word_t.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gex_tables.c
rm/Gstep.c
b28335b5a59ff5909d816ff539c1e5c246e40baa 30-Jun-2011 Ken Werner <ken.werner@linaro.org> Fix inline assembly.

Remove the third colon if the clobber list is not present.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gresume.c
e09f9701ffcd05b097565d15daa87ac1b2d84299 19-Jun-2011 Arun Sharma <asharma@fb.com> Handle register nums > 16 on x86_64

gcc generates them when using ms-abi. Support disabled by
default since it increases the cache footprint of the library.
86_64/Gglobal.c
7d43108f9c41a2ccbe0adc8713523ad60469e026 16-Jun-2011 Joel Brobecker <brobecker@adacore.com> No libunwind-generic.so if configured with --disable-shared

Installing a libunwind that was configured with --disable-shared
results in a broken libunwind-generic.so link. This patch avoids
this broken link.
akefile.am
ea7160a8412fc4c3233f4c006e777fc9217f4089 16-Jun-2011 Joel Brobecker <brobecker@adacore.com> Remove unintended semi-colon in os-hpux.c fun definition

Probably a copy/paste error... This showed up on ia64-hpux.
s-hpux.c
8d991d9258abab1ef6b649b2d8bec742ab2bb5bf 16-Jun-2011 Joel Brobecker <brobecker@adacore.com> Fix call to maps_next in _UPT_get_dyn_info_list_addr.c

A previous change reduced the number of arguments that this function
tasks, but one call at least did not get updated, resulting in a build
failure on ia64-linux. This patch fixes it.
trace/_UPT_get_dyn_info_list_addr.c
e003e44a372df5c632137251449b0594f0ca4bc5 16-Jun-2011 Joel Brobecker <brobecker@adacore.com> Check for <sys/ptrace.h> before including it

On ia64-hpux version 11.31, <sys/ptrace.h> has been removed.
This patch adds a configure check for this header file, and only
includes <sys/ptrace.h> if it exists.
trace/_UPT_internal.h
d2525ec9369525c4d089eeffc84b417fd9c9aea7 07-May-2011 Lassi Tuura <lat@cern.ch> Use single level hash table for fast trace.
86_64/Gtrace.c
5c2cade264010c9855c4ea5effc5b4789739e7ca 07-May-2011 Lassi Tuura <lat@cern.ch> Inline access to initial register values as it's known to be safe.
86_64/Gtrace.c
36511d3d1f040bbf778094e907725ad0617326c8 21-Apr-2011 Ken Werner <ken.werner@linaro.org> Add support for handling signal frames on ARM Linux.

This patch add support for resuming at a certain stack frame even if signal
frames are involved. For restoring the registers the trampoline (sigreturn)
is used. RT and non-RT signal frames are handled for both >=2.6.18 and
<2.6.18 kernels.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gresume.c
rm/Gstep.c
rm/init.h
9533ea1a6adc91276cd779c598f5718c773c44c9 28-Apr-2011 Ken Werner <ken.werner@linaro.org> Add support for RT signal frame detection on ARM.

This patch adds a few more patterns to the check that detects if the IP
points to a sigreturn sequence.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gis_signal_frame.c
1e10c2931d970d0ae5426bba6ba9e1c2998c7451 21-Apr-2011 Ken Werner <ken.werner@linaro.org> Add initial support for local unw_resume on ARM Linux.

Provides basic support for resuming execution at a certain stack frame.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Ginit.c
rm/Gresume.c
rm/unwind_i.h
ae5c1f2adf4da04235d87d024d4d942c01b2b447 18-Apr-2011 Lassi Tuura <lat@cern.ch> Performance optimisations for fast trace.

Insert static branch prediction predicates in useful places and avoid
unnecessary code in the hottest paths. Bypass unnecessary indirect
calls, in particular to access_mem(), when known to be safe.
i/backtrace.c
86_64/Ginit.c
86_64/Ginit_local.c
86_64/Gos-freebsd.c
86_64/Gos-linux.c
86_64/Gtrace.c
86_64/init.h
86_64/unwind_i.h
e2962af9d31266761700b431da894421c0d757ec 06-Apr-2011 Arun Sharma <asharma@fb.com> Implement a cheaper getcontext()

Since the fast unwinding code path doesn't need the full context,
a faster target dependent getcontext is implemented.

Signed-off-by: Lassi Tuura <lat@cern.ch>
i/backtrace.c
86_64/getcontext.S
15f182828d88ea51d419d94b3daabb7a69181c78 06-Apr-2011 Arun Sharma <asharma@fb.com> Use __thread instead of pthread_getspecific()
86_64/Gtrace.c
fd21d07fe422aacea422a8942ac2cc3f363f0fce 01-Apr-2011 Ken Werner <ken.werner@linaro.org> Create a generic and local variant of the extbl parser.

In order to have the DWARF_* macros working properly a generic and a local
variant of the ex_tables.c have been created.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
akefile.am
rm/Gex_tables.c
rm/Gstep.c
rm/Lex_tables.c
rm/ex_tables.c
5f38f35d5d6c78aafa6da20845d9ceff74af00f8 01-Apr-2011 Lassi Tuura <lat@cern.ch> Drop a call frame in tdep_trace and avoid a call to unw_step.

Dropping the extra frame for unw_backtrace itself using unw_step is
approximately 15% slower than skipping the frame in tdep_trace. So
drop the frame in the latter, and make the function a private
implementation detail for libunwind, not an exported interface.

Also moves unw_getcontext call back into unw_backtrace to avoid an
extra call frame in case slow_backtrace does not get inlined into
unw_backtrace.
i/backtrace.c
86_64/Gtrace.c
50bc12afba900c478d5d760966ef5b6f32229c99 01-Apr-2011 Lassi Tuura <lat@cern.ch> Export unw_backtrace() and alias backtrace() to it.
i/backtrace.c
2f9b04e9c29999d18906e37b37dcea9676df194f 01-Apr-2011 Arun Sharma <asharma@fb.com> Mark slow_backtrace() ALWAYS_INLINE

Also fix Makefile.am so remote unwinding tests such Gtest-trace
don't link with the local unwind library (libunwind.a).
i/backtrace.c
3b9fd99cb78383e0ce8cd1a31e3b824a30ef965e 25-Mar-2011 Lassi Tuura <lat@iki.fi> Assign copyright as requested by the author.
86_64/Gstash_frame.c
86_64/Gtrace.c
f1ea02be58c2127cc655ef3fd6a385a1bd22cdcd 25-Mar-2011 Lassi Tuura <lat@iki.fi> Reset 'used' to zero after expanding frame cache hash table.
86_64/Gtrace.c
7ff83c051e33de1adbcbc20bf63ea368c2745a70 25-Mar-2011 Arun Sharma <asharma@fb.com> Fix up compilation and test failures
i/backtrace.c
44a14d1364abff3dc7ec49f35b7220542c4cf2b1 21-Mar-2011 Lassi Tuura <lat@cern.ch> Integrate fast trace into backtrace().
i/backtrace.c
86_64/Gtrace.c
9e98f15e9aee12e67cd5956d06ccb559f6a06213 19-Mar-2011 Lassi Tuura <lat@iki.fi> Fast back-trace for x86_64 for only collecting the call stack.

Adds new function to perform a pure stack walk without unwinding,
functionally similar to backtrace() but accelerated by an address
attribute cache the caller maintains across calls.
akefile.am
rm/init.h
warf/Gparser.c
ppa/init.h
ips/init.h
pc32/init.h
pc64/init.h
86/init.h
86_64/Ginit_local.c
86_64/Gos-linux.c
86_64/Gstash_frame.c
86_64/Gstep.c
86_64/Gtrace.c
86_64/Lstash_frame.c
86_64/Ltrace.c
86_64/init.h
28f33c8ce0b654cf31d6beda9a612870662f3c56 22-Mar-2011 Lassi Tuura <lat@cern.ch> Auto-detect whether to use msync() or mincore() for address validation.
86_64/Gglobal.c
86_64/Ginit.c
0f9937485ea8c52cebd4512885d9e2decd5a3ddd 23-Mar-2011 Ken Werner <ken.werner@linaro.org> ARM: Return the dwarf.cfa in case the user requests SP/R13.

Usually we don't have a valid location for the SP but we keep calculating
the value of the CFA. The ARM backend should return this value instead.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gregs.c
f053677198a54bf4fb2931f45f52fcc5d32f4360 23-Mar-2011 Ken Werner <ken.werner@linaro.org> Remove the ARM_EXIDX_TABLE_MALLOC code path.

Using malloc is not an option since unw_init_local and unw_step are supposed
to be async signal safe. Therefore this code path can be removed.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/ex_tables.c
6296ff1fb2cf8753128d35b57cabecd2faea4f88 23-Mar-2011 Ken Werner <ken.werner@linaro.org> Remove the appname string of the ARM extbl parser.

There is no need for libunwind to set/fake a name of the elf file from which
the program header came from.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Ginit_local.c
rm/ex_tables.c
dcb8d0d90f74d8478c35ec5fee098e4348154818 23-Mar-2011 Ken Werner <ken.werner@linaro.org> Prefer to unwind using DWARF info on ARM.

DWARF expressions are more powerful than the ARM specific unwind tables.
Therefore DWARF should be the preferred unwind method.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gstep.c
fb325c895e45052367f0a2ab04c107ca20f40a41 23-Mar-2011 Ken Werner <ken.werner@linaro.org> ARM extbl cleanup.

Move code that does not necessarily need to reside in the ex_tables.h header
file into ex_tables.c. Add comments and remove unused code.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/ex_tables.c
cf8d5e41af582b9070576889dcc479397a19bf48 23-Mar-2011 Ken Werner <ken.werner@linaro.org> Have the ARM extbtl-parser operate on the DWARF model directly.

This eliminates the arm_stackframe and therefore the need to synchronize the
two models. It also clears the way for unwinding call stacks with mixed
DWARF- and extbl-frames.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Ginit_local.c
rm/Gstep.c
rm/ex_tables.c
04fc88fa31ffac9e6189c4debd745c965473d1d4 22-Mar-2011 Konstantin Belousov <kostikbel@gmail.com> Fix build and distribution on the FreeBSD.

Signed-off-by: Konstantin Belousov <kostikbel@gmail.com>
akefile.am
0613d4c6800dbd47c26c90eb49883f45bd1fd77c 22-Mar-2011 Arun Sharma <asharma@fb.com> Fixup trailing whitespace

Signed-off-by: Arun Sharma <asharma@fb.com>
rm/Gis_signal_frame.c
6a671546741e8355dd9f821f171e4a3c895d28ec 15-Mar-2011 Zachary T Welch <zwelch@codesourcery.com> Use ARM-specific unwinding tables in unw_step

Uses ex_tables routines to provide a new means of unwinding the stack.
Set UNW_ARM_UNWIND_METHOD=4 to use ARM-specific unwinding tables.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Ginit_local.c
rm/Gstep.c
ffc474b8c8972200642acaef3e5aa10ee853609a 15-Mar-2011 Zachary T Welch <zwelch@codesourcery.com> Add module for parsing ARM-specific unwind tables

Handles lookup, extracting unwind entries, and decoding the entry
using a callback mechanism.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
akefile.am
rm/ex_tables.c
lfxx.h
049e2ba1b9734ec027765cd9449cb29a9bc0d974 15-Mar-2011 Zachary T Welch <zwelch@codesourcery.com> Add ARM signal frame detection

Implements a check for call to sigreturn that the kernel will have
setup before jumping to the signal handler.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
rm/Gis_signal_frame.c
6a072982ddd0b8c1597ac2aa17559732c8b5e763 02-Mar-2011 Zachary T Welch <zwelch@codesourcery.com> Fix file descriptor leakage in maps_init

If mmap fails, be sure to close the maps file before returning an error.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
Signed-off-by: Ken Werner <ken.werner@linaro.org>
s-linux.h
4a89b88fd3a778b134fa80a17840077fe56d0c2e 02-Mar-2011 Ken Werner <ken.werner@linaro.org> Link libunwind-setjmp against libunwind-elf.

This prevents the linker from complaining about a missing symbol when
building the test-setjmp test case.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
akefile.am
516304a5571ee410bca229b954d9a7f2cda3a85c 02-Feb-2011 Arun Sharma <arun@ubuntu.(none)> Revert "Use more convenience libraries"

Breaks make check on both x86 (32 and 64 bit)

This reverts commit af88cab09f4fb0cea75891083eee17d6d0614304.
akefile.am
a83e96cc1cc48c6c229d9462ab13ef6479a84143 24-Jan-2011 Arun Sharma <asharma@fb.com> Some entries in /proc/<pid>/maps are not ELF files, so add check
in elf_map_image() to ensure mapped files have a valid ELF header.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
Signed-off-by: Arun Sharma <asharma@fb.com>
lfxx.h
5007f8c7942fb50b9263f3d151e4a11530021e90 30-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Improve ELF valid_object() helper

Ensures the ELF header version is valid.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
lfxx.c
af88cab09f4fb0cea75891083eee17d6d0614304 09-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Use more convenience libraries

Eliminates obfuscating variables in favor of adding files directly
to library SOURCES. Eliminates the need for EXTRA_DIST variable.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
ce847afb3bcbfe7b13dfb455885f731e5e6423ee 09-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Build ELF convenience libraries

Rather than building the sources directly, create a library that
gets linked statically into libunwind.la and libunwind-$(arch).la.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
02dd6c468a8cded7179382982972f6dfa8a4e5e4 09-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Use noinst_HEADERS for distributing .h files

Header files should be listed in a HEADERS automake declaration
rather than in the SOURCES.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
9de666d141cffc4ec50e3a752d36fcf5cd752bb1 09-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Simplify DWARF source handling

Build DWARF source files into automake convenience libraries to
eliminate duplication in arch-dependent library build rules.
Adds a configure-time check to determine whether to use them.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
b07829beddf1c14a1ad663600f00011ff1abbb60 09-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Simplify LIBRARIES and LTLIBRARIES automake rules

Use automake's '+=' to eliminate obfuscation.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
64a827603c5320bd542dc3e47bad5cd247cbce96 09-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Simplify libunwind_setjmp automake rules

Eliminate redundant listing of libunwind_setjmp source files by
using automake's '+=' operator.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
651e9bb4fdef2f6f4dbdb4f85bee071ef72bcd25 29-Oct-2010 Zachary T Welch <zwelch@codesourcery.com> Add MAINTAINERCLEANFILES to Makefile.am files.

Ensures 'make maintainer-clean' removes files generated by autotools.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
cf6a99879604a159c294206dae100aa12fc92047 29-Oct-2010 Zachary T Welch <zwelch@codesourcery.com> Fix memory leak in ARM unw_create_addr_space()

Frees newly created address space memory in the event of a failure
caused by an endian mismatch.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
rm/Gcreate_addr_space.c
7909c71e5d99d359c6246457adb2ac61cc43a878 04-Aug-2010 Sven Neumann <s.neumann@raumfeld.com> [PATCH] Add files to EXTRA_DIST so that 'make dist' works again
akefile.am
99e60be5a4c8bc9076d1b11e89a06f85d9da7b88 08-Jun-2010 Arun Sharma <arun@sharma-home.net> Fix the page boundary crossing bug.

Signed-off-by: Jason Evans <jasone@canonware.com>
86/Ginit.c
86_64/Ginit.c
b3757e7792fdd92b49e2c8936e384009add4fee3 29-May-2010 Konstantin Belousov <kostik@pooma.home> Restore the linking when --enable-debug-frame is not specified
trace/_UPT_find_proc_info.c
00aed9631b112d7aa7adc98054b62549cfc857da 27-May-2010 Arun Sharma <arun@sharma-home.net> Add an experimental and optional frame chain unwinding for ARM

The environment variable UNW_ARM_UNWIND_METHOD controls the unwind method.

1 - debug_frame unwinding
2 - frame chain unwinding,
3 - 1 & 2 (default))

Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
rm/Gglobal.c
rm/Gstep.c
rm/getcontext.S
rm/siglongjmp.S
46e10c5abeeb93345367a70db2af3aba4440a49e 27-May-2010 Arun Sharma <arun@sharma-home.net> Support .debug_frame based unwinding in _UPTi_find_unwind_table()

Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
warf/Gfind_proc_info-lsb.c
warf/Gparser.c
trace/_UPT_find_proc_info.c
546463d1e78d52197ff2c204f793c343abb97dc5 27-May-2010 Arun Sharma <arun@sharma-home.net> Factor out and export dwarf_find_debug_frame() function

Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
warf/Gfind_proc_info-lsb.c
298e575f2cbb4616004717812f28879b2633a6ac 17-May-2010 Konstantin Belousov <kostik@pooma.home> Fix freebsd build
s-freebsd.c
8ee7b1762ed76957a86d6c84a1d34ee49eda37a3 15-May-2010 Arun Sharma <arun@sharma-home.net> Add ip argument to _UPTi_find_unwind_table.

Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
trace/_UPT_find_proc_info.c
trace/_UPT_internal.h
1787a2fd284a786b409af74047a12de02c644cd1 15-May-2010 Arun Sharma <arun@sharma-home.net> Add path and pathlen arguments to tdep_get_elf_image()

Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
lfxx.c
s-freebsd.c
s-hpux.c
s-linux.c
trace/_UPT_find_proc_info.c
b115ab645a44071f0a51742f5804dbceebd3f1ac 15-May-2010 Arun Sharma <arun@sharma-home.net> Ignore separate debug files which contain a .gnu_debuglink section.

Current implementation fails to find separate debug symbols when
.gnu_debuglink is set to the same name of the target ELF basename
(e.g. "libc.so.6" for /lib/libc.so.6). This patch fixes this by ignoring
separate debug files that contain a .gnu_debuglink section.

It also fixes a small typo in a related Debug() line.

Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
warf/Gfind_proc_info-lsb.c
66b7335ff3d10210e43bdd0cb8a3af80b7dba4e9 15-May-2010 Arun Sharma <arun@sharma-home.net> Adds missing register offsets for ARM

Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
trace/_UPT_reg_offset.c
e1493dc011346ace15f15b19894f1d063de35f24 03-May-2010 Konstantin Belousov <kostik@pooma.home> Merge branch 'master' into freebsd
aa3bb307a30a5b78bf1ae4ac843ae53e354736f5 03-May-2010 Arun Sharma <arun@sharma-home.net> Fix merge errors
86_64/Gos-linux.c
86_64/Gstep.c
c84005e9c8226917747c1e8ba31a13bff25b0c84 02-May-2010 Konstantin Belousov <kostik@pooma.home> Add unwind annotations for freebsd/x86 getcontext.S.
Rearrange the code to put the slow branch out of main body,
and pinch the fixed amount of stack space to be able to annotate
the code.
86/getcontext-freebsd.S
b73c618a3135e2e98a279c957240d6d00a192166 02-May-2010 Konstantin Belousov <kostik@pooma.home> Merge branch 'master' into freebsd
0176c4f723f1ea90eb20018091ca58eedf28a4a8 29-Apr-2010 Arun Sharma <arun@sharma-home.net> Merge commit 'fdc534ccb05d1e6c0438345d292203343a811701'
fdc534ccb05d1e6c0438345d292203343a811701 29-Apr-2010 Arun Sharma <aruns@google.com> Silence a compiler warning
86_64/Gos-linux.c
215afa30b782970479e956b7bb96dca7cd9325ea 29-Apr-2010 Arun Sharma <aruns@google.com> Add unwind descriptors to getcontext.S
86/getcontext-freebsd.S
86/getcontext-linux.S
86_64/getcontext.S
c140d8598d86c699ec619f3652aedbbddb142b69 25-Apr-2010 Arun Sharma <aruns@google.com> Undo commit f252f5ff4e51af90fd6629f122f72556db94ccb7 for now.

Seems to introduce a couple of test breakages.
86_64/Gstep.c
d3c4bc42952a1aad0297b6f86569178814275a83 25-Apr-2010 Arun Sharma <aruns@google.com> Fix a compiler warning
86_64/Gos-linux.c
045c55b2a296988c16a4c1b90f3d8b7e8b78752b 25-Apr-2010 Lassi Tuura <lat@cern.ch> Be conservative in all pointer derefrences by default.

Since most people can't completely control their compile or runtime
environment, it becomes hard to ensure that unwind data is perfect.
86_64/Ginit_local.c
d4fbc8326a91d246af29ff17131a12ed7ae87140 20-Apr-2010 Lassi Tuura <lat@cern.ch> Detect end of stack in x86-64 rbp-based walk.
86_64/Gstep.c
92cc7fd78a5a79c4bb5f85bfb7d7fb025df9cd5a 20-Apr-2010 Lassi Tuura <lat@cern.ch> Remove obsolete code for 'old way' of handling x86-64 signal frames.
86_64/Gos-linux.c
f252f5ff4e51af90fd6629f122f72556db94ccb7 20-Apr-2010 Lassi Tuura <lat@cern.ch> Recognise and unwind through PLT.
86_64/Gstep.c
a9dce3c06e6ffcb83957e734d960505415118f00 25-Apr-2010 Lassi Tuura <lat@cern.ch> During the stack unwinding process, the return address points to
the instruction after the call for a normal frame. libunwind uses
IP-1 to lookup unwind information. However, this is not necessary for
interrupted frames such as signal frames (or interrupt frames) in
the kernel context.

This patch handles both cases correctly.

Based on work by Mark Wielaard <mwielaard@redhat.com>
rm/Ginit_local.c
rm/Ginit_remote.c
rm/init.h
warf/Gparser.c
ppa/Ginit_local.c
ppa/Ginit_remote.c
ppa/init.h
ips/Ginit_local.c
ips/Ginit_remote.c
ips/init.h
pc/Ginit_local.c
pc/Ginit_remote.c
pc32/init.h
pc64/init.h
86/Ginit_local.c
86/Ginit_remote.c
86/init.h
86_64/Ginit_local.c
86_64/Ginit_remote.c
86_64/init.h
4c553ceb2c3fcde6248b05953abc34e162917c4a 20-Apr-2010 Lassi Tuura <lat@cern.ch> Identify end-of-stack by undefined return address location.
warf/Gparser.c
dac2d001afb1fa7040ca7d8ae57032f684d7023e 20-Apr-2010 Lassi Tuura <lat@cern.ch> Identify signal frames by augmentation attribute.
warf/Gfde.c
warf/Gparser.c
86_64/Gos-linux.c
86_64/Gstep.c
250382c56d2c84fc3976cf8a4c834433bb68990d 20-Apr-2010 Lassi Tuura <lat@cern.ch> Use wider format when printing addresses in debug format.
warf/Gfde.c
warf/Gfind_proc_info-lsb.c
58f290e1ce5950beac3767acbde08fcb0e1ca03f 21-Apr-2010 Konstantin Belousov <kostik@pooma.home> Add config.h.
86_64/Ginit.c
2709abc88376efe80d7d5ef6d9d4e740d5c9afcb 21-Apr-2010 Konstantin Belousov <kostik@pooma.home> msync() also may be called on unaligned address.
86/Ginit.c
86_64/Ginit.c
44544132422ef87047490be3041da0bfebf27d69 21-Apr-2010 Konstantin Belousov <kostik@pooma.home> Account for possible unaligned access.
86/Ginit.c
86_64/Ginit.c
ee99dbec879212406d813b1bae56b988b4ab1e00 20-Apr-2010 Konstantin Belousov <kostikbel@gmail.com> Use mincore instead of msync when available
86/Ginit.c
86_64/Ginit.c
75b76d1f45a78e82d8506e90ef6969a8b725ce04 16-Apr-2010 Konstantin Belousov <kostik@pooma.home> Save FPU context for i386.
86/getcontext-freebsd.S
b1c68e060ca8b75c511d7c056fe951cdc83b0b1b 16-Apr-2010 Konstantin Belousov <kostik@pooma.home> Arrange the FreeBSD ucontext offset definitions in ascending order.
86_64/ucontext_i.h
a67654e86f915051e6a3f1220facfb3619ffb837 14-Apr-2010 Giuseppe Scrivano <gscrivano@gnu.org> [PATCH] Reduce scope of the eh_frame_end local variable
trace/_UPT_find_proc_info.c
1d9c5a356d72993d8e9f5ac70811a723ea156403 14-Apr-2010 Arun Sharma <aruns@google.com> Fix compiler warnings on x86_64 Linux
86_64/Gos-linux.c
5a70fab4513e7215cc0a94b40905d5a2279be9bb 15-Apr-2010 Arun Sharma <aruns@google.com> Fix compiler warnings on x86 Linux
86/Gos-linux.c
127acf8e97047f0c5faf31114b1fea370c0c6389 13-Apr-2010 Konstantin Belousov <kostik@pooma.home> Use correct offset name and value for ucontext offset in struct sigframe
86/Gos-freebsd.c
86/offsets.h
0d311ea1617fd0ebff52dfacc85746fcc165bb10 13-Apr-2010 Konstantin Belousov <kostik@pooma.home> Add abort() after sigreturn calls
86/Gos-freebsd.c
34b064bf2233ec8c9223786f4bc714585bbce4f7 13-Apr-2010 Konstantin Belousov <kostik@pooma.home> Fix typo.
86/Gos-freebsd.c
1e77c66a51102090f429087fccc28cb6c383cce5 13-Apr-2010 Konstantin Belousov <kostik@pooma.home> Fix FreeBSD/x86_64 sigcontext restore
86_64/Gos-freebsd.c
61f4345a9e812713287e9f04949100416180b38f 13-Apr-2010 Konstantin Belousov <kostikbel@gmail.com> Fix an issue where len was too short for sysctl to recieve the process
vm map.
s-freebsd.c
02d0cb6f716d9fc3587b3ed07047f5fedf8724e6 13-Apr-2010 Konstantin Belousov <kostikbel@gmail.com> Do not save FPU context on x86 for now; XMM save area must be 16-bytes aligned
86/getcontext-freebsd.S
ae7eebb839491b9d313923e38414b83c1fddcbf4 13-Apr-2010 Konstantin Belousov <kostikbel@gmail.com> Separate getcontext implementation for x86
akefile.am
86/getcontext-freebsd.S
86/getcontext-linux.S
86/getcontext.S
66e49bdd415ec6c3d6479e2fc2a59a50b5f16d93 13-Apr-2010 Konstantin Belousov <kostikbel@gmail.com> Save %eax for i386
86/getcontext.S
5a7407dd94525516c93c96cc3785e3679f1ff226 12-Apr-2010 Konstantin Belousov <kostik@pooma.home> Merge branch 'master' into freebsd
c2d78041cc41e8455bd97584d5a5bb3638554632 12-Apr-2010 Arun Sharma <aruns@google.com> GCC compatibility on x86 for C++ exception handling
nwind/SetGR.c
eb8857a324ba9d2c721351ab57e62e47d153909f 12-Apr-2010 Giuseppe Scrivano <gscrivano@gnu.org> Silence a compiler warning
86/Gos-linux.c
843190597c5a482ad7f8ae5483a4f716db3c0719 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Remove unneeded include.

Noted by: Arun Sharma
s-freebsd.c
21f0e90ce85da99c2897d5e2163e8183436becdc 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Rework 69001646fa8, store sigframe address into sigcontext_addr.
86/Gos-freebsd.c
86_64/Gos-freebsd.c
42bc15c72c7292f71b12b345e932301f10c91e68 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Provide proper register offsets in the gregset for FreeBSD/i386
trace/_UPT_reg_offset.c
f10f8519164c472ee9392f7f037cfd56ba821d53 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Add slightly more debug output
86/Gstep.c
e33fa9f73c8eefafc2c1b580e78a5c87bcc4dc44 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Ditch using the libutil, it is not async-signal safe.
s-freebsd.c
69001646fa81d4692ee4b3a5ce942aa2d957bbe0 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Store the ucontext_t pointer to properly handle resume across signal frames.
86/Gos-freebsd.c
86_64/Gos-freebsd.c
f01a04371287037ca884ec16b4316edc2a08458c 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Convince gcc that x86_64_sigreturn cannot return, as declared.
86_64/Gos-freebsd.c
a688d6c4c9c82d504e08606002b081da42f531e0 10-Apr-2010 Konstantin Belousov <kostik@pooma.home> Remove unused variable.
trace/_UPT_access_fpreg.c
dd1c7b6c1a4fc4c6f833b3f3ef21cde1eebcf03b 10-Apr-2010 Konstantin Belousov <kostik@pooma.home> Declare mxcsr as XMM
86/Gos-freebsd.c
53f7e650e0fb641af08a0f40c9fae1fd037caab9 10-Apr-2010 Konstantin Belousov <kostik@pooma.home> For FreeBSD/i386, add real offset values for FPU context fields.
86/offsets.h
6f7b335e89e1b7f9c539fc0ebb3f789e34d0b7e4 10-Apr-2010 Konstantin Belousov <kostik@pooma.home> Add my copyrights to several files that contain essential modifications
s-freebsd.c
trace/_UPT_access_fpreg.c
trace/_UPT_access_mem.c
trace/_UPT_access_reg.c
86/getcontext.S
86_64/getcontext.S
86_64/setcontext.S
9fe75c7d930f6f590e2a1b24fdb84d6859cb0175 09-Apr-2010 Konstantin Belousov <kostik@pooma.home> Save FPU state when saving context. For XMM-capable CPUs only (for now).
86/getcontext.S
117ccd246de163dddd451cf98019e0fa90c6272a 09-Apr-2010 Konstantin Belousov <kostik@pooma.home> Move all XMM offsets into one place.
86/offsets.h
f6546e27ed70661c1b148521e15c539559ee4e25 09-Apr-2010 Konstantin Belousov <kostik@pooma.home> Implement the base code to fetch x86/xmm state on x86. Offsets to be filled.
86/Gos-freebsd.c
86/offsets.h
2c50c95cde4e2a7f69b7f14ff48934f34003aabd 09-Apr-2010 Konstantin Belousov <kostik@pooma.home> Correct arguments for Debug().
Shut up warning by using the cast.
86/Gos-freebsd.c
d1676f192e687ba220c655789f3a53bcbd20c52e 08-Apr-2010 Arun Sharma <aruns@google.com> Fix warnings on 32 bit x86
86/Gos-linux.c
caa6095aec43541bdbca1ad58d6f65b3de53a1ef 08-Apr-2010 Arun Sharma <aruns@google.com> Fix compile errors on Linux
86/Gos-linux.c
86_64/Gos-linux.c
979af4502fe19b0d98459633731d004a4a010a0e 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Move local_resume to os-specific file.
86/Gos-freebsd.c
86/Gos-linux.c
86/Gresume.c
86_64/Gos-freebsd.c
86_64/Gos-linux.c
86_64/Gresume.c
86_64/unwind_i.h
0dbeeeb08dc9a7e46281954e9225a84d4629a3db 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Move uc_addr to os-specific file
86/Ginit.c
86/Gos-freebsd.c
86/Gos-linux.c
86/unwind_i.h
86_64/Ginit.c
86_64/Gos-freebsd.c
86_64/Gos-linux.c
86_64/unwind_i.h
79d012348df333f191fcb10789dad12b655f2baa 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Move get_scratch_loc() to os-specific file.
86/Gos-freebsd.c
86/Gos-linux.c
86/Gregs.c
86/unwind_i.h
aeee03dd7429ebfe8ff5a5b16abe646cef52534d 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Reduce diffs to master
86/Gstep.c
86_64/Gstep.c
ccc0ae665baa67ae3df8595ab7bb0ef8cbc0e5c4 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> More move of osdep code.
86_64/Gos-freebsd.c
86_64/Gstep.c
a40641f326a5360af03e1788ef1c48568761a5be 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Trim spaces
86_64/setcontext.S
fd88f418184b82ea5dc191e16ae9f3705c865f68 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Merge remote branch 'origin/master' into freebsd

Conflicts:
src/x86/Gis_signal_frame.c
src/x86/Gstep.c
src/x86_64/Gis_signal_frame.c
src/x86_64/Gstep.c
8e53e62db913470952b8eb541834b876f7a6882c 05-Apr-2010 Arun Sharma <aruns@google.com> Refactor os specific code for x86 (both 32 and 64 bit).

Move Linux specific code into ${arch}/Gos-linux.c
akefile.am
86/Gis_signal_frame.c
86/Gos-linux.c
86/Gstep.c
86/Lis_signal_frame.c
86/Los-linux.c
86_64/Gis_signal_frame.c
86_64/Gos-linux.c
86_64/Gstep.c
86_64/Los-linux.c
980ccffe9e83b2987d33f17280e8f1284c8c2f5b 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Merge remote branch 'origin/master' into freebsd

Conflicts:
src/x86/Gis_signal_frame.c
2b7ca45acc292a6e6dad04f99adde380ddaea2f7 04-Apr-2010 Arun Sharma <aruns@google.com> Fix handling of SA_SIGINFO frames on 32 bit x86

Submitted by: Arne de Bruijn <mail@arnedebruijn.nl>
86/Gis_signal_frame.c
bd2798805a68eac5491a4b096659a05e61e83580 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Reformat os-freebsd.c.
s-freebsd.c
5715d912f4f43041735031170d7f8ead6f70924d 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Make setjmp/longjmp work at least on FreeBSD/amd64.
FreeBSD-supplied setjmp() saves incremented stack pointer into jmpbuf.

I have no idea whether siglongjmp ever worked on amd64, since
UNW_NUM_EH_REGS == 2 and abort at siglongjmp.c:81 is firing.
etjmp/longjmp.c
etjmp/siglongjmp.c
31ece3eaa120d09b36ad785b93f85f08fbbbfe6a 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Fix setcontext for amd64 freebsd
86_64/setcontext.S
9bb9c972e6f0a776740ad17ee230973bdefad553 31-Mar-2010 Konstantin Belousov <kostik@pooma.home> Merge with origin/master
6203f1cd0f899085a35d2f553b592bd93580fdde 26-Mar-2010 Arun Sharma <aruns@google.com> Cleanup a mapped elf image.

Without this, we end up with mmap leaks. Thanks to Humberto Abdelnur
for suggesting this.
trace/_UPT_destroy.c
7bd264e292fa2bfe6f2cc435b827e6d66d3cd0b6 23-Mar-2010 Arun Sharma <aruns@google.com> Fix up what looks like an unintentional semi colon.

Thanks to Lassi Tuura for noticing it.
warf/Gparser.c
8a75ba971a295ce7e6b7b73b90272fb9c04e5b2f 13-Mar-2010 Konstantin Belousov <kostik@pooma.home> Signal trampoline on amd64 for ia32 is special.
86/Gis_signal_frame.c
e51429280bd0238b1486a391eaca838944391ac7 13-Mar-2010 Konstantin Belousov <kostik@pooma.home> Handle error return from is_signal_frame
86/Gstep.c
e9cd30040e2794ee586ff853b360b47881824fda 13-Mar-2010 Konstantin Belousov <kostik@pooma.home> Move x86 porting further.
86/Gis_signal_frame.c
86/Gregs.c
86/Gresume.c
86/Gstep.c
86/getcontext.S
86/offsets.h
71c4161247638cb521fcfbe466c7a77f3f680295 13-Mar-2010 Konstantin Belousov <kostik@pooma.home> Remove extra empty line
86/Gresume.c
f8a15e9679e59872ca2dc9a9f943862c09d7a103 11-Mar-2010 Arun Sharma <aruns@google.com> Fix a couple of test breakages on x86_64

setcontext() now restores the signal mask. Also remove a check
in the test that doesn't seem to be valid.
86_64/setcontext.S
86_64/ucontext_i.h
a6b23dcb0c42198ad01764a27a084fd49116a544 10-Mar-2010 Konstantin Belousov <kostik@pooma.home> Add partial implementation for is_signal_frame for i386.
86/Gis_signal_frame.c
54f8b2fdbe814d79cf52231ba38175c92b5c3c23 10-Mar-2010 Konstantin Belousov <kostikbel@gmail.com> Fill real offsets for freebsd
86/offsets.h
47dcc89457137caea648147d9578d75781bea750 10-Mar-2010 Konstantin Belousov <kostik@pooma.home> Remove unneeded braces
86/getcontext.S
bb41eba56c44306e5bc2dcf8eeba574bd5a3702f 09-Mar-2010 Konstantin Belousov <kostikbel@gmail.com> FreeBSD/i386 port. get/setcontext need further work
86/Gcreate_addr_space.c
86/Ginit.c
86/getcontext.S
86/offsets.h
9f79621a298719b22744f6637269f0d4ef314c39 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Enough for now for ptrace backend
trace/_UPT_find_proc_info.c
752ce15c4fbe0e08c2d19df18caa86887732b3c8 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Preliminary version of freebsd syscall unwinder
trace/_UPT_find_proc_info.c
86_64/Gis_signal_frame.c
86_64/Gstep.c
c1b1c10cfceccec0cc707b0100e053892bb203f7 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Fix memory leak on error
s-freebsd.c
89e1df2d328e96f15539af223f808ebc9dce82b0 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Fix _UI_siglongjmp_cont name
86_64/longjmp.S
86_64/siglongjmp.S
0f1c0f5f664004f0e812e7c2d939bc21fc5e89df 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Fix resume.
86_64/Gresume.c
86_64/getcontext.S
86_64/ucontext_i.h
43ed5b3e56279999382b10acf9f3dfaab3257aef 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Add required assembler magic.
86_64/getcontext.S
86_64/longjmp.S
86_64/setcontext.S
86_64/siglongjmp.S
5f5b1a5daa9f746b40e85103961734110dacc07c 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> tdep_get_elf_image should be public
s-freebsd.c
093855f12a00d4eacf548db6095235f970f88305 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Remove unneeded includes of sys/types.h
warf/Lexpr.c
warf/Lfde.c
warf/Lfind_proc_info-lsb.c
warf/Lparser.c
warf/Lpe.c
warf/Lstep.c
i/Ldestroy_addr_space.c
i/Ldyn-extract.c
i/Lfind_dynamic_proc_info.c
i/Lget_accessors.c
i/Lget_fpreg.c
i/Lget_proc_info_by_ip.c
i/Lget_proc_name.c
i/Lget_reg.c
i/Lput_dynamic_unwind_info.c
i/Lset_caching_policy.c
i/Lset_fpreg.c
i/Lset_reg.c
i/backtrace.c
etjmp/longjmp.c
86_64/Gis_signal_frame.c
86_64/Lcreate_addr_space.c
86_64/Lget_proc_info.c
86_64/Lget_save_loc.c
86_64/Lglobal.c
86_64/Linit.c
86_64/Linit_local.c
86_64/Linit_remote.c
86_64/Lis_signal_frame.c
86_64/Lregs.c
86_64/Lresume.c
86_64/Lstep.c
53095e6b3e4a6738e814c8f40cf546dca96a061f 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Code for resume
akefile.am
86/offsets.h
86_64/Gresume.c
86_64/offsets.h
c64723835c0c855fde5bec3d7528db64fe539015 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Support walk over freebsd sigframes
86/offsets.h
86_64/Gis_signal_frame.c
86_64/Gregs.c
86_64/Gstep.c
d0d5f9979b3b870c882587ce6c4c4c01cbfcfe31 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Correct rsp offset
86_64/Gis_signal_frame.c
86_64/ucontext_i.h
efd0655ff49cd32a24e3f85ff4a6e2565aab62ca 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Silence warning about symbol redefinition.
lf32.h
lf64.h
d7eea914485d5d5d3c7b29a74a68541240b6a090 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Cast caddr_t argument for ptrace
trace/_UPT_access_fpreg.c
200147d0f2cdc5479375bb4fdeac8b717f67c3d6 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Handle fpu state
86_64/getcontext.S
86_64/setcontext.S
86_64/ucontext_i.h
62218e10eb372154cfdea16ad8d3c8cb15cd39cb 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Provide proper offsets for gregs in freebsd ucontext. Note that fp regs are not handled.
86_64/ucontext_i.h
63ae8ca8947c67aaa402abbe46a12d118366e1df 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Correct assignments, remove unneeded includes.
s-freebsd.c
4de09a9c1569e17132973b801f77bcab8d927480 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Implement freebsd-specific vm walker.
s-freebsd.c
81f2de00830e7d68add0c12b68a3c67778acaf6d 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Add implementation of unw_is_signal_frame for freebsd.
86_64/Gis_signal_frame.c
1ba7599250d8bb2be1a4a21c1181d6a87db5e597 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Add FreeBSD stub.
86_64/Gis_signal_frame.c
2646e0fde8a5721ec7356dce38e5341b3080ca62 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Add freebsd stub
akefile.am
s-freebsd.c
3eabce18b1e70c3b26975024e450977dfb4b84b9 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Include sys/types.h when needed.
warf/Lexpr.c
warf/Lfde.c
warf/Lfind_proc_info-lsb.c
warf/Lparser.c
warf/Lpe.c
warf/Lstep.c
i/Ldestroy_addr_space.c
i/Ldyn-extract.c
i/Lfind_dynamic_proc_info.c
i/Lget_accessors.c
i/Lget_fpreg.c
i/Lget_proc_info_by_ip.c
i/Lget_proc_name.c
i/Lget_reg.c
i/Lput_dynamic_unwind_info.c
i/Lset_caching_policy.c
i/Lset_fpreg.c
i/Lset_reg.c
i/backtrace.c
etjmp/longjmp.c
86_64/Gcreate_addr_space.c
86_64/Gis_signal_frame.c
86_64/Gresume.c
86_64/Lcreate_addr_space.c
86_64/Lget_proc_info.c
86_64/Lget_save_loc.c
86_64/Lglobal.c
86_64/Linit.c
86_64/Linit_local.c
86_64/Linit_remote.c
86_64/Lis_signal_frame.c
86_64/Lregs.c
86_64/Lresume.c
86_64/Lstep.c
29c110265f50c14b8611a3f14be3941b23952125 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> _NSIG.
etjmp/siglongjmp.c
c7ffca11ae3b77343a9158ff5037cdf2e84136ae 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> FreeBSD way to name registers.
86_64/Ginit.c
78cb28b4a6a01dabb4ff50bcc2edb8772627e5d4 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> PT_CONTINUE.
trace/_UPT_resume.c
d4a4ddd23d5a059c0b1a637fee5de78b6158eecd 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Provide access to the general regs on FreeBSD.
trace/_UPT_access_reg.c
trace/_UPT_reg_offset.c
cf6ae3548f96fa90da32b96529897cb6257355c1 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Code to read/write user memory on FreeBSD
trace/_UPT_access_mem.c
d11456ffbf6dd6f556eb3bc64e8a368e7e3381c5 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Code to read/write fpregs on FreeBSD
trace/_UPT_access_fpreg.c
trace/_UPT_internal.h
905034ce728e84b2a1652ac4b44a2d8a5147a0d1 05-Mar-2010 Konstantin Belousov <kostik@pooma.home> Initial attempt at the build infrastructure for FreeBSD.
akefile.am
trace/_UPT_internal.h
3468a6b33d96549d1b01ef0c0fa42eb93fd3645d 23-Feb-2010 Arun Sharma <aruns@google.com> Change MS_SYNC to MS_ASYNC

Hopefully this makes the address validation a bit cheaper.
86/Ginit.c
86_64/Ginit.c
752076789fdeec16827ddd846485182d4c3cd11f 22-Feb-2010 Stefan Demharter <stefan.demharter@gmx.net> Be gcc compatible for C++ exceptions on 32 bit platforms.
nwind/RaiseException.c
nwind/unwind-internal.h
5a1d3c6fd765e45b97f478c9db3a2d4cdaa75c69 22-Feb-2010 Arun Sharma <aruns@google.com> Remove bogus check on scan_string which is guaranteed to fail every time.
s-linux.h
54752e0df0ce7ad535f724e16874ebb00b5f94f6 23-Dec-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Implement getcontext for x86

Greetings,

Attached patch implements getcontext for x86.

Motivation is the same as:
http://lists.nongnu.org/archive/html/libunwind-devel/2008-06/msg00009.html

This also fixes check-name-space on x86.

Tested on Linux/86 with no new failures.

Thanks,
--
Paul Pluzhnikov
akefile.am
86/getcontext.S
86/offsets.h
0cf76ed0b54f4b64d3a0575a1c85ef8617d4278d 01-Dec-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Check for NULL when validating addresses

This is rather on the obvious side.

While doing strace on an executable using libunwind, I noticed a
lot of:

msync(0, 1, MS_SYNC) = -1 ENOMEM (Cannot allocate memory)

Since we know that the first page isn't mapped (or at least doesn't
contain the data we are looking for), we can eliminate all such
msync calls.

Tested on Linux/x86_64 with no regressions.
86/Ginit.c
86_64/Ginit.c
9626d66019599de925b9ad1f216388d1c890d193 25-Nov-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Fix a race condition in dwarf unwinding.

Original code was accessing rs_cache memory without holding a lock
in some cases. If there was sufficient cache pressure, entry being
accessed may be overwritten by another thread, resulting in a data
race.

We now make a thread local copy of the data, before releasing the
lock. If we end up supporting UNW_CACHE_PER_THREAD properly
in the future, this memcpy should be unnecessary.
warf/Gparser.c
2648a77f0499b2aeb3d624a1b44d2f1d2dd01835 19-Nov-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Simplify control flow

Greetings,

Attached patch gets rid of additional unnecessary branch (rs_get_cache
can not return NULL unless caching_policy is UNW_CACHE_NONE), gets rid of
goto's, and makes apply_reg_state (major CPU consumer) execute with cache
lock not held (before the patch, apply_reg_state was called with lock held
for newly-inserted entries, but not for found-in-cache entries).

Tested on Linux/x86_64 with no regressions.

Thanks,
--
Paul Pluzhnikov
warf/Gparser.c
f958b9dc4f19c94281b2679b3a6bbb39828beb90 19-Nov-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Get rid of some bogus checks.

Greetings,

Attached patch is rather on the obvious side:
- rs1 can't be NULL since it's assigned on previous line
- rs_new never returns NULL, and if it ever did, we'd crash on memcpy that
preceeds the NULL check.

Tested on Linux/x86_64 with no regressions.

Thanks,
--
Paul Pluzhnikov
warf/Gparser.c
d7089547e2d13c2ae5f9ad896dc4bc5dc796fb0b 24-Oct-2009 Arun Sharma <aruns@google.com> Fix a warning message on i386

Without this, we may be accessing data beyond the array bounds.
warf/Gparser.c
491d576529a3b01208accb37627a075d7ce07093 16-Oct-2009 Arun Sharma <aruns@google.com> Fix compiler warnings on x86_64
warf/Gfind_proc_info-lsb.c
warf/Gstep.c
86_64/Gresume.c
86_64/unwind_i.h
b56375e76a0e23b6e464d994bc6a790e086b91db 07-Oct-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Reduce stack use and apply CONFIG_DEBUG_FRAME to more code.

Currently, libunwind allocates several PATH_MAX entries on stack, while
trying to find a binary via /proc/.../maps.

However stack space may be at premium (especially when sigaltstack is used),
and PATH_MAX on Linux is 4096, while SIGSTKSZ is only 8192 on x86.

Attached patch eliminates multiple PATH_MAX stack allocations, and simplifies
code in maps_next, at the cost of being unable to do anything if we can't
mmap one page. It appears to me that under such low-memory conditions,
libunwind will fail shortly elsewhere anyway.

This patch also disables more of debug_frame-handling code when
CONFIG_DEBUG_FRAME is undefined.

Tested on Linux/x86_64 with and without CONFIG_DEBUG_FRAME, no regressions.
warf/Gfind_proc_info-lsb.c
s-linux.c
s-linux.h
fc2934aadeff468b751113d56093429fd6bc4832 30-Sep-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Make the remaining sigprocmask calls conditional on --enable-block-signals
warf/Gfind_proc_info-lsb.c
a64/Gtables.c
839db77b7b8c74a9a1c844e82bc30b9a8022908f 25-Sep-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Wait if there is contention on the cache

The behavior on wait vs abort unwind depends on the locking primitive
chosen by the user. This makes the API consistent and independent of
the locking primitive.
warf/Gparser.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.
rm/Gglobal.c
warf/Gparser.c
ppa/Gglobal.c
a64/Gglobal.c
a64/Gscript.c
ips/Gglobal.c
pc32/Gglobal.c
pc64/Gglobal.c
86/Gglobal.c
86_64/Gglobal.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>
akefile.am
a64/unwind_GetIPInfo.c
6aec15799d0572a484065aed3d97317df0702b17 13-Apr-2009 Arun Sharma <aruns@google.com> Fix ppc32 build.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
trace/_UPT_find_proc_info.c
40afb6667d93946d0631c07d2bc3e1bff2865082 13-Apr-2009 Arun Sharma <aruns@google.com> Use a shorter path for include

This should've been a part of: 2fce54102cdb03aa2d3105c750685dc7cf2677b1
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>
akefile.am
a64/unwind_GetIPInfo.c
nwind/GetIPInfo.c
9607c6407c3d0f8cff7b985f9f2b8aa96ffc00f6 18-Mar-2009 Arun Sharma <aruns@google.com> Fixup CONFIG_DEBUG_FRAME support.
warf/Gfind_proc_info-lsb.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>
warf/Gparser.c
a64/Gparser.c
a64/Gscript.c
a64/Gstep.c
a64/Gtables.c
ff0ae70cc3c3c1498724deed519cd18dde6c1e80 16-Mar-2009 Arun Sharma <aruns@google.com> Bad pointer validation for 32 bit x86.

This corresponds to commit 649f1fb3449a65dd0626a709432d8b02a7c56bbc.

Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
86/Ginit.c
86/Ginit_local.c
86/Ginit_remote.c
86/Gresume.c
86/Gstep.c
5822fca27a6861e07c3f74c3abd90cb020304d01 16-Mar-2009 Arun Sharma <aruns@google.com> Enable Intel C++ compatibility only when C++ exceptions are enabled.
akefile.am
0bce5f0016c181fbdc9e24db3535929d1a261457 16-Mar-2009 Arun Sharma <aruns@google.com> Remove auto generated files.
akefile.in
a2c27a4ab724cf129cf956df4c6fb779bd2f5366 17-Mar-2009 Arun Sharma <aruns@google.com> Make .debug_frame support optional.

Because these code paths use malloc and stdio, they could
cause deadlocks when we try to unwind stack from inside malloc.
warf/Gfind_proc_info-lsb.c
638302ed73dd5fcce770e0ddaa159a9593aae36a 16-Jun-2008 David Mosberger-Tang <davidm@koala.mostang.com> Rerun autoreconf.
akefile.in
ef29eade44fc2aa7e49811a8bd76e941b369b914 16-Jun-2008 Arun Sharma <arun.sharma@google.com> This patch eliminates one system call per unwind by not using the
getcontext in libc.

Also cleanup the namespace (check-name-space passes on x86_64 now).
Replace uses of offsets.h with ucontext_i.h.
Rename _x86_64_setcontext to _Ux86_64_setcontext.

TBD: Add CFI annotations for get/setcontext.

Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
akefile.am
86_64/Gresume.c
86_64/getcontext.S
86_64/offsets.h
86_64/setcontext.S
86_64/ucontext_i.h
649f1fb3449a65dd0626a709432d8b02a7c56bbc 16-Jun-2008 Arun Sharma <arun.sharma@google.com> [X86-64] For local unwinding, we have a defence mechanism against
bad/missing unwind information, which could result in libunwind
dereferencing bad pointers. This mechanism is based on msync(2) system
call and significantly reduces the chances of a bad pointer
dereference in libunwind.

The original idea was to turn this mechanism on only when necessary
i.e. libunwind didn't find proper unwind information for a IP.

There are a couple of problems in the current implementation.

* The flag is global and is modified without locking
* The flag isn't reset when starting a new unwind

The attached patch makes ->validate a per-thread setting by moving it
into struct cursor from unw_local_addr_space and resets it to false
when starting a new unwind. As a result, cursor->as_arg points to the
cursor itself instead of the ucontext (for the local case).

This was found to reduce the number of msync() system calls from an
application using libunwind significantly.

Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
86_64/Ginit.c
86_64/Ginit_local.c
86_64/Ginit_remote.c
86_64/Gis_signal_frame.c
86_64/Gresume.c
86_64/Gstep.c
183d28a0668f100a181cc665ea702985d2ee717e 16-Jun-2008 David Mosberger-Tang <davidm@koala.mostang.com> Rebuild autoconf files with autoreconf.
akefile.in
8081e82ba168c06c8ee28332b5924784889226fc 16-Jun-2008 Arun Sharma <arun.sharma@google.com> Make the linking of C++ ABI related code for exceptions optional.

The default is to have it enabled.

Signed-off-by: Arun Sharma <arun.sharma@google.com>
akefile.am
1eddefc371c80012e0299eec78805dedfed89a89 21-Apr-2008 Bruna Moreira <bruna.moreira@openbossa.org> [ARM] This patch add some missing bits on ARM platform.

* src/arm/unwind_i (arm_lock, arm_local_resume): Define.
* src/ptrace/_UPT_find_proc_info.c: Handle ARM like X86 etc.
* tests/flush-cache.S (flush_cache): Add (dummy) ARM-version.
ARM does need executable stack, even on Linux...

Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br>
Signed-off-by: Bruna Moreira <bruna.moreira@indt.org.br>
rm/unwind_i.h
trace/_UPT_find_proc_info.c
bb9d3dc6893536132929add38dc52cbf2dbb201c 16-Apr-2008 Paul Pluzhnikov <ppluzhnikov@google.com> [X86-64] Fix the pattern used to match signal frames.

The current pattern is too restrictive and doesn't work well on
modern glibcs.

Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
86_64/Gis_signal_frame.c
3842dac7333e42aa44531eda34ba55200b99ccf8 05-Feb-2008 Daniel Jacobowitz <drow@false.org> Add initial ARM and MIPS support. To support this, also enable the
reading of .debug_frame sections (used in lieu of .eh_frame sections
when they're not available).
akefile.am
akefile.in
rm/Gcreate_addr_space.c
rm/Gget_proc_info.c
rm/Gget_save_loc.c
rm/Gglobal.c
rm/Ginit.c
rm/Ginit_local.c
rm/Ginit_remote.c
rm/Gis_signal_frame.c
rm/Gregs.c
rm/Gresume.c
rm/Gstep.c
rm/Lcreate_addr_space.c
rm/Lget_proc_info.c
rm/Lget_save_loc.c
rm/Lglobal.c
rm/Linit.c
rm/Linit_local.c
rm/Linit_remote.c
rm/Lis_signal_frame.c
rm/Lregs.c
rm/Lresume.c
rm/Lstep.c
rm/gen-offsets.c
rm/getcontext.S
rm/init.h
rm/is_fpreg.c
rm/offsets.h
rm/regname.c
rm/siglongjmp.S
rm/unwind_i.h
warf/Gexpr.c
warf/Gfde.c
warf/Gfind_proc_info-lsb.c
warf/Gpe.c
i/Gfind_dynamic_proc_info.c
i/backtrace.c
i/dyn-info-list.c
i/flush_cache.c
ips/Gcreate_addr_space.c
ips/Gget_proc_info.c
ips/Gget_save_loc.c
ips/Gglobal.c
ips/Ginit.c
ips/Ginit_local.c
ips/Ginit_remote.c
ips/Gis_signal_frame.c
ips/Gregs.c
ips/Gresume.c
ips/Gstep.c
ips/Lcreate_addr_space.c
ips/Lget_proc_info.c
ips/Lget_save_loc.c
ips/Lglobal.c
ips/Linit.c
ips/Linit_local.c
ips/Linit_remote.c
ips/Lis_signal_frame.c
ips/Lregs.c
ips/Lresume.c
ips/Lstep.c
ips/elfxx.c
ips/gen-offsets.c
ips/getcontext.S
ips/init.h
ips/is_fpreg.c
ips/offsets.h
ips/regname.c
ips/siglongjmp.S
ips/unwind_i.h
trace/_UPT_reg_offset.c
etjmp/longjmp.c
etjmp/siglongjmp.c
nwind/FindEnclosingFunction.c
nwind/RaiseException.c
nwind/unwind-internal.h
5ed2da2a403fe091d953183449003c9df861c289 05-Feb-2008 Mark Wielaard <mwielaard@redhat.com> [DWARF] Fix error return.

* src/dwarf/Gfde.c (dwarf_extract_proc_info_from_fde):
Return -UNW_ENOMEM.
warf/Gfde.c
f5cb2c52dc5695f5737b3566ea88431c4811a2b9 07-Jan-2008 David Mosberger-Tang <davidm@koala.mostang.com> 2007-12-14 Mark Wielaard <mwielaard@redhat.com>

* src/mi/Gget_reg.c (unw_get_reg): Use tdep_get_ip() when
looking for UNW_REG_IP.
i/Gget_reg.c
a8be10e2518fe41fbbfc7cd277a170c5f8ab5b39 07-Jan-2008 David Mosberger-Tang <davidm@koala.mostang.com> [X86] Cleanup XMM handling for x86

* Use explicit types for XMM registers
* Support full width (128 bits) access

Signed-off-by: Andrew Cagney <cagney@redhat.com>
Signed-off-by: Arun Sharma <aruns@google.com>
86/Gget_save_loc.c
86/Gregs.c
86/is_fpreg.c
86/regname.c
826374cee51b25b4e92b162f61762945b308559a 15-Nov-2007 David Mosberger-Tang <davidm@koala.mostang.com> Merge ../libunwind-v0.98

Conflicts:

configure
configure.in
src/ia64/Ginit.c
3899ab70393f1793b4b804d8504721f4ecef2279 14-Nov-2007 David Mosberger-Tang <davidm@panda.mostang.com> Update NEWS file and rerun "autoreconf".
akefile.in
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.
a64/Ginit.c
253f3e57386cea5b4877a92d11038f9b6ad0444d 18-Oct-2007 Curt Wohlgemuth <curtw@cup.hp.com> [Linux] Fix potentially overlapping memory-copy to use memmove() instead
of memcpy().
s-linux.h
05c8284b438f1c123758057e029d13b61d404b40 15-Oct-2007 Andrew Cagney <cagney@redhat.com> [X86] 2007-10-10 Andrew Cagney <cagney@redhat.com>

* src/x86/init.h (common_init): Fix typo: use UNW_X86_ESI for
dwarf.loc[ESI].

Acked-by: Arun Sharma <aruns@google.com>
86/init.h
9ea6af8ed5ee7b07f8de6d774bc6df2b7320f0e8 08-Oct-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> [PPC32] Make PPC32 unwinding work for real.
pc32/Gglobal.c
pc32/Ginit.c
pc32/Gstep.c
pc32/init.h
pc32/regname.c
pc32/ucontext_i.h
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.
ppa/getcontext.S
ppa/setcontext.S
ppa/siglongjmp.S
a64/Ginstall_cursor.S
a64/Linstall_cursor.S
a64/dyn_info_list.S
a64/getcontext.S
a64/longjmp.S
a64/setjmp.S
a64/siglongjmp.S
a64/sigsetjmp.S
pc/longjmp.S
pc/siglongjmp.S
pc32/setcontext.S
pc64/setcontext.S
86/longjmp.S
86/siglongjmp.S
86_64/longjmp.S
86_64/setcontext.S
86_64/siglongjmp.S
c340d04279f046b543066dbc8f36452602d7fd52 20-Sep-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> [PPC32] Make get_func_addr() a no-op function.
[PPC64] Add .../lib64 library directory when targeting ppc64.
pc32/get_func_addr.c
4499bb29a6214b5df5b3b21e03c6b4f3c8f26cfd 13-Sep-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> [PPC32] First check-in to add preliminary support for Linux/PPC32.
akefile.am
akefile.in
pc/Gcreate_addr_space.c
pc/Gget_proc_info.c
pc/Gget_save_loc.c
pc/Ginit_local.c
pc/Ginit_remote.c
pc/Gis_signal_frame.c
pc/Lcreate_addr_space.c
pc/Lget_proc_info.c
pc/Lget_save_loc.c
pc/Linit_local.c
pc/Linit_remote.c
pc/Lis_signal_frame.c
pc/longjmp.S
pc/siglongjmp.S
pc32/Gglobal.c
pc32/Ginit.c
pc32/Gregs.c
pc32/Gresume.c
pc32/Gstep.c
pc32/Lglobal.c
pc32/Linit.c
pc32/Lregs.c
pc32/Lresume.c
pc32/Lstep.c
pc32/Make-arch.in
pc32/get_func_addr.c
pc32/init.h
pc32/is_fpreg.c
pc32/regname.c
pc32/setcontext.S
pc32/ucontext_i.h
pc32/unwind_i.h
pc64/Gcreate_addr_space.c
pc64/Gget_proc_info.c
pc64/Gget_save_loc.c
pc64/Ginit_local.c
pc64/Ginit_remote.c
pc64/Gis_signal_frame.c
pc64/Gstep.c
pc64/Lcreate_addr_space.c
pc64/Lget_proc_info.c
pc64/Lget_save_loc.c
pc64/Linit_local.c
pc64/Linit_remote.c
pc64/Lis_signal_frame.c
pc64/Make-arch.in
pc64/init.h
pc64/longjmp.S
pc64/siglongjmp.S
trace/_UPT_reg_offset.c
6d75df39b5dd602be2bc3b8edc8b745d6224fd71 27-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Regenerate Makefile.in.
akefile.in
32e2187fab8d7a0adaa099b7bdaefca50628de88 27-Aug-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> [PPC64] Get "make check" to work on PPC64 Linux. Add a README entry
describing the expected results.
akefile.am
pc64/siglongjmp.S
trace/_UPT_find_proc_info.c
3e24581adca378307322555d2b5e70439dbc9c19 24-Aug-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> [PPC64] Add PPC64 entry to README and fix David's typo in ppc64/get_func_addr.c
pc64/get_func_addr.c
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.
akefile.am
akefile.in
lfxx.c
lfxx.h
ppa/Ginit.c
a64/Ginit.c
pc64/Ginit.c
pc64/get_func_addr.c
trace/_UPT_get_proc_name.c
86/Ginit.c
86_64/Ginit.c
03e05b41386fd5797cb8cd62eff7f0ba77c4e07e 22-Aug-2007 David Mosberger-Tang <davidm@panda.mostang.com> Fix two minor compiler-warnings.
s-linux.h
7fdd022ccfbaaa8688f36e26544c866892a83706 10-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Update autoconf files.
akefile.in
bcca3ddcc0d48a50639b2d985e09d6ac6de030d0 08-Aug-2007 Arun Sharma <aruns@google.com> [x86-64] Fix cross-compilation. setcontext.S can only be built natively.
akefile.am
297315675e0e7c112b93d733879e514e141df859 07-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Recreate autoconf files.
akefile.in
5c95d139dfa3de77e38877965192430600602f3d 07-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Cleanup some files from previous patch and rerurn autoconf tools.
akefile.am
akefile.in
86_64/gen-offsets.c
86_64/setcontext.S
3afd6135456350e1ddfcc12d4225b8929c049d7e 07-Aug-2007 Arun Sharma <arun.sharma@google.com> [X86-64]: Instead of auto-generating _u_context_i.h, hardcode the
necessary offsets in offsets.h as is done for other
platforms. This fixes cross-builds.
86_64/offsets.h
fad8b04c9f874c996da59c319b931270e2b8bec9 07-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Rebuilt configure and Makefile.in files.
akefile.in
b33021e4b2f3a92141c01eb24b98bc51a97c498d 02-Aug-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> Add PPC64 support.
akefile.am
pc64/Gcreate_addr_space.c
pc64/Gget_proc_info.c
pc64/Gget_save_loc.c
pc64/Gglobal.c
pc64/Ginit.c
pc64/Ginit_local.c
pc64/Ginit_remote.c
pc64/Gis_signal_frame.c
pc64/Gregs.c
pc64/Gresume.c
pc64/Gstep.c
pc64/Lcreate_addr_space.c
pc64/Lget_proc_info.c
pc64/Lget_save_loc.c
pc64/Lglobal.c
pc64/Linit.c
pc64/Linit_local.c
pc64/Linit_remote.c
pc64/Lis_signal_frame.c
pc64/Lregs.c
pc64/Lresume.c
pc64/Lstep.c
pc64/Make-arch.in
pc64/init.h
pc64/is_fpreg.c
pc64/longjmp.S
pc64/regname.c
pc64/setcontext.S
pc64/siglongjmp.S
pc64/ucontext_i.h
pc64/unwind_i.h
trace/_UPT_reg_offset.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>
a64/Gcreate_addr_space.c
7923ae31a07f92a0646d235d8d275812e6fad420 11-Apr-2007 David Mosberger-Tang <davidm@koala.mostang.com> Re-run aclocal and automake to update Makefiles so new files (e.g.,
x86_64/gen_offsets.c) get distributed.
akefile.in
497b987043f29f7f9375e5e9926682ab122394cc 11-Apr-2007 Arun Sharma <arun.sharma@google.com> Add gen-offsets to the Makefile

This is so that the source file gets distributed and _ucontext_i.h is
generated properly on the target machine.

Signed-off-by: Arun Sharma <arun.sharma@google.com>
akefile.am
86_64/gen-offsets.c
86_64/setcontext.S
31440e9796bb34146372df52ed59c4f68ea5839d 06-Apr-2007 Arun Sharma <aruns@google.com> Make libunwind pass C++ exceptions correctly

When libunwind is linked with a C++ program that throws exceptions,
the exception that's thrown is passed in %rax. However, libc's
setcontext clears %rax, causing problems.

This patch implements a setcontext that doesn't clobber rax.

TBD: Add dwarf CFI annotations

Signed-off-by: Arun Sharma <arun.sharma@google.com>
86_64/Gresume.c
86_64/gen-offsets.c
86_64/setcontext.S
55fe524775b47f16589e3fc8f28ccffe5e88a048 16-Aug-2006 Arun Sharma <arun.sharma@google.com> Cleanup the hash() function copied from ia64

Fixes the compiler warning on x86-32.

Signed-off-by: Arun Sharma <arun.sharma@google.com>
warf/Gparser.c
a5d0c1f8b77ae49acc5a48bd43d043a66f66f131 16-Aug-2006 Arun Sharma <arun.sharma@google.com> Remove HAVE___THREAD. This was never tested.

Signed-off-by: Arun Sharma <arun.sharma@google.com>
warf/Gparser.c
62bacfcf1f889725c73fb0b8937365961a81801d 11-Aug-2006 David Mosberger-Tang <davidm@koala.localdomain> [x86-64] Minor reformatting for GNU-style and use memset() in lieu of bzero().
86_64/Ginit.c
795529eee394ce1c0c80ee364217cdd679e5eda3 03-Aug-2006 Arun Sharma (अरुण) <arun.sharma@google.com> [x86-64] Add a known good address cache.

This improves the performance of Lperf-simple from 500ns to 195ns
on the avg.

Signed-off-by: Arun Sharma <arun.sharma@google.com>
86_64/Ginit.c
86_64/Gis_signal_frame.c
bde67706ed88b7e48495539a402e8b1709ad30d6 28-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Delete some backup files that accidentally made it into git.
a64/Lregs.c~
a64/Lscript.c~
a64/Lunw_get_reg.c~
11ea1275bd188ea48f5d834ca504f8d84d751983 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> [dwarf] The sword() function in Gexpr.c doesn't do what's intended.

Yes, it casts to signed, but then converts right back to
unsigned via the return type. Fixed thus.

Signed-off-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
warf/Gexpr.c
cdb96f333c9528307afeeb02d7e37c9a72114f91 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> [x86] (common_init): Fix spurious errors caused by uninitialized members.

Signed-off-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
86/init.h
8297866bd4dbe239fc778ac5a971aca9b80325d7 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> [x86-64] (unw_step): Further refine handling of functions without unwind-info.

CFA should be incremented by 16 in the hope that the previous frame
may have valid unwind info.

Also increase the default frame pointer recognition heuristic from 4k
to 16k.

Signed-off-by: Andrey Veskov <Andrey.Veskov@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
86_64/Gstep.c
06d2ffa41abd7a13a0580492fb2ae76dc0f728e6 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> [x86-64] (unw_step): Improve handling of functions which lack unwind info.

If following the frame-chain leads to a frame >= 4KB away, we conclude that
the frame-pointer isn't really valid.
86_64/Gstep.c
7c0907634d5639158ed762bb2d14f1ac06228615 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> [x86-64] (unw_is_signal_frame): If access mem fails, it's not a signal frame.
86_64/Gis_signal_frame.c
58888a5060d5e732c1ab1f0bf6a6c480153dabbd 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> (dwarf_find_save_locs): Also apply register-state after parsing the FDE
warf/Gparser.c
527225e492553b997d16adca7cc3bb472d5ef628 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> [x86-64] Make a best effort at validating pointers before dereferencing them.

Signed-off-by: Arun Sharma <arun.sharma@google.com>
86_64/Ginit.c
4312719cbc30dfa9e188b24e85185c325e671d00 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> [dwarf] Need to guard against multiple threads accessing the rs cache.

Signed-off-by: Arun Sharma <arun.sharma@google.com>
warf/Gparser.c
c5dc3c150a4fab2962f8d32f78d80ce857e662a5 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> [dwarf] Allow return address column to differ from function to function.

Signed-off-by: Andrey Veskov <Andrey.Veskov@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
warf/Gparser.c
60b7af702ac56265798ec7202e05f0439c992360 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> (dwarf_find_save_locs): Add a comment.

Now that dwarf_find_save_locs() not just finds the save-locations but
also updates the cursor-state, document this fact (the function really
is misnamed now).
warf/Gparser.c
3dfde7a3f089cf5c36ff7ed14d8d31034b5eafb8 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> (dwarf_find_save_locs): put_unwind_info() is not needed in the cached case.
warf/Gparser.c
00db7f752ac26c5aab6b4ca03531a2c3e212b135 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> Implement a ip -> dwarf_reg_state cache.

Signed-off-by: Arun Sharma <arun.sharma@google.com>
warf/Gparser.c
warf/Gstep.c
86_64/init.h
1a0af36731309401f251123d398621ce363a6e98 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Fix forgotten copyright year update.
i/Gget_fpreg.c
i/Gset_fpreg.c
6a89d402366d5f40eecf482197ee5f45566eed3b 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Fix missed "tdep.h" -> "libunwind_i.h" conversions.
i/Gget_fpreg.c
i/Gset_fpreg.c
i/strerror.c
8c94e12429e49bf1db61e75909fd55bffe572404 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> (_UPT_find_proc_info): Fix potential crash due to uninitialized pointer.

Be sure to clear pi->unwind_info when looking up the kernel table and
not needing the unwind-info. Otherwise, _UPT_put_unwind_info() may
erroneously call free() on the pointer, even though that space wasn't
malloc'd, leading to crashes..
trace/_UPT_find_proc_info.c
fd2fa63a6cfb475f29cf81a7b32235f6915ef6a4 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Fix missed merge on setjmp_i.h and siglongjmp.c.
etjmp/setjmp_i.h
etjmp/siglongjmp.c
69d85f7c14ce01489ec4281ebba543dd04e696de 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Restore mi/Ldyn-remote.c.
i/Ldyn-remote.c
236e370dc5c8738c24e696cd4329167def8d8077 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Remove three Emacs backup-files which accidentially got checked into git.
a64/Lregs.c~
a64/Lscript.c~
a64/Lunw_get_reg.c~
6daeeac60ac046af9487dadd5a6b38fce0ea8219 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Revert "Initial revision"

This reverts e6446885f44866668ba7c5649c09386876e92a57 commit.
ppa/Gis_signal_frame.c
ppa/Gresume.c
ppa/getcontext.S
ppa/offsets.h
ppa/regname.c
ppa/setcontext.S
86_64/longjmp.S
86_64/setcontext.S
a369768c279654ae247643f81e0d2f6f7ddd4d15 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Revert "Initial revision"

This reverts 06d223e924c0c16f2df3e1eeb92e4c44224969fd commit.
ppa/Gcreate_addr_space.c
ppa/Gget_save_loc.c
ppa/Gglobal.c
ppa/Ginit_remote.c
ppa/Lcreate_addr_space.c
ppa/Lget_save_loc.c
ppa/Lglobal.c
ppa/Linit_remote.c
ppa/Lis_signal_frame.c
ppa/Lresume.c
etjmp/longjmp.c
etjmp/setjmp_i.h
etjmp/siglongjmp.c
86/longjmp.S
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
af2503e2230f59a8b87ae5b71ef57e7e18b24a98 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Fix bug in libunwind-ptrace which can cause reading of random data.

(maps_next): After reading less than a full buffer of data, copy
remaining data to the top of the buffer so as to maintain the
invariant that all data between mi->buf and mi->buf_end is valid.
This avoids maps_next() parsing uninitialized data.
s-linux.h
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.
ppa/init.h
a64/longjmp.S
i/Gget_fpreg.c
i/Gset_fpreg.c
i/Ldestroy_addr_space.c
i/Lget_accessors.c
i/Lget_fpreg.c
i/Lget_reg.c
i/Lset_caching_policy.c
i/Lset_fpreg.c
i/Lset_reg.c
i/strerror.c
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)
a64/Gregs.c
cf2a44ca4934c5c5a91959240d48b37937730c4b 20-May-2005 hp.com!davidm <hp.com!davidm> Use update_nat() instead of equivalent open code.

(Logical change 1.301)
a64/Gregs.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)
a64/Gregs.c
399f120c96dca0ec383e265888d826d8b75d5d0f 20-May-2005 hp.com!davidm <hp.com!davidm> Drop unused readonly variable.

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

(Logical change 1.298)
a64/Gstep.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)
a64/Grbs.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)
a64/init.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)
a64/Ginit_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)
a64/Ginit_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)
a64/unwind_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)
a64/init.h
97b483dcaa0fdad69f48f01de42bf556b3a40956 20-May-2005 hp.com!davidm <hp.com!davidm> Drop include of "mempool.h", which causes problems in the kernel, due to
a conflicting <linux/mempool.h>.
(SOS_MEMORY_SIZE): Move to libunwind_i.h.

(Logical change 1.295)
i/mempool.c
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)
a64/Gparser.c
7894f0edc0db884f23afe515e37baa92c8fb8e9a 20-May-2005 hp.com!davidm <hp.com!davidm> (ia64_strloc): Move to Grbs.c.

(Logical change 1.295)
a64/Ginit.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)
a64/Grbs.c
2e35dd035cb30b65984beb7511277d9dd5260046 20-May-2005 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.294)
akefile.in
3e8a50255cee6cceaa0019fa795e244783be1d89 20-May-2005 hp.com!davidm <hp.com!davidm> Include from tdep-$(arch) directory after the normal incliude directory.

(Logical change 1.294)
akefile.am
32385d36fdb2b388363730b48c17dda0cab704bd 20-May-2005 hp.com!davidm <hp.com!davidm> Include "tdep-ia64/rse.h" instead of "ia64/rse.h".

(Logical change 1.294)
trace/_UPT_access_reg.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)
a64/unwind_i.h
8e6f3c84851c8efb66d3e153a22b8aff33f91da5 20-May-2005 hp.com!davidm <hp.com!davidm> Include "rse.h" instead of "ia64/rse.h".

(Logical change 1.294)
a64/Gget_save_loc.c
83820a78d1ac4daf3a1808f34bae8a8e195db5f9 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "tdep.h".
Include "tdep-ia64/rse.h" instead of "ia64/rse.h".

(Logical change 1.294)
etjmp/setjmp_i.h
67f90c24be6980f2eb9e44f309bf8630df11190b 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "tdep.h".
Include "elfxx.c" instead of "elf64.c".

(Logical change 1.294)
trace/_UPT_elf.c
d9e100753f5694ebb14769048373e8171f336127 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "tdep.h".

(Logical change 1.294)
warf/Gexpr.c
warf/Gpe.c
warf/Gstep.c
i/Gget_accessors.c
i/Gget_fpreg.c
i/Gget_proc_name.c
i/Gget_reg.c
i/Gset_caching_policy.c
i/Gset_fpreg.c
i/Gset_reg.c
etjmp/siglongjmp.c
86/is_fpreg.c
86_64/is_fpreg.c
07b01ad205162a93dab42722caaa4dbb7ba43b3f 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "tdep.h" and "internal.h".

(Logical change 1.294)
i/Gdyn-extract.c
i/Gdyn-remote.c
i/Gfind_dynamic_proc_info.c
i/Gget_proc_info_by_ip.c
i/init.c
s-hpux.c
s-linux.c
trace/_UPT_internal.h
nwind/unwind-internal.h
86/unwind_i.h
86_64/unwind_i.h
670dd57e827a3583a9284634cf1244eb8cab4795 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "libunwind.h" and a whole bunch of standard
header files.
Use lock_release instead of mutex_unlock/sigprocmask calls.

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

(Logical change 1.294)
lfxx.h
a64/regname.c
i/Gput_dynamic_unwind_info.c
i/dyn-cancel.c
i/dyn-info-list.c
i/dyn-register.c
i/flush_cache.c
i/strerror.c
19df6612fa2f2be0a2828e46364b57e7a81f3079 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "internal.h" and "tdep.h".

(Logical change 1.294)
ppa/unwind_i.h
b7adf160eebadd35ac58f4c63a4264714dbb9360 20-May-2005 hp.com!davidm <hp.com!davidm> Include "dwarf_i.h" instead of "dwarf.h".

(Logical change 1.294)
warf/global.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)
a64/Gparser.c
df3d6af467fa67e2a2127b9c49b71359982c099f 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <string.h>.
Include "libunwind_i.h" instead of "tdep.h".

(Logical change 1.294)
warf/Gparser.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)
a64/mk_Gcursor_i.c
379fb069d2d8291be25b2e54c1251371522179c8 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <string.h>, <unistd.h>, <sys/types.h>.
Include "libunwind_i.h" instead of "tdep.h".

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

(Logical change 1.294)
a64/Ginit_local.c
9fac7579ee3261babb6f745c8c1511c24ed88cb4 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <string.h> and "tdep.h".

(Logical change 1.294)
warf/Gfde.c
71acf1d00ee6f4d60d596987d4b602365a2a53e8 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <stdlib.h>.
Include "libunwind_i.h" instead of "tdep.h".

(Logical change 1.294)
i/Gdestroy_addr_space.c
03ba50ccaadbf962e9865d60e2171dc8e52ee24e 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <stdlib.h> and <string.h>.
Include "libunwind_i.h" instead of "tdep.h".

(Logical change 1.294)
warf/Gfind_proc_info-lsb.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)
a64/Gregs.c
8bb167d4c14f991a5a9a5c918aa0b5d4c09d746a 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <alloca.h> and <stdlib.h>.

(Logical change 1.294)
a64/Ginit.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)
a64/Gstep.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)
a64/Gscript.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)
a64/Gregs.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)
a64/Gstep.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)
a64/Gregs.c
8462f1f87def454ac16e97519d7672fd338d65e7 17-May-2005 hp.com!davidm <hp.com!davidm> (pr_ltop): Remove.
(pr_ptol): Remove.

(Logical change 1.292)
a64/regs.h
23884c98cbaf154fd1847936e586157ef119a7fe 03-May-2005 mostang.com!davidm <mostang.com!davidm> Rename: src/sigsetjmp.c -> src/setjmp/sigsetjmp.c

}(Logical change 1.290)
igsetjmp.c
4d7f2a5be7c24f00f0d2e4c2ca585ebb06241633 03-May-2005 mostang.com!davidm <mostang.com!davidm> Rename: src/sigsetjmp.c -> src/setjmp/sigsetjmp.c

(Logical change 1.290)
etjmp/sigsetjmp.c
5ac58535895628dc04bee0a5c0f3ab455aa05d52 03-May-2005 mostang.com!davidm <mostang.com!davidm> Rename: src/setjmp.c -> src/setjmp/setjmp.c

}(Logical change 1.290)
etjmp.c
8e06df0e529535c6aa563aad4ba1edc21a456bd1 03-May-2005 mostang.com!davidm <mostang.com!davidm> Rename: src/setjmp.c -> src/setjmp/setjmp.c

(Logical change 1.290)
etjmp/setjmp.c
9bc79a618b5110281cd27ea0896de3242d7b58d9 03-May-2005 mostang.com!davidm <mostang.com!davidm> Rename: src/dwarf/dwarf-eh.h -> include/dwarf-eh.h

}(Logical change 1.290)
warf/dwarf-eh.h
06d223e924c0c16f2df3e1eeb92e4c44224969fd 03-May-2005 mostang.com!davidm <mostang.com!davidm> Initial revision
ppa/Gcreate_addr_space.c
ppa/Gget_save_loc.c
ppa/Gglobal.c
ppa/Ginit_remote.c
ppa/Lcreate_addr_space.c
ppa/Lget_save_loc.c
ppa/Lglobal.c
ppa/Linit_remote.c
ppa/Lis_signal_frame.c
ppa/Lresume.c
etjmp/longjmp.c
etjmp/setjmp.c
etjmp/setjmp_i.h
etjmp/siglongjmp.c
etjmp/sigsetjmp.c
86/longjmp.S
4e833d43fc44f8a9c9b107cf3c936bcf3a562d56 03-May-2005 mostang.com!davidm <mostang.com!davidm> Include "setjmp_i.h".
Abstract ia64-specific code into bsp_match() routine.
Support any platform with at least 2 EH argument registers.

}(Logical change 1.290)
ongjmp.c
4f16756123d6203bc1ce4977032fb93c632a5a56 03-May-2005 mostang.com!davidm <mostang.com!davidm> Include "setjmp_i.h".
Abstract ia64-specific code into bsp_match() routine.
Support any platform with at least 2 EH argument registers.

2004/12/06 01:33:16-08:00 mostang.com!davidm
Rename: src/longjmp.c -> src/setjmp/longjmp.c

(Logical change 1.290)
etjmp/longjmp.c
203c0a536332439ab3f6c90bd4c3a2084ca15209 03-May-2005 mostang.com!davidm <mostang.com!davidm> Include "setjmp_i.h".
Abstract ia64-specific code into bsp_match() and
resume_restores_sigmask() routines.

}(Logical change 1.290)
iglongjmp.c
acf90b1f82efaef45ed3cce2d3e565582f764579 03-May-2005 mostang.com!davidm <mostang.com!davidm> Include "setjmp_i.h".
Abstract ia64-specific code into bsp_match() and
resume_restores_sigmask() routines.

2004/12/06 01:33:01-08:00 mostang.com!davidm
Rename: src/siglongjmp.c -> src/setjmp/siglongjmp.c

(Logical change 1.290)
etjmp/siglongjmp.c
239ea4e7eaf2343688fb7244065c8080104a2798 03-May-2005 mostang.com!davidm <mostang.com!davidm> Implement for real. Note: this version is currently broken.
We don't pass sigmask the way this routine expects because it
can't work.

(Logical change 1.290)
86/siglongjmp.S
7a5549f2d885fec42fe5653ef109b6ddc026a81c 03-May-2005 mostang.com!davidm <mostang.com!davidm> Drop "inline" since it's now part of ALWAYS_INLINE.

(Logical change 1.290)
nwind/unwind-internal.h
411331eecbf864946857826c800d8cb340b7a70b 03-May-2005 mostang.com!davidm <mostang.com!davidm> Delete: src/hppa/Lget_reg.c

}(Logical change 1.290)
ppa/Lget_reg.c
ca02ad1708e857447c3ad0c2b0b9f535a7fcd5dd 03-May-2005 mostang.com!davidm <mostang.com!davidm> Delete: src/hppa/Lget_proc_name.c

}(Logical change 1.290)
ppa/Lget_proc_name.c
181bddfba0675d39fc93bf9f6767cd11cd436aa6 03-May-2005 mostang.com!davidm <mostang.com!davidm> Delete: src/hppa/Gget_reg.c

}(Logical change 1.290)
ppa/Gget_reg.c
f45210852c0898d6c21b01c546b9f372bce38ed2 03-May-2005 mostang.com!davidm <mostang.com!davidm> Delete: src/hppa/Gget_proc_name.c

}(Logical change 1.290)
ppa/Gget_proc_name.c
10a269d6d0b3f5b01688606a72c29cacf098b74a 03-May-2005 mostang.com!davidm <mostang.com!davidm> Also enable DWARF code for UNW_TARGET_HPPA.

2004/11/23 16:59:56-08:00 mostang.com!davidm
(_UPTi_find_unwind_table): Implement first draft for x86/-64.

(Logical change 1.290)
trace/_UPT_find_proc_info.c
b267dfc8c9e1ac3aa9e0363c9f61dcbf085d7268 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for sigset_t to intrmask_t renaming.

}(Logical change 1.290)
ppa/global.c
dc89a17613a19e40261745ae41385894d8511a68 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for sigset_t to intrmask_t renaming.

2004/12/02 00:40:45-08:00 mostang.com!davidm
Add copyright notice.
Provide canonical DWARF-based implementation.

2004/11/30 23:38:42-08:00 mostang.com!davidm
Rename: src/hppa/global.c -> src/hppa/Gglobal.c

(Logical change 1.290)
ppa/Gglobal.c
1f5ac0f5bd569a99e29b2de36f5600107503399e 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for sigset_t to intrmask_t renaming.

2004/11/17 02:43:39-08:00 mostang.com!davidm
(struct callback_data): New structure.
(linear_search): New function.
(callback): Convert to getting auxiliary info passed via a pointer to
a callback_data structure, rather than an unw_dyn_info_t
structure.
Keep track of the maximum load address in max_load_addr.
If an object doesn't have a binary search-table, fall back
on a linear search.
(dwarf_find_proc_info): Fill in callback-data structure before calling
dl_iterate_phdr(). Upon returning, check whether
cb_data.single_fde is set and, if so, return directly, without
searching the DWARF unwind-table.
(dwarf_search_unwind_table): Adjust for renaming of
dwarf_parse_fde() to dwarf_extract_proc_info_from_fde().
If IP doesn't fall into the IP-range of the FDE-entry found
by the search, return UNW_ENOINFO.

(Logical change 1.290)
warf/Gfind_proc_info-lsb.c
7fbb8a9593f87a8e50964e61872eccc0afd9b0bf 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for sigset_t to intrmask_t renaming.

(Logical change 1.290)
a64/Gglobal.c
i/init.c
86/Gglobal.c
86_64/Gglobal.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)
a64/unwind_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)
a64/Grbs.c
3f73836b87c05e1d3efab97da9d343f2cdee5c46 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for "ia64_rse" to "rse" prefix change.

2004/12/15 15:40:09-08:00 hp.com!davidm
Include "tdep.h" on ia64 (we need the cursor).
(bsp_match): Fix it so it compiles again.
(resume_restore_sigmask): Likewise.

2004/12/06 10:40:49-08:00 mostang.com!davidm

(Logical change 1.290)
etjmp/setjmp_i.h
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)
a64/Gregs.c
4849af2d092aa9d6d98ff7b4a76ad7961a268645 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for "ia64_rse" to "rse" prefix change.

2004/11/23 16:59:56-08:00 mostang.com!davidm
(_UPT_access_reg): If the register is out of range, set errno
to EINVAL.
When encountering an error while accessing a register,
print the corresponding error string.

(Logical change 1.290)
trace/_UPT_access_reg.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)
a64/Gstep.c
bf832fc29e9e9141c1886d8d0d2123766a9aeb4c 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for "ia64_rse" to "rse" prefix change.

(Logical change 1.290)
a64/Ginit_local.c
3f1664176073892fe3cce239b6229ba91ba6db63 03-May-2005 mostang.com!davidm <mostang.com!davidm> (x86_local_resume): Delete unused code.
(establish_machine_state): Fix off-by-one error.
Fix Debug-statement formatting & debug-level.

(Logical change 1.290)
86/Gresume.c
17bf4d0af84466787d06f90c832dc93d3cd8843a 03-May-2005 mostang.com!davidm <mostang.com!davidm> (unw_step): If dwarf_step() fails and the frame doesn't look like
a signal-trampoline, assume that it's a PLT stub.
If non-DWARF stepping fails to change IP and CFA, declare
it a bad frame.

2004/11/23 16:59:56-08:00 mostang.com!davidm
(unw_step): Also print IP as part of the function-trace.

2004/11/23 16:17:37-08:00 mostang.com!davidm
(unw_step): When dwarf_step() fails on a signal-frame, fill in all
the known locations because dwarf_step() fails on older
kernels which don't export the kernel vDSO even though every-
thing else may be providing proper DWARF unwind-info.

2004/10/25 17:43:57+02:00 homeip.net!davidm
Add Debug statement for return-value.

(Logical change 1.290)
86_64/Gstep.c
fa0828ac7d77fd2c4ba3c94c42d66565f379512a 03-May-2005 mostang.com!davidm <mostang.com!davidm> (unw_step): Also print IP as part of the function-trace.

2004/11/23 12:49:54-08:00 mostang.com!davidm
(unw_step): If dwarf_step() fails on a signal-frame, fill in the
save-locations for everything that gets saved in the
sigcontext structure.

2004/10/25 17:43:57+02:00 homeip.net!davidm
Add Debug statement for return-value.

(Logical change 1.290)
86/Gstep.c
93599dc2785792fcbac017008ef5b7c211c1e622 03-May-2005 mostang.com!davidm <mostang.com!davidm> (unw_init_local): Implement it based on the DWARF unwinder.

(Logical change 1.290)
ppa/Ginit_local.c
0f27732d35ef19932410f448cf0aba3df2720de1 03-May-2005 mostang.com!davidm <mostang.com!davidm> (unw_get_proc_info): Implement it based on dwarf_make_proc_info().

(Logical change 1.290)
ppa/Gget_proc_info.c
7ac9665fd3b12ceeca55254db1c055170579b01e 03-May-2005 mostang.com!davidm <mostang.com!davidm> (unw_get_proc_info): Don't freak out if dwarf_make_proc_info() fails.
Unfortunately, it must fail for current versions of libc
since they fail to provide unwind-info for _start() and
_dl_start().

(Logical change 1.290)
86_64/Gget_proc_info.c
b1b84400b939ed346bfed08e9649433d6c9c86a2 03-May-2005 mostang.com!davidm <mostang.com!davidm> (tdep_uc_addr): Define as HIDDEN.

(Logical change 1.290)
86_64/Ginit.c
db1517609c217734dd5ef0bbc133cd2f23bb4465 03-May-2005 mostang.com!davidm <mostang.com!davidm> (tdep_access_reg): Buffer writes to EH argument registers (EAX
and EDX) in dwarf.eh_args[].


2004/11/17 02:43:39-08:00 mostang.com!davidm
(tdep_access_reg): Treat UNW_X86_ESP exactly like UNW_X86_CFA.

(Logical change 1.290)
86/Gregs.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)
a64/Gresume.c
46b7b8196c7600aaa200e31d01a2b4df7e7760ad 03-May-2005 mostang.com!davidm <mostang.com!davidm> (is_cie_id): New function.
(parse_cie): Adjust for moving DWARF2 extra-info from
unw_dyn_dwarf_fde_info_t to dwarf_cie_info.
Add support for `S' augmentation ("special frames").
(dwarf_extract_proc_info_from_fde): Rename frm dwarf_parse_fde().
Convert to returning data via dwarf_cie_info rather than
unw_dyn-dwarf_fde_info_t. Allow 0-length FDE since those
can be used to indicate the end of the FDE-table. Return
the end of the FDE via *ADDRP. Ignore CIEs (we may pick them
up during linear searches through the FDE-table).
Fill in the unwind-info only if really needed. When needed,
return the info via a dynamically allocated dwarf_cie_info
structure. Add support for `S' augmentation (ABI/tag pairs).

(Logical change 1.290)
warf/Gfde.c
c14371409aea0c3f90cdd00f529b347d8a5954f4 03-May-2005 mostang.com!davidm <mostang.com!davidm> (fetch_proc_info): Decrement IP before searching for dynamic/static
unwind-info, since DWARF expects us to do so (unlikey for ia64,
where we are guaranteed that the (return) IP points to the
correct unwind-info).

2004/11/17 02:43:39-08:00 mostang.com!davidm
(run_cfi_program): Switch over to using dwarf_cie_info instead of
unw_dyn_dwarf_fde_info_t.
(fetch_proc_info): Clear c->pi before filling it in.
(put_unwind_info): If we got non-dynamic unwind-info, free it
via a call to mempool_free().
(parse_fde): Switch over to using dwarf_cie_info instead of
unw_dyn_dwarf_fde_info_t.
(apply_reg_state): Drop accessees to c->cfa_is_sp.

2004/10/25 17:38:51+02:00 homeip.net!davidm
Fix typo: DW_CFA_CFA_expression -> DW_CFA_expression.

2004/10/21 11:15:44+02:00 homeip.net!davidm
Auto merged

2004/10/21 11:15:12+02:00 homeip.net!davidm
(run_cfi_program): Add missing newline in Debug statement.
(apply_reg_state): It was wrong to do a dwarf_get() on the CFA-location
returned by eval_location_expr(). Instead, we must make sure
we're dealing with a memory-location and, if so, just extract
the memory address as the CFA.
Also, update c->cfa only _after_ the other frame-state has
been updated. This seems to be necessary for correct parsing
of the sigtramp unwind info. Not sure yet this is 100% correct,
but it gets us through Gtest-resume-sig.

2004/10/19 23:24:56-07:00 mostang.com!davidm
(run_cfi_program): Fix typos in Debug statements.

(Logical change 1.290)
warf/Gparser.c
4502aa0ff23670e3535001e4dbbbb82e63c0865f 03-May-2005 mostang.com!davidm <mostang.com!davidm> (dwarf_read_encoded_pointer): Implement simply by calling
dwarf_read_encoded_pointer_inlined().

2004/11/17 02:43:39-08:00 mostang.com!davidm
(dwarf_read_encoded_pointer): Declare proc-info-pointer argument
as "const".

(Logical change 1.290)
warf/Gpe.c
3239e7db602063f46716055b5284f451d4c942fc 03-May-2005 mostang.com!davidm <mostang.com!davidm> (dwarf_cie_info_pool): New variable.
(dwarf_init): Initialize dwarf_cie_info_pool.

(Logical change 1.290)
warf/global.c
bbe87ea403bb69ffbe721bfb59ca433b662bc8ba 03-May-2005 mostang.com!davidm <mostang.com!davidm> (common_init): Don't forget to clear c->dwarf members args_size,
ret_addr_column, pi_valid, and pi_is_dynamic.

(Logical change 1.290)
86/init.h
7fcb8006a996db6dec9de9c3831c3f32c12223b8 03-May-2005 mostang.com!davidm <mostang.com!davidm> (common_init): Adjust for ALWAYS_INLINE change.

(Logical change 1.290)
a64/init.h
8a66c9c635217cc64c2c93ac21a04e7a412f1166 03-May-2005 mostang.com!davidm <mostang.com!davidm> (access_reg): Delete left-over Debug statement.

(Logical change 1.290)
86/Ginit.c
9c025efac2387b0ece0e9292acf4ce8e2e59ded6 03-May-2005 mostang.com!davidm <mostang.com!davidm> (_UI_siglongjmp_cont): Provide dummy implementation.
(_UI_longjmp_cont): Likewise.

(Logical change 1.290)
ppa/siglongjmp.S
e3180d47a0ca9708532ce5d56400034d82e0d6ff 03-May-2005 mostang.com!davidm <mostang.com!davidm> (UC_MCONTEXT_{R8-R15,RDI,RSI,RBX,RDX,RAX,RCX}: New macros.

(Logical change 1.290)
86_64/ucontext_i.h
04fde4a63bb165e59f89e3aaa96dff0bddfc59a0 03-May-2005 mostang.com!davidm <mostang.com!davidm> (Logical change 1.290)
ppa/Gcreate_addr_space.c
ppa/Gget_save_loc.c
ppa/Ginit_remote.c
ppa/Lcreate_addr_space.c
ppa/Lget_save_loc.c
ppa/Lglobal.c
ppa/Linit_remote.c
ppa/Lis_signal_frame.c
ppa/Lresume.c
86/longjmp.S
981ff25f70665440877a759a4457281c8ed54b5e 03-May-2005 hp.com!davidm <hp.com!davidm> Regenerate.

2004/12/15 15:36:36-08:00 hp.com!davidm
Regenerate.

2004/12/06 10:40:49-08:00 mostang.com!davidm
Regenerate.

2004/12/04 17:03:36-08:00 mostang.com!davidm
Regenerate.

2004/12/02 00:40:45-08:00 mostang.com!davidm
Regenerate.

2004/11/23 16:59:56-08:00 mostang.com!davidm
Regenerate.

(Logical change 1.290)
akefile.in
e6446885f44866668ba7c5649c09386876e92a57 03-May-2005 hp.com!davidm <hp.com!davidm> Initial revision
ppa/Gis_signal_frame.c
ppa/Gresume.c
ppa/getcontext.S
ppa/offsets.h
ppa/regname.c
ppa/setcontext.S
trace/_UPT_elf.c
86_64/longjmp.S
86_64/setcontext.S
516f759229d67591b88d4e436137602e8521a4a5 03-May-2005 hp.com!davidm <hp.com!davidm> Fix two typos which kept things from building on x86-64 and other
platforms.

(Logical change 1.290)
86_64/siglongjmp.S
0dec41725c2182c6086e6ace553a2c0f1c74fdee 03-May-2005 hp.com!davidm <hp.com!davidm> Fix missing NELEMS -> ARRAY_SIZE adjustment.

2004/12/02 00:40:45-08:00 mostang.com!davidm

(Logical change 1.290)
ppa/regname.c
df5acdd24a9eff7a03a6a67cd19d3063544bb197 03-May-2005 hp.com!davidm <hp.com!davidm> Fix missing NELEMS -> ARRAY_SIZE adjustment.

(Logical change 1.290)
86/regname.c
86_64/regname.c
7b17187a3925e9e001112eb252b159de4a9c2643 03-May-2005 hp.com!davidm <hp.com!davidm> Define ucontext_t, sigcontext_t, and strct rt_sigframe offsets and
pray they never change.

2004/12/02 00:40:45-08:00 mostang.com!davidm

(Logical change 1.290)
ppa/offsets.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)
a64/Gparser.c
b85ca594404759a5fc80a2bf64b1a177b83148a2 03-May-2005 hp.com!davidm <hp.com!davidm> Auto merged

2004/12/02 18:37:47-08:00 hp.com!davidm
(get_list_addr): Even the "it's missing" version of this routine
must clear *countp to avoid spurious failures.

2004/11/03 11:45:24-08:00 hp.com!davidm
Auto merged

2004/10/21 16:06:28+02:00 homeip.net!davidm
(get_list_addr): Don't fail with -UNW_ENOINFO just because something
in /proc/maps isn't mappable.

(Logical change 1.290)
trace/_UPT_get_dyn_info_list_addr.c
a04f52279d507d2980a65003647ca545f0e83efb 03-May-2005 hp.com!davidm <hp.com!davidm> Add include of "offsets.h".
(unw_step): Improve debug output. Implement signal-frame fall-back
code.

2004/12/02 00:40:45-08:00 mostang.com!davidm
(update_frame_state): Remove.
(unw_step): Implement it based on DWARF unwinder.

(Logical change 1.290)
ppa/Gstep.c
a9cad72ed4626c80843b5f4ac075b93b4a873155 03-May-2005 hp.com!davidm <hp.com!davidm> (x86_64_local_resume): Fix missing "H" typo.

2004/11/30 22:44:47-08:00 mostang.com!davidm
(my_rt_sigreturn): New function.
(x86_64_local_resume): Use my_rt_sigreturn(). The normal sigreturn()
does nothing (returns with an error).

2004/11/23 18:01:09-08:00 mostang.com!davidm
(x86_64_local_resume): Provide a minimal implementation (a la x86).
(establish_machine_state): Fix off-by-one error.

(Logical change 1.290)
86_64/Gresume.c
5d8b2e341554b1a1e96b66eb337251525017e006 03-May-2005 hp.com!davidm <hp.com!davidm> (valid_object): Declare as HIDDEN instead of PROTECTED.
(get_proc_name): Likewise.

(Logical change 1.290)
lfxx.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)
a64/Gtables.c
f9b8ba0d479b5776799a3e6b174f9d984befcaa9 03-May-2005 hp.com!davidm <hp.com!davidm> (unw_resume): Reject attempts to resume execution at IP 0.

2004/12/02 18:37:47-08:00 hp.com!davidm
(my_rt_sigreturn): New function.

2004/12/02 00:40:45-08:00 mostang.com!davidm

(Logical change 1.290)
ppa/Gresume.c
39ec1bd6dc73d2510d149456492d68d32d6a1f07 03-May-2005 hp.com!davidm <hp.com!davidm> (unw_is_signal_frame): Always return 0 for NULL IP.

2004/12/02 18:37:47-08:00 hp.com!davidm
(unw_is_signal_frame): Implement it.

2004/12/02 00:40:45-08:00 mostang.com!davidm

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

(Logical change 1.290)
a64/Gis_signal_frame.c
68edb681d88e33715e3337027c9b416d9dee4a61 03-May-2005 hp.com!davidm <hp.com!davidm> (uc_addr): Adjust for Debian/sarge header-file changes.
(access_reg): Adjust & enable sanity-check.
(acces_fpreg): Provide minimal implementation.

2004/12/02 00:40:45-08:00 mostang.com!davidm
(uc_addr): Implement it so it starts to be useful.
(_Uhppa_uc_addr): Rename from _Ux86_uc_addr.
(get_static_proc_name): New function.
(hppa_local_addr_space_init): Rename from x86_local_addr_space_init().
Use dwarf_find_proc_info, hppa_local_resume, and
get_static_proc_name callbacks.

(Logical change 1.290)
ppa/Ginit.c
555bae8aa36e7868b498bae39a92eb1e79a11629 03-May-2005 hp.com!davidm <hp.com!davidm> (tdep_access_reg): When writing RAX/RDX, update eh_args[] and
eh_valid_mask instead. When reading and the corresponding
eh_valid_mask bit is set, read from eh_args[] instead.

2004/11/17 02:43:39-08:00 mostang.com!davidm
(tdep_access_reg): Treat UNW_X86_64_RSP exactly like UNW_X86_64_CFA.

(Logical change 1.290)
86_64/Gregs.c
5b0507c432c378e2e4f99ac78083222b8438cc09 03-May-2005 hp.com!davidm <hp.com!davidm> (tdep_access_reg): Handle UNW_HPPA_IP, UNW_HPPA_CFA, UNW_HPPA_SP,
and UNW_HPPA_EH{0,1,2,3} correctly.
(tdep_access_fpreg): Implement.

2004/12/02 00:40:45-08:00 mostang.com!davidm
(tdep_access_reg): Provide a minimally working implementation.
(tdep_access_fpreg): New (unimplemented) function.

(Logical change 1.290)
ppa/Gregs.c
b38691980f4e0c1cf0e2309aa6cc35decc6b9cb7 03-May-2005 hp.com!davidm <hp.com!davidm> (sos_alloc): Fix soslock vs. sos_lock typo.

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

(Logical change 1.290)
i/mempool.c
7e0192f53ab2a85ba99bc36365ab18bdadf48677 03-May-2005 hp.com!davidm <hp.com!davidm> (setcontext): Declare.

2004/12/02 00:40:45-08:00 mostang.com!davidm
Delete accessor macros which have been replaced by their DWARF
equivalent.

(Logical change 1.290)
ppa/unwind_i.h
16af7ae96e3c9bc43ee00cf2c23aaa0b4a4829e3 03-May-2005 hp.com!davidm <hp.com!davidm> (libunwind_setjmp_la_SOURCES_x86_64): Mention longjmp.S.
(libunwind_la_SOURCES_x86_64_common): Mention x86_64/setcontext.S.

2004/12/15 15:36:36-08:00 hp.com!davidm
(libunwind_ptrace_a_SOURCES): Mention _UPT_elf.c.
(libunwind_la_SOURCES_ia64_common): Move ELF files to here
from libunwind_la_SOURCES_ia64.
(libunwind_la_SOURCES_hppa_common): Likewise.
(libunwind_la_SOURCES_x86_common): Likewise.
(libunwind_la_SOURCES_x86_64_common): Likewise.

2004/12/06 10:40:49-08:00 mostang.com!davidm
(libunwind_setjmp_la_SOURCES_common): Move files into
setjmp subdirectory.
(libunwind_setjmp_la_SOURCES_hppa): Don't bother mentioning
common files again.
(libunwind_setjmp_la_SOURCES_x86): Likewise.
(libunwind_setjmp_la_SOURCES_x86_64): Likewise.

2004/12/04 17:00:04-08:00 hp.com!davidm
(libunwind_la_SOURCES_hppa): Mention hppa/setcontext.S.

2004/12/02 00:40:45-08:00 mostang.com!davidm
(COMMON_SO_LDFLAGS): Drop -XCClinker -nostdlib and
$(LDFLAGS_STATIC_LIBCXA) and move them...
(libunwind_la_LDFLAGS): ...to here instead. We only want the
local unwind-library built that way.
(libunwind_la_SOURCES_hppa_common): New macro.
(libunwind_la_SOURCES_hppa): Update.
(libunwind_hppa_la_SOURCES_hppa): New macro.

2004/11/23 16:59:56-08:00 mostang.com!davidm
(dwarf_SOURCES_common): Remove dwarf/dwarf-eh.h.

(Logical change 1.290)
akefile.am
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)
a64/Gscript.c
e8b25005e7a7ff0f67a2fb8b97b16a86dc572dde 03-May-2005 hp.com!davidm <hp.com!davidm> (common_init): Initialize UNW_HPPA_IP based on save-location for
UNW_HPPA_RP.

2004/12/02 00:40:45-08:00 mostang.com!davidm
(common_init): Provide a minimally working implementation.

(Logical change 1.290)
ppa/init.h
081c41d8a6dfbaf86f23858088c3f0665989331c 03-May-2005 hp.com!davidm <hp.com!davidm> (common_init): Don't forget to initialize sigcontext_format and
sigcontext_addr.

2004/11/17 02:43:39-08:00 mostang.com!davidm
(common_init): Don't forget to clear c->dwarf members args_size,
ret_addr_column, pi_valid, and pi_is_dynamic.

(Logical change 1.290)
86_64/init.h
828d48662d924988b9ac8554010cc72c53f9494b 03-May-2005 hp.com!davidm <hp.com!davidm> (UNW_HPPA_IP): New entry.

2004/12/02 00:40:45-08:00 mostang.com!davidm
(_UPT_reg_offset): Add minimal set of definitions for HPPA.

2004/11/23 16:59:56-08:00 mostang.com!davidm
Fix offset for UNW_X86_64_RBP.

(Logical change 1.290)
trace/_UPT_reg_offset.c
75fb20d67d870ba9439bcdc5dc25d3c321c1c659 03-May-2005 hp.com!davidm <hp.com!davidm> (SPILL): Adjust for Debian/sarge changes in the ucontext_t structure.

2004/12/02 00:40:45-08:00 mostang.com!davidm

(Logical change 1.290)
ppa/getcontext.S
5b20c6e0824749d5c9f1c3e8d98f1cf753992040 03-May-2005 hp.com!davidm <hp.com!davidm> (Logical change 1.290)
ppa/setcontext.S
trace/_UPT_elf.c
86_64/longjmp.S
86_64/setcontext.S
bb03dca33e1cda3cb14509d1df5899c38788ff4c 03-May-2005 homeip.net!davidm <homeip.net!davidm> Add Debug statement for return-value.

2004/10/19 23:15:02-07:00 mostang.com!davidm
(update_frame_state): Take additional argument "prev_cfa".
When we detect a NULL-frame, debug-print the IP and the CFA
so we know where things went wrong.
(dwarf_step): Get "prev_cfa" before we call dwarf_find_save_locs(),
since update_frame_state() doesn't actually update
the CFA.

(Logical change 1.290)
warf/Gstep.c
670399d35752ccd5914b5dae192e3b5a36946c90 03-May-2005 homeip.net!davidm <homeip.net!davidm> (pop): Returning the right element does help...
(pick): Likewise.
(dwarf_eval_expr): Fix "while" conditional so we see all operators.
Fix DW_OP_litN typo: "opcode = DW_OP_lit0" to
"opcode - DW_OP_lit0".
Add lots of Debug() statements so we can see what's going
on. Debug level 15 will show just entry/return values.
Debug level 16 shows all operators.

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

(Logical change 1.287)
a64/Gparser.c
ea7155ebfd6f792539674d71299f8fa018c11eff 31-Mar-2005 hp.com!davidm <hp.com!davidm> (get_list_addr): Clear ui->ei.image/ui->ei.size after unmapping the
image.

(Logical change 1.286)
trace/_UPT_get_dyn_info_list_addr.c
15df8b804c7931389fc255e1953a43e32f9698c2 19-Feb-2005 hp.com!davidm <hp.com!davidm> (_ReadSLEB): Fix typo: shift needs to be increment before checking
for loop-exit. Otherwise, sign-extension may clobber the
most recently read 7 bits.

(Logical change 1.284)
i/_ReadSLEB.c
272caabbfae28e542c4c6b30f1c558a8e5fd748b 16-Nov-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.283)
akefile.in
d15f52662a2565141df0ac151baf7630f42e4cea 16-Nov-2004 hp.com!davidm <hp.com!davidm> (local_find_proc_info): When compiling for libunwind-ia64, declare
_U_dyn_info_list_addr as weak and if it remained undefined,
return -UNW_ENOINFO.

(Logical change 1.282)
i/Gfind_dynamic_proc_info.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)
a64/Ginit.c
0f9f815cf1b20eab2b7244a149d5d9f0cfb6f883 03-Nov-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.280)
akefile.in
27a9067229a9bbd0d5162d134ff9232ef56def5a 03-Nov-2004 hp.com!davidm <hp.com!davidm> (libunwind_la_LIBADD): Append $(LIBCRTS).

(Logical change 1.280)
akefile.am
346b85ec54b3d4471eb437ccccd2878a95c029cf 03-Nov-2004 hp.com!davidm <hp.com!davidm> (get_list_addr): Don't fail with -UNW_ENOINFO just because something
in /proc/maps isn't mappable.

(Logical change 1.279)
trace/_UPT_get_dyn_info_list_addr.c
e8518b85c5171e6be83655283cce427583a054e1 13-Oct-2004 hp.com!davidm <hp.com!davidm> Ignore NULL stack-frames---they can't possibly be the correct target of
a longjmp() because the caller of setjmp() must have a non-NULL frame.

(Logical change 1.273)
ongjmp.c
iglongjmp.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)
a64/sigsetjmp.S
b62e5e37b3b0ff99ae0c08bc3a3ecb19cdce2b89 05-Oct-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.271)
akefile.in
caa528e1e896cee8afb1b7c475ec726c7f48e087 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Add dummy implementation of _UI_longjmp_cont().

(Logical change 1.268)
86/siglongjmp.S
86_64/siglongjmp.S
81f4953a1f3114dfe328a0fe6126527cd9c8c1e6 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Fix typo: REMOTE_ONLY -> UNW_REMOTE_ONLY.

(Logical change 1.266)
a64/Grbs.c
cb4fda9750963195ae9f61b6f0fb4545eda22e46 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> (setjmp): Fix cast: unw_word_t should be "void *".

(Logical change 1.266)
etjmp.c
21dd6ad5cbf076ab7b26d80fc0a20ce8eddca7e7 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> (x86_local_resume): Tweak debug-level code to match ia64-version.

(Logical change 1.265)
86/Gresume.c
f226ffec686601e672bcc551b4fd8baef07816c3 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> (common_init): Don't forget to initialize cursors sigcontext_format
and sigcontext_addr members.

(Logical change 1.263)
86/init.h
112fcdd1728aac85495660cb903ffa24cec41cb9 08-Sep-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.261)
akefile.in
e09e6ce1ad753017313688eafc466656c322f9d0 31-Aug-2004 com[davidm]!masbock <com[davidm]!masbock> x86-64: fix unw_get_proc_info()

(Logical change 1.260)
86_64/Gget_proc_info.c
7ccee420046e6f5238530e024ecd3381c911460d 31-Aug-2004 hp.com!davidm <hp.com!davidm> bsig

(Logical change 1.259)
a64/siglongjmp.S
f7671b5cf72699e8e4a81957e3799b2660b1290e 31-Aug-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.259)
akefile.in
352642247a7aa08450fc336cca7f012aa790f7af 31-Aug-2004 hp.com!davidm <hp.com!davidm> Move JB_* macros to jmpbuf.h.
(_longjmp): Simplify by taking advantage of new _UI_longjmp_cont.

(Logical change 1.259)
ongjmp.c
197c9d517b4e459a33ce79192c1469e0844a1a8e 31-Aug-2004 hp.com!davidm <hp.com!davidm> Initial revision
a64/longjmp.S
c961dc646e63a0cb54bd772b5f4e48c36fd1acc0 31-Aug-2004 hp.com!davidm <hp.com!davidm> (sigsetjmp): Use macros from jmpbuf.h instead of hardcoded values.

(Logical change 1.259)
igsetjmp.c
e1e7db0e9b1627e66a8938a5b8f90984b606ef38 31-Aug-2004 hp.com!davidm <hp.com!davidm> (siglongjmp): Use macros from jmpbuf.h instead of hardcoded values.
For ia64, if the longjmp is crossing a signal-frame, install
the new signal mask by updating the sc_mask member in the
oldest signal-frame.

(Logical change 1.259)
iglongjmp.c
14abd25ff5689254933ac02777c57c44f7172e3c 31-Aug-2004 hp.com!davidm <hp.com!davidm> (setjmp): Use macros from jmpbuf.h instead of hardcoded values.

(Logical change 1.259)
etjmp.c
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)
a64/Gresume.c
f4c8d534bca9bac910f1472f6f26c3fd142e7a77 31-Aug-2004 hp.com!davidm <hp.com!davidm> (libunwind_setjmp_la_SOURCES_ia64): Mention ia64/longjmp.S.

(Logical change 1.259)
akefile.am
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)
a64/Ginstall_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)
a64/unwind_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)
a64/Grbs.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)
a64/setjmp.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)
a64/sigsetjmp.S
e29611e7d343a6f84dd9c5fd94415615ef49a4b0 31-Aug-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.259)
a64/longjmp.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)
a64/setjmp.S
ff2dcb9897fdd3712b419c5eb81e9c8d2313e603 26-Aug-2004 hp.com!davidm <hp.com!davidm> Pick up rp and bsp from locations compatible with libc's setjmp().

(Logical change 1.258)
ongjmp.c
23366e72e52f1c76b72499b2c96ba3b7ab0673d6 26-Aug-2004 hp.com!davidm <hp.com!davidm> Rename: src/unwind-internal.h -> src/unwind/unwind-internal.h

}(Logical change 1.257)
nwind-internal.h
17c2244f9193c11dbd646e441d593690dc602240 26-Aug-2004 hp.com!davidm <hp.com!davidm> Rename: src/unwind-internal.h -> src/unwind/unwind-internal.h

(Logical change 1.257)
nwind/unwind-internal.h
e965c295cf3fa4d99777cdd3bd0ee0e1ba61232e 26-Aug-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.257)
akefile.in
e75a89cd6c61738b9d168b4836b4fd6ae593d14a 26-Aug-2004 hp.com!davidm <hp.com!davidm> Initial revision
nwind/unwind-internal.h
746fbe08e7440dd90b89209c723b792c4fc1e8d6 26-Aug-2004 hp.com!davidm <hp.com!davidm> Increase debug-level of state-record printing to 2.

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

(Logical change 1.257)
a64/Ginit_local.c
a64/Ginit_remote.c
a64/Gresume.c
a64/Gstep.c
86/Ginit_local.c
86/Ginit_remote.c
86/Gresume.c
86/Gstep.c
86_64/Ginit_local.c
86_64/Ginit_remote.c
86_64/Gresume.c
f20eb7ea72c517e53165d86e1be4d421d1f7bf22 26-Aug-2004 hp.com!davidm <hp.com!davidm> Add missing newlines in Debug statements.

(Logical change 1.257)
a64/Grbs.c
22d6f35cda17db902bb2c50a5b832dae64fdf357 26-Aug-2004 hp.com!davidm <hp.com!davidm> (EXTRA_DIST): unwind-internal.h is now in unwind subdirectory.

(Logical change 1.257)
akefile.am
271f7069440b03152a957b5a79abb12e5f2bd605 24-Aug-2004 com[davidm]!marky <com[davidm]!marky> dwarf: fix local & remote table lookup

(Logical change 1.256)
warf/Gfind_proc_info-lsb.c
0dfc1c87ed4008c55d5616da0fbeb6f3d121db68 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.254)
akefile.in
f028c7db7400339c306ea6c2167746a0d96ea4af 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> (lib_LTLIBRARIES_cdep_setjmp): New macro. Move libunwind-setjmp.la
from lib_LTLIBRARIES_cdep to here.
(libunwind_la_SOURCES_x86_64_common): Mention x86_64/ucontext_i.h so
it gets included in the tar-ball, too.
(lib_LTLIBRARIES): List $(lib_LTLIBRARIES_cdep_setjmp) after the
other libraries.

(Logical change 1.254)
akefile.am
642607dbaab4a55959c6ddb7f6853b2d28d935f7 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> Cast register indices of type unw_word_t to (unsigned int) before
printing them. Avoids compiler-warning for 64-bit targets.

(apply_reg_state): Handle the special case where the stack-pointer
plays the role of the CFA and the stack-pointer hasn't
been saved. This is based on a patch by Max Asbock.

(Logical change 1.253)
warf/Gparser.c
6058013abe5b60291211458b0b71b87fad053ab9 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> (unw_step): If dwarf_step() fails, fall back on using the frame-chain.
In theory, this may not be needed. In practice, I find that
Red Hat Enterprise Linux AS release 3, the _start() routine has
no unwind-info, but we need to be able to unwind into this
routine to find the end-of-frame-chain marker (RBP == 0).

(Logical change 1.253)
86_64/Gstep.c
be2bed2712097dae6d44bb1a9d46da2b0c17db4a 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> (tdep_access_reg): If c->dwarf.cfa_is_sp is set, treat UNW_X86_64_RSP
as a read-only alias of CFA.

(Logical change 1.253)
86/Gregs.c
86_64/Gregs.c
9ac7a860d1db4e607c9cb86e70524c17fe0bc087 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> (parse_cie): Clarify the comment about the default FDE-encoding a bit.

(Logical change 1.253)
warf/Gfde.c
99784e02d3e228a94f598e71d3b8519e20faa1f1 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> (_UPTi_find_unwind_table): Provide dummy x86-64 implementation so
"make check" can be run.

(Logical change 1.253)
trace/_UPT_find_proc_info.c
d8c89b8a0197b032b3f061c4738b349f29005272 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> (_UPT_reg_offset): Provide x86-64 register offsts (untested).

(Logical change 1.253)
trace/_UPT_reg_offset.c
51ef1210e84bfba2bfaa64432424d0668dbc95d8 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Include ucontext_i.h.
(unw_step): Fixup signal-frame-skipping code so it can be cross-compiled.

(Logical change 1.251)
86_64/Gstep.c
43425a9beb7eca743b5f44264c75a83acd87ed8a 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> (Logical change 1.251)
86_64/ucontext_i.h
c0603a8ebceca9c11cb348325139f0dd40cea5f2 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Initial revision
86_64/ucontext_i.h
e407f9a7207f554abdec1ef60410ebbd54e62487 19-Aug-2004 ibm.com!masbock <ibm.com!masbock> Regenerate.

(Logical change 1.249)
akefile.in
aa9a917cb4397b0776f24747a9078f3502c9c1be 19-Aug-2004 ibm.com!masbock <ibm.com!masbock> Add x86_64 support.

(Logical change 1.249)
akefile.am
a766efd844260866e0d216f6eeef87f4593f60b2 19-Aug-2004 ibm.com!masbock <ibm.com!masbock> (Logical change 1.249)
86_64/Gcreate_addr_space.c
86_64/Gget_proc_info.c
86_64/Gget_save_loc.c
86_64/Gglobal.c
86_64/Ginit.c
86_64/Ginit_local.c
86_64/Ginit_remote.c
86_64/Gis_signal_frame.c
86_64/Gregs.c
86_64/Gresume.c
86_64/Gstep.c
86_64/Lcreate_addr_space.c
86_64/Lget_proc_info.c
86_64/Lget_save_loc.c
86_64/Lglobal.c
86_64/Linit.c
86_64/Linit_local.c
86_64/Linit_remote.c
86_64/Lis_signal_frame.c
86_64/Lregs.c
86_64/Lresume.c
86_64/Lstep.c
86_64/init.h
86_64/is_fpreg.c
86_64/regname.c
86_64/siglongjmp.S
86_64/unwind_i.h
58e37267beb93d9ea5cb4da403f503a5aa4d842d 19-Aug-2004 ibm.com!masbock <ibm.com!masbock> Initial revision
86_64/Gcreate_addr_space.c
86_64/Gget_proc_info.c
86_64/Gget_save_loc.c
86_64/Gglobal.c
86_64/Ginit.c
86_64/Ginit_local.c
86_64/Ginit_remote.c
86_64/Gis_signal_frame.c
86_64/Gregs.c
86_64/Gresume.c
86_64/Gstep.c
86_64/Lcreate_addr_space.c
86_64/Lget_proc_info.c
86_64/Lget_save_loc.c
86_64/Lglobal.c
86_64/Linit.c
86_64/Linit_local.c
86_64/Linit_remote.c
86_64/Lis_signal_frame.c
86_64/Lregs.c
86_64/Lresume.c
86_64/Lstep.c
86_64/init.h
86_64/is_fpreg.c
86_64/regname.c
86_64/siglongjmp.S
86_64/unwind_i.h
077322d41429859d924a87cd3c045c64851eb024 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Drop DWARF-parsing debug prints from level 16 to 15.

(parse_cie): Pick correct default for FDE-encoding, not just DW_EH_PE_omit.

(Logical change 1.248)
warf/Gfde.c
aae368ace23687c4f50f575111dc0196350b2c55 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Drop DWARF-parsing debug prints from level 16 to 15.

(Logical change 1.248)
warf/Gparser.c
warf/Gstep.c
e9045e3cca8cbffbb449bf544bea7263b4701b47 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Add include of dwarf_i.h now that we need dwarf_reads32().
Drop DWARF-parsing debug prints from level 16 to 15.
(struct table_entry): Change member types from unw_word_t to int32_t. The members
need to be of a signed type and forcing them to 32 bits makes the type
work for both 32-bit and 64-bit executables (up to 4GB of text-size).
(callback): Only allow search tables which have 32-bit members.
Fix initialization of di->u.rti.table_len to express table-length as a count
of unw_word_t, as it's defined to be (we get lucky here: even with 32-bit
members, each table-entry contains two members so we're guaranteed that the
table has a size that is an integer-multiple of unw_word_t even on 64-bit
platforms).
(lookup): Change type of "rel_ip" from unw_word_t to int32_t. Simplify the
code a bit.
(remote_read): Delete.
(remote_lookup): Use dwarf_reads32() instead of remote_read() to read out table
members. Simplify code a bit.

(Logical change 1.248)
warf/Gfind_proc_info-lsb.c
5742642c24b1e84aeed7d4dee7375928d7909591 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> (unw_step): Drop extra 'x' from Debug statement.

(Logical change 1.248)
86/Gstep.c
1ba865a631c0839c785a487c18fcdbb4a90ed341 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.246)
akefile.in
66100609bb7fb01811e64318bec3018d0bc9abd5 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Add alias required by ia64 unwind specification.

(Logical change 1.246)
nwind/Backtrace.c
nwind/DeleteException.c
nwind/FindEnclosingFunction.c
nwind/ForcedUnwind.c
nwind/GetBSP.c
nwind/GetCFA.c
nwind/GetDataRelBase.c
nwind/GetGR.c
nwind/GetIP.c
nwind/GetLanguageSpecificData.c
nwind/GetRegionStart.c
nwind/GetTextRelBase.c
nwind/RaiseException.c
nwind/Resume.c
nwind/Resume_or_Rethrow.c
nwind/SetGR.c
nwind/SetIP.c
ccdd644cf22d525851070cd5c035e95b6710a9b5 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> (SOVERSION): Change from 3:0:2 to 0:0:0 for ia64 unwind-specification compliance.

(Logical change 1.246)
akefile.am
779632ee820e9a329667e0cb8a101f67b56d9a69 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> Regenerate.

(Logical change 1.245)
akefile.in
0f818455ce1cd28bcd7602d194b5e29f6f61eba7 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> Initial revision
i/strerror.c
cb503ba4e5508eb0f87be2eebbdb2657469bb5ea 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> (libunwind_la_SOURCES_common): Mention mi/strerror.c.

(Logical change 1.245)
akefile.am
48cc8c5712f2565c5f71cbff56019fa4f0f13776 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> (Logical change 1.245)
i/strerror.c
54b9ba95f974cf444bd5a6048391f1f0e92e0dc9 18-Aug-2004 hp.com!davidm <hp.com!davidm> Drop include of <libunwind.h> and #ifdef checks.

(Logical change 1.244)
a64/Linstall_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)
a64/Ginit_remote.c
f9c59cd81436a6a4a60c944559f8318ec452c3af 18-Aug-2004 hp.com!davidm <hp.com!davidm> Rename mk_Gcursor_i_ia64_SOURCES to ia64_mk_Gcursor_i_SOURCES.
Likewise for mk_Lcursor_i_ia64_SOURCES.

(Logical change 1.242)
akefile.am
fb83398cec29ac853075bee9bab1634b9324718c 18-Aug-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.242)
akefile.in
8f4a9df4207b1370fe3e9bfbb8be598fd0906706 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/siglongjmp-x86.S -> src/x86/siglongjmp.S

}(Logical change 1.241)
86/siglongjmp-x86.S
b8f4069f9f3aa852baf5bcfdd23c410b6ca1ce0b 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/siglongjmp-x86.S -> src/x86/siglongjmp.S

(Logical change 1.241)
86/siglongjmp.S
c298861c67462b81e5541b24a807b58382f583d9 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/regname-x86.c -> src/x86/regname.c

}(Logical change 1.241)
86/regname-x86.c
85b14bb7f673ec40e1ccb1b9385d82c96f9d9a94 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/regname-x86.c -> src/x86/regname.c

(Logical change 1.241)
86/regname.c
0219cd0e7313f4d95f9332ea1d3a1323e6e133f7 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/is_fpreg-x86.c -> src/x86/is_fpreg.c

}(Logical change 1.241)
86/is_fpreg-x86.c
188032186b0deb5fc4b7bea0e9d768428ddf7ba9 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/is_fpreg-x86.c -> src/x86/is_fpreg.c

(Logical change 1.241)
86/is_fpreg.c
2e94aaed46aee91716433575aad169081ebc9a3c 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gstep-x86.c -> src/x86/Gstep.c

}(Logical change 1.241)
86/Gstep-x86.c
3dab98edbc97479f913275ca3ff00c66726401fa 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gstep-x86.c -> src/x86/Gstep.c

(Logical change 1.241)
86/Gstep.c
fe971b19899a337bb3cf6fe9f5bf7c88d1fd5987 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gresume-x86.c -> src/x86/Gresume.c

}(Logical change 1.241)
86/Gresume-x86.c
bcd0aff352ac86aff4f9e7071375c6aa375c9a45 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gresume-x86.c -> src/x86/Gresume.c

(Logical change 1.241)
86/Gresume.c
e7671cd144c6e8f1f039b07c270a15293325dbcc 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gregs-x86.c -> src/x86/Gregs.c

}(Logical change 1.241)
86/Gregs-x86.c
6607424863ecedc32f3a3030a623fb19b61b16e3 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gregs-x86.c -> src/x86/Gregs.c

(Logical change 1.241)
86/Gregs.c
86523149040c61f8ed16bdfd6e728954b0e6c64e 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gis_signal_frame-x86.c -> src/x86/Gis_signal_frame.c

}(Logical change 1.241)
86/Gis_signal_frame-x86.c
e1eb2d465605ac4eae98dd4f8264de4c6d56aab4 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gis_signal_frame-x86.c -> src/x86/Gis_signal_frame.c

(Logical change 1.241)
86/Gis_signal_frame.c
475062bfda554924324783dfed8fe8aae3803a79 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Ginit_remote-x86.c -> src/x86/Ginit_remote.c

}(Logical change 1.241)
86/Ginit_remote-x86.c
9f2cd2318d7afea7f05ffe9041fbcbedd2594b08 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Ginit_remote-x86.c -> src/x86/Ginit_remote.c

(Logical change 1.241)
86/Ginit_remote.c
66fe735a7d0bcab8bf5f7c6bd1048c90302a9c95 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Ginit_local-x86.c -> src/x86/Ginit_local.c

}(Logical change 1.241)
86/Ginit_local-x86.c
db8a0c4373db4f13a72d97c2ed2c69a68ece03ab 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Ginit_local-x86.c -> src/x86/Ginit_local.c

(Logical change 1.241)
86/Ginit_local.c
5bb574d1782ec9ce451793cc8cb34501fadf3a09 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Ginit-x86.c -> src/x86/Ginit.c

}(Logical change 1.241)
86/Ginit-x86.c
588192d3015512656c39232cdde53cae24ff0fd0 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Ginit-x86.c -> src/x86/Ginit.c

(Logical change 1.241)
86/Ginit.c
a2bd90a8ed76752860cc529297e7076408e8f697 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gglobal-x86.c -> src/x86/Gglobal.c

}(Logical change 1.241)
86/Gglobal-x86.c
ab6b58eae7501d666adbf9fd9abdb596d298b01f 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gglobal-x86.c -> src/x86/Gglobal.c

(Logical change 1.241)
86/Gglobal.c
9f6b814a256573ebe3920c410e83bae10ec5a514 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gget_save_loc-x86.c -> src/x86/Gget_save_loc.c

}(Logical change 1.241)
86/Gget_save_loc-x86.c
cf0945223e63918f20af7d5079d9e11cc1c7e0be 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gget_save_loc-x86.c -> src/x86/Gget_save_loc.c

(Logical change 1.241)
86/Gget_save_loc.c
387d1d739ba3d1ebd7a30b06df5c3c878e5320eb 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gget_proc_info-x86.c -> src/x86/Gget_proc_info.c

}(Logical change 1.241)
86/Gget_proc_info-x86.c
a4279b380844ae29b0fa18636e73268ddc38d864 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gget_proc_info-x86.c -> src/x86/Gget_proc_info.c

(Logical change 1.241)
86/Gget_proc_info.c
499307bf0f276f7e6df09f7e1749c3258d4a71a1 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gcreate_addr_space-x86.c -> src/x86/Gcreate_addr_space.c

}(Logical change 1.241)
86/Gcreate_addr_space-x86.c
1682f9745ee23dcf002da8a0775820270f7da1a0 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/x86/Gcreate_addr_space-x86.c -> src/x86/Gcreate_addr_space.c

(Logical change 1.241)
86/Gcreate_addr_space.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)
a64/sigsetjmp-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)
a64/sigsetjmp.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)
a64/siglongjmp-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)
a64/siglongjmp.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)
a64/setjmp-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)
a64/setjmp.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)
a64/regname-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)
a64/regname.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)
a64/mk_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)
a64/mk_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)
a64/getcontext-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)
a64/getcontext.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)
a64/dyn_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)
a64/dyn_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)
a64/Gtables-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)
a64/Gtables.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)
a64/Gstep-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)
a64/Gstep.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)
a64/Gscript-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)
a64/Gscript.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)
a64/Gresume-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)
a64/Gresume.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)
a64/Gregs-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)
a64/Gregs.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)
a64/Grbs-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)
a64/Grbs.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)
a64/Gparser-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)
a64/Gparser.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)
a64/Gis_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)
a64/Gis_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)
a64/Ginstall_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)
a64/Ginstall_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)
a64/Ginit_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)
a64/Ginit_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)
a64/Ginit_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)
a64/Ginit_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)
a64/Ginit-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)
a64/Ginit.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)
a64/Gglobal-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)
a64/Gglobal.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)
a64/Gget_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)
a64/Gget_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)
a64/Gget_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)
a64/Gget_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)
a64/Gcreate_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)
a64/Gcreate_addr_space.c
c8b59eefb1741132e71ca9a0f3751b2144555eea 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/tables-hppa.c -> src/hppa/tables.c

}(Logical change 1.241)
ppa/tables-hppa.c
39803ee0b7c79ab72b18ae845b601b13fded0d87 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/tables-hppa.c -> src/hppa/tables.c

(Logical change 1.241)
ppa/tables.c
3c9026e2709edca060c14e8dd1ca74382a4c3e06 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/siglongjmp-hppa.S -> src/hppa/siglongjmp.S

}(Logical change 1.241)
ppa/siglongjmp-hppa.S
b2d7a09be2d91d5f712769f492e8658cb90f8e37 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/siglongjmp-hppa.S -> src/hppa/siglongjmp.S

(Logical change 1.241)
ppa/siglongjmp.S
33e369b82f4004e873733ec2b416c7fd92a5632b 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/global-hppa.c -> src/hppa/global.c

}(Logical change 1.241)
ppa/global-hppa.c
4b6be8edd7b19be324517eb15124798892246e34 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/global-hppa.c -> src/hppa/global.c

(Logical change 1.241)
ppa/global.c
08743d866169561b2cde7258dd258defe92230db 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/get_accessors-hppa.c -> src/hppa/get_accessors.c

}(Logical change 1.241)
ppa/get_accessors-hppa.c
b249ecb4132b61d41f131fef778455747aa96da9 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/get_accessors-hppa.c -> src/hppa/get_accessors.c

(Logical change 1.241)
ppa/get_accessors.c
13ded384e24c209d1238811befc84ac2a584888a 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Gstep-hppa.c -> src/hppa/Gstep.c

}(Logical change 1.241)
ppa/Gstep-hppa.c
a2deab56dbee5de6158ff428ff4e4806fb2e5a72 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Gstep-hppa.c -> src/hppa/Gstep.c

(Logical change 1.241)
ppa/Gstep.c
7c14420d32284c6d1072de15535ab1ed92666ee6 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Gregs-hppa.c -> src/hppa/Gregs.c

}(Logical change 1.241)
ppa/Gregs-hppa.c
fd40db490a2aecd38c8c1f9644a7573d7c2edb2c 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Gregs-hppa.c -> src/hppa/Gregs.c

(Logical change 1.241)
ppa/Gregs.c
c5f84f785aa3b91b08ccc509f802f34a9db474c1 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Ginit_local-hppa.c -> src/hppa/Ginit_local.c

}(Logical change 1.241)
ppa/Ginit_local-hppa.c
e15e32e4687f78af964ec4b60c8e00bf0e6ba2ea 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Ginit_local-hppa.c -> src/hppa/Ginit_local.c

(Logical change 1.241)
ppa/Ginit_local.c
d0a684cb2ff72e9a6c917cae4bf4e4e9c2e41065 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Ginit-hppa.c -> src/hppa/Ginit.c

}(Logical change 1.241)
ppa/Ginit-hppa.c
3eb5704c20acb444c4c15c754b8cecc41835dc55 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Ginit-hppa.c -> src/hppa/Ginit.c

(Logical change 1.241)
ppa/Ginit.c
99e437825c0371118c5dffa86c0a9bf734d3427e 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Gget_reg-hppa.c -> src/hppa/Gget_reg.c

}(Logical change 1.241)
ppa/Gget_reg-hppa.c
88c8ac795c7fd76ff99bfac98292f3a1fe8805f3 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Gget_reg-hppa.c -> src/hppa/Gget_reg.c

(Logical change 1.241)
ppa/Gget_reg.c
0dbebf4f82ede9e6370f1dadd7d51575361b1ed5 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Gget_proc_name-hppa.c -> src/hppa/Gget_proc_name.c

}(Logical change 1.241)
ppa/Gget_proc_name-hppa.c
fb008bf7f3cb65faa04265756a490cfa87b540fd 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Gget_proc_name-hppa.c -> src/hppa/Gget_proc_name.c

(Logical change 1.241)
ppa/Gget_proc_name.c
a15e3bc0c2ecdd81c54ac9160a9d040e266a6d59 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Gget_proc_info-hppa.c -> src/hppa/Gget_proc_info.c

}(Logical change 1.241)
ppa/Gget_proc_info-hppa.c
0d07482a2e917bb4589eb3c98283eb11e66dccc2 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/hppa/Gget_proc_info-hppa.c -> src/hppa/Gget_proc_info.c

(Logical change 1.241)
ppa/Gget_proc_info.c
02d41121385d1a92e5b104beb4a4cbade755ffef 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/global-dwarf.c -> src/dwarf/global.c

}(Logical change 1.241)
warf/global-dwarf.c
08d29fd0ab40e96699972e14cb002ca5097414df 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/global-dwarf.c -> src/dwarf/global.c

(Logical change 1.241)
warf/global.c
16213e984675c13a006a1c223f24d0a39e58725a 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/Gstep-dwarf.c -> src/dwarf/Gstep.c

}(Logical change 1.241)
warf/Gstep-dwarf.c
6037c78f41398b083b38333bb83349590d2445a2 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/Gstep-dwarf.c -> src/dwarf/Gstep.c

(Logical change 1.241)
warf/Gstep.c
e3066cb69a6bbb3c8033e3348b8ae84af8fdd966 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/Gpe-dwarf.c -> src/dwarf/Gpe.c

}(Logical change 1.241)
warf/Gpe-dwarf.c
fa5c508536f6d6c1c08d4a24b7f58932f037d8fa 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/Gpe-dwarf.c -> src/dwarf/Gpe.c

(Logical change 1.241)
warf/Gpe.c
9636cfef38a77e3300898d953b7832917aedbd86 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/Gparser-dwarf.c -> src/dwarf/Gparser.c

}(Logical change 1.241)
warf/Gparser-dwarf.c
88160e0f66447d25bdc4cd0024912e08175b4f58 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/Gparser-dwarf.c -> src/dwarf/Gparser.c

(Logical change 1.241)
warf/Gparser.c
91c9e6a384d208c8b4505836cbc18b4e57af2cab 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/Gfde-dwarf.c -> src/dwarf/Gfde.c

}(Logical change 1.241)
warf/Gfde-dwarf.c
32f3a1e58f48d6ec811f54dedf74eb4b17ae4e2c 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/Gfde-dwarf.c -> src/dwarf/Gfde.c

(Logical change 1.241)
warf/Gfde.c
c7d65772a764871bc753b83c2ae07f48f3c28871 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/Gexpr-dwarf.c -> src/dwarf/Gexpr.c

}(Logical change 1.241)
warf/Gexpr-dwarf.c
b79f7d142429515e3bb0b57f02890584e7eca979 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/dwarf/Gexpr-dwarf.c -> src/dwarf/Gexpr.c

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

}(Logical change 1.241)
warf/Lexpr-dwarf.c
warf/Lfde-dwarf.c
warf/Lparser-dwarf.c
warf/Lpe-dwarf.c
warf/Lstep-dwarf.c
ppa/Lget_proc_info-hppa.c
ppa/Lget_proc_name-hppa.c
ppa/Lget_reg-hppa.c
ppa/Linit-hppa.c
ppa/Linit_local-hppa.c
ppa/Lregs-hppa.c
ppa/Lstep-hppa.c
a64/Lcreate_addr_space-ia64.c
a64/Lget_proc_info-ia64.c
a64/Lget_save_loc-ia64.c
a64/Lglobal-ia64.c
a64/Linit-ia64.c
a64/Linit_local-ia64.c
a64/Linit_remote-ia64.c
a64/Linstall_cursor-ia64.S
a64/Lis_signal_frame-ia64.c
a64/Lparser-ia64.c
a64/Lrbs-ia64.c
a64/Lregs-ia64.c
a64/Lresume-ia64.c
a64/Lscript-ia64.c
a64/Lstep-ia64.c
a64/Ltables-ia64.c
a64/mk_Lcursor_i-ia64.c
86/Lcreate_addr_space-x86.c
86/Lget_proc_info-x86.c
86/Lget_save_loc-x86.c
86/Lglobal-x86.c
86/Linit-x86.c
86/Linit_local-x86.c
86/Linit_remote-x86.c
86/Lis_signal_frame-x86.c
86/Lregs-x86.c
86/Lresume-x86.c
86/Lstep-x86.c
a6f1cc65d05fc0c3dce20f7eb85f1019b59094d8 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Lstep-hppa.c -> src/hppa/Lstep.c

(Logical change 1.241)
ppa/Lstep.c
66130275c30e887c0435d1914e3664eef45a60e4 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Lregs-hppa.c -> src/hppa/Lregs.c

(Logical change 1.241)
ppa/Lregs.c
b069a0ae1f856a5a93379c5a0d3895610068ac89 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Linit_local-hppa.c -> src/hppa/Linit_local.c

(Logical change 1.241)
ppa/Linit_local.c
41eb8f8200b28df9245210229def43f8a644114f 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Linit-hppa.c -> src/hppa/Linit.c

(Logical change 1.241)
ppa/Linit.c
119430e217b38721bd64bd630ff9910838b016e7 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Lget_reg-hppa.c -> src/hppa/Lget_reg.c

(Logical change 1.241)
ppa/Lget_reg.c
87347e70b6921e6a5ea65a50269462044f2824d0 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Lget_proc_name-hppa.c -> src/hppa/Lget_proc_name.c

(Logical change 1.241)
ppa/Lget_proc_name.c
ddd63e2b0545cde6a9d597c5918406480b38bf68 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:36:42+02:00 homeip.net!davidm
Rename: src/hppa/Lget_proc_info-hppa.c -> src/hppa/Lget_proc_info.c

(Logical change 1.241)
ppa/Lget_proc_info.c
7e7c187712526f01bf0041822cfdfa6f8423436e 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lstep-dwarf.c -> src/dwarf/Lstep.c

(Logical change 1.241)
warf/Lstep.c
a26c1196b8aafa47b654d85cae50b80059885ae0 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lpe-dwarf.c -> src/dwarf/Lpe.c

(Logical change 1.241)
warf/Lpe.c
9084efe60a7014619a9a8dafd8aec35f11b035e7 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lparser-dwarf.c -> src/dwarf/Lparser.c

(Logical change 1.241)
warf/Lparser.c
65c3977dbd197360503363071ac04f0ea6783ee8 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lfde-dwarf.c -> src/dwarf/Lfde.c

(Logical change 1.241)
warf/Lfde.c
c7957fa943c7a0da234c07a14d03c21115658a17 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lexpr-dwarf.c -> src/dwarf/Lexpr.c

(Logical change 1.241)
warf/Lexpr.c
07d87a5e7d20473c9b490e2f5013964e32701eb0 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Lstep-x86.c -> src/x86/Lstep.c

(Logical change 1.241)
86/Lstep.c
185e9e4c92df5e0dfdf39f255062707d923f68a4 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Lresume-x86.c -> src/x86/Lresume.c

(Logical change 1.241)
86/Lresume.c
84472b4ae4cda694d030fdd86b3d28e362ea8388 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Lregs-x86.c -> src/x86/Lregs.c

(Logical change 1.241)
86/Lregs.c
be5949c45230cf5582559132b13e7567b30460b7 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Lis_signal_frame-x86.c -> src/x86/Lis_signal_frame.c

(Logical change 1.241)
86/Lis_signal_frame.c
244a6fe69277db8837bcd27bd2d20c423795d326 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Linit_remote-x86.c -> src/x86/Linit_remote.c

(Logical change 1.241)
86/Linit_remote.c
3613478b71318106b47b7b1af01fafb77102c016 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Linit_local-x86.c -> src/x86/Linit_local.c

(Logical change 1.241)
86/Linit_local.c
b8760cad51baea3d807a7c2a341635f514d4f5df 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:23+02:00 homeip.net!davidm
Rename: src/x86/Linit-x86.c -> src/x86/Linit.c

(Logical change 1.241)
86/Linit.c
531becfa784aa54ce5a32f1a56559574c02f3642 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:22+02:00 homeip.net!davidm
Rename: src/x86/Lglobal-x86.c -> src/x86/Lglobal.c

(Logical change 1.241)
86/Lglobal.c
7e7e51f7635d38f09ba489acf3bda1eab388a4e9 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:22+02:00 homeip.net!davidm
Rename: src/x86/Lget_save_loc-x86.c -> src/x86/Lget_save_loc.c

(Logical change 1.241)
86/Lget_save_loc.c
72dcdc54f2d4492f518547bbc3a6736a86e50a08 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:22+02:00 homeip.net!davidm
Rename: src/x86/Lget_proc_info-x86.c -> src/x86/Lget_proc_info.c

(Logical change 1.241)
86/Lget_proc_info.c
0974d952fbd694bea56ddeab9c50de218e49ff95 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

2004/08/17 16:32:22+02:00 homeip.net!davidm
Rename: src/x86/Lcreate_addr_space-x86.c -> src/x86/Lcreate_addr_space.c

(Logical change 1.241)
86/Lcreate_addr_space.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)
a64/Linstall_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)
a64/mk_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)
a64/Ltables.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)
a64/Lstep.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)
a64/Lscript.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)
a64/Lresume.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)
a64/Lregs.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)
a64/Lrbs.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)
a64/Lparser.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)
a64/Lis_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)
a64/Linit_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)
a64/Linit_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)
a64/Linit.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)
a64/Lglobal.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)
a64/Lget_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)
a64/Lget_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)
a64/Lcreate_addr_space.c
34fa122ac275313047399baeb7adf832e24e44f1 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.241)
akefile.in
bf2c4541d9b74a37726a23e6a93ca2f60cdef273 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Drop -FOO postfix now that we no longer need unique filenames across all directories.

(Logical change 1.241)
akefile.am
3f9d2e9c5c1cfde324c08204259b65f74b2746a1 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Initial revision
warf/Gexpr.c
warf/Gfde.c
warf/Gparser.c
warf/Gpe.c
warf/Gstep.c
warf/Lexpr.c
warf/Lfde.c
warf/Lparser.c
warf/Lpe.c
warf/Lstep.c
warf/global.c
ppa/Gget_proc_info.c
ppa/Gget_proc_name.c
ppa/Gget_reg.c
ppa/Ginit.c
ppa/Ginit_local.c
ppa/Gregs.c
ppa/Gstep.c
ppa/Lget_proc_info.c
ppa/Lget_proc_name.c
ppa/Lget_reg.c
ppa/Linit.c
ppa/Linit_local.c
ppa/Lregs.c
ppa/Lstep.c
ppa/get_accessors.c
ppa/global.c
ppa/siglongjmp.S
ppa/tables.c
a64/Gglobal.c
a64/Grbs.c
a64/Gtables.c
a64/Lglobal.c
a64/Lrbs.c
a64/Ltables.c
a64/dyn_info_list.S
a64/getcontext.S
a64/mk_Gcursor_i.c
a64/mk_Lcursor_i.c
a64/regname.c
a64/setjmp.S
a64/siglongjmp.S
a64/sigsetjmp.S
86/Gcreate_addr_space.c
86/Gget_proc_info.c
86/Gget_save_loc.c
86/Gglobal.c
86/Ginit.c
86/Ginit_local.c
86/Ginit_remote.c
86/Gis_signal_frame.c
86/Gregs.c
86/Gresume.c
86/Gstep.c
86/Lcreate_addr_space.c
86/Lget_proc_info.c
86/Lget_save_loc.c
86/Lglobal.c
86/Linit.c
86/Linit_local.c
86/Linit_remote.c
86/Lis_signal_frame.c
86/Lregs.c
86/Lresume.c
86/Lstep.c
86/is_fpreg.c
86/regname.c
86/siglongjmp.S
16230294973478ce572122dc05015580b400d5e0 15-Jul-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.239)
akefile.in
6c61288b9c5b3c967937d9ab12113bc7e368e433 29-Jun-2004 hp.com!davidm <hp.com!davidm> (scan_dec): Don't skip over a character unless it's really a digit.
(scan_char): Don't skip over NUL terminator.

(Logical change 1.238)
s-linux.h
c4d1854621d1e4b2cbf31a497cfda44358273ba0 19-Jun-2004 hp.com!davidm <hp.com!davidm> (get_list_addrr): Don't forget to call maps_close() on error-return.

(Logical change 1.237)
trace/_UPT_get_dyn_info_list_addr.c
3fd2b8adfad1cbd7b9524af041ac276163ac74ec 12-May-2004 hp.com!davidm <hp.com!davidm> (get_kernel_table): Change %Zu to %zu.

(Logical change 1.236)
a64/Gtables-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)
a64/Gtables-ia64.c
759275ac87246485697627a1400c0bba983d9663 07-May-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.233)
akefile.in
5ccc669fa7e3ed39075c5c20a20fdf5186d3ad6e 07-May-2004 hp.com!davidm <hp.com!davidm> (tdep_uc_addr): Declare as HIDDEN. Initialize find_proc_info with
dwarf_find_proc_info, not tdep_find_proc_info.

(Logical change 1.233)
86/Ginit-x86.c
051da9c0b674ad5e7ec2be2d862fafd030dc5f87 07-May-2004 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_local): Mention libunwind_la_SOURCES_os_local.
(libunwind_la_SOURCES_os_linux_local): New macro.
(libunwind_la_SOURCES_os_local): New macro.
(EXTRA_DIST): Mention libunwind_{hppa,ia64,x86}_la_SOURCES_{hppa,ia64,x86}.

(Logical change 1.233)
akefile.am
14a264e044abc9e9471bec994e54f7e05380372b 07-May-2004 hp.com!davidm <hp.com!davidm> (get_list_addr): Add an empty implementation of unsupported platforms.

(Logical change 1.233)
trace/_UPT_get_dyn_info_list_addr.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)
a64/Gscript-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)
a64/Gregs-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)
a64/Gglobal-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)
a64/unwind_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)
a64/Ginit-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)
a64/unwind_i.h
7b989938b7fd555ef4bfb6831652ff5b25d9aaad 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.227)
akefile.in
c0f7c6f78a243953cd625a3a8a586caf46c8a014 05-May-2004 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_ia64_os): New macro defined only if OS_LINUX.
(libunwind_la_SOURCES_ia64): Move _ReadULEB.c/_ReadSLEB.c to above
macro.

(Logical change 1.227)
akefile.am
542e026ae444a205c1b14b156131eb0959a66a18 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.225)
akefile.in
09ba7e9440b990a1abb53860e812475da78cb966 05-May-2004 mostang.com!davidm <mostang.com!davidm> (unw_step): If dwarf_step() returns -UNW_ESTOPUNWIND, take that
as a hard signal that we should stop unwinding. This
fixes tests/test_proc_info.

(Logical change 1.224)
86/Gstep-x86.c
8241bb15a8ae2484d05238176284c5bed56eed24 05-May-2004 mostang.com!davidm <mostang.com!davidm> (struct table_entry): Move declrataion outside of !UNW_REMOTE_ONLY
bracket so the file compiles for UNW_REMOTE_ONLY, too.

(Logical change 1.224)
warf/Gfind_proc_info-lsb.c
8fd300ae6678b8c9f142be29e80760283096b758 05-May-2004 mostang.com!davidm <mostang.com!davidm> (fetch_proc_info): Call tdep_find_proc_info() instead of
dwarf_find_proc_info() so that the remote-case works, too.

(Logical change 1.224)
warf/Gparser-dwarf.c
2cc4674137a5e30f60d8d2fd304eed3de97b9da9 05-May-2004 mostang.com!davidm <mostang.com!davidm> Add forgotten copyright notice.

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

}(Logical change 1.221)
a64/rse.h
0ef8414cd9fa9d95ef89e74574749e5292ea124d 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

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

(Logical change 1.221)
a64/Gget_save_loc-ia64.c
a64/unwind_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)
a64/Ginit_local-ia64.c
a64/Ginit_remote-ia64.c
a64/Gregs-ia64.c
a64/Gresume-ia64.c
a64/Gscript-ia64.c
a64/Gstep-ia64.c
c47cf6a3104804932077e23a216dd3ff1a66c684 05-May-2004 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_ia64_common): Remove ia64/rse.h.

(Logical change 1.221)
akefile.am
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)
a64/Ginit_local-ia64.c
6c50e90402ef3d5ecbd3a406d41f8a25a5f7288f 04-May-2004 mostang.com!davidm <mostang.com!davidm> (remote_install_cursor): Tidy up #endif comment.

(Logical change 1.219)
a64/Gresume-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)
a64/Gtables-ia64.c
f8bc3b80d193a9d88793fb38c0062ae4df74d311 28-Apr-2004 mostang.com!davidm <mostang.com!davidm> (get_list_addr): New function.
(_UPT_get_dyn_info_list_addr): Factor platform-specific code into
separate inline-function. Enable that code for ia64 linux
only (e.g., on HP-UX it needs to use dlmodinfo()).

(Logical change 1.218)
trace/_UPT_get_dyn_info_list_addr.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)
a64/Ginit-ia64.c
75f19903fac01b762b23743837a50fd58a5680c2 28-Apr-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.217)
akefile.in
a8f38fc4dc7923e14e5b7a12df9d03522ddd1ff8 28-Apr-2004 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_ia64): Move comments about
_ReadULEB()/_ReadSLEB() where they don't hurt.

(Logical change 1.217)
akefile.am
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)
a64/Gscript-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)
a64/unwind_i.h
58badbb3393efc20f87a0ca462c5ba463eb3e8ba 23-Apr-2004 mostang.com!davidm <mostang.com!davidm> (add_memory): Rephrase for-loop conditional to avoid bug in Intel-compiler
which gets triggered with -O3 -ip.

(Logical change 1.212)
i/mempool.c
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)
a64/Ginstall_cursor-ia64.S
2f210753bd631692bd93f4d0a90e9195424075b9 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (maps_init): Correct initialization of mi->buf.
(maps_close): Don't forget to unmap mi->buf if it's non-NULL.

(Logical change 1.209)
s-linux.h
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)
a64/Gscript-ia64.c
c2b94e1e465dd9e84c03bbbd0f30328baede1ebd 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (common_init): Whitespace fix.

(Logical change 1.209)
a64/init.h
5de4b351e7624889db611e10dd3034e0176db5ee 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (struct map_iterator): Add members "buf_size", "buf", and "buf_end".
(maps_init): Try to mmap() a one-page buffer and, if successful,
initialize the new map_iterator members based on it.
(maps_next): If the one-page buffer is available, use it to read
/proc/PID/maps. This avoids expensive lseek() calls which,
in the case of /proc lead to T(n) = O(n^2) behavior.

(Logical change 1.208)
s-linux.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)
a64/Gglobal-ia64.c
db24e76397e4466a08e45104a0ac763b1e44b899 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (mi_init): Use assertion instead of relying on compiler-optimization
to verify that unw_cursor_t is big enough to contain a
cursor.

(Logical change 1.207)
i/init.c
2de1768e5207824550299a0d888f76e4bf653d8a 20-Apr-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.205)
akefile.in
36c7442db32c9c9d37fc4bb5999623a2fd443a0b 20-Apr-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.205)
i/_ReadSLEB.c
i/_ReadULEB.c
662957d58507531c09e104c5637351b1b3be319c 20-Apr-2004 hp.com!davidm <hp.com!davidm> Initial revision
i/_ReadSLEB.c
i/_ReadULEB.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)
a64/Gtables-ia64.c
36e094230c6f77913bb8b4dd5522e7fe63ba9920 20-Apr-2004 hp.com!davidm <hp.com!davidm> (intern_string): Cast buf-pointer to int8_t* to shut up Intel
compiler warning.

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

(Logical change 1.205)
akefile.am
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)
a64/Gtables-ia64.c
d3fad3af128215bbf3b39b289ff396a2126a12b1 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> (dwarf_find_proc_info): Mask signal-delivery during dl_iterate_phdr().

(Logical change 1.203)
warf/Gfind_proc_info-lsb.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)
a64/Gparser-ia64.c
df77cf1ad7c4791f8c903643a5c8cbfe97d25a7f 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (tdep_get_elf_image): Pass sizeof buffer to maps_next().

(Logical change 1.199)
s-linux.c
64c702cea7c2de53ff1ff93dfe76e065036b4e3e 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (ltoa): New inline function.
(skip_whitespace): Likewise.
(scan_hex): Likewise.
(scan_dec): Likewise.
(scan_char): Likewise.
(scan_string): Likewise.
(maps_init): Avoid stdio operations since they're not async-signal
safe.
(maps_next): Likewise.
(maps_close): Likewise.

(Logical change 1.199)
s-linux.h
fe9d715071c9844675ca07379cb98d48b3489524 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (get_proc_name): Minor whitespace fixes.

(Logical change 1.199)
i/Gget_proc_name.c
18222990f23c45b8069e86ea5151eb4ec4dad465 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (_UPT_get_dyn_info_list_addr): Pass size of path to maps_next().

(Logical change 1.199)
trace/_UPT_get_dyn_info_list_addr.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)
a64/getcontext-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)
a64/getcontext-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)
a64/ucontext_i.h
4e9c3fb503b8a923ee7201d8bba7f4a8058c5a83 30-Mar-2004 hp.com!davidm <hp.com!davidm> Rename: src/backtrace.c -> src/mi/backtrace.c

}(Logical change 1.192)
acktrace.c
14e36a6a516875be61e02206c81c08a8750f340f 30-Mar-2004 hp.com!davidm <hp.com!davidm> Rename: src/backtrace.c -> src/mi/backtrace.c

(Logical change 1.192)
i/backtrace.c
5fa489ba062208ac26e8546543b7a7df277005c8 30-Mar-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.192)
akefile.in
3a95b3c641b88aed3a705c1955d79d9c5ef4999b 30-Mar-2004 hp.com!davidm <hp.com!davidm> Initial revision
i/backtrace.c
a50c7801bd2eb19c524124f757d520bbaf992a48 30-Mar-2004 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_local): Mention mi/backtrace.c.

(Logical change 1.192)
akefile.am
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)
a64/getcontext-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)
a64/getcontext-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)
a64/Gtables-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)
a64/Gtables-ia64.c
2a302e5148913d4795a535ebc6325e23722adf66 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.186)
akefile.in
89b3ee87a9c001f94d01f5851d0b80d7e49081bb 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.186)
a64/getcontext-ia64.S
412615853d8459e8223c6269b70470da2402fc07 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/getcontext-ia64.S
70b89e24f3891e289a7e74590c840657506962d9 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (uc_addr): Move to unwind_i.h.

(Logical change 1.186)
a64/Ginit-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)
a64/Gparser-ia64.c
0c923f12b00adfa723a07b263620660101ea81de 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_ia64): Mention getcontext-ia64.S.

(Logical change 1.186)
akefile.am
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)
a64/unwind_i.h
bd286e3260d668e68b614e2268b4de19d1191a8c 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (ia64_install_cursor): Correct NEW_SYSCALL-stub.

(Logical change 1.186)
a64/Ginstall_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)
a64/init.h
fc7cd7c4bc94945fdc0614079368e99df53898bd 20-Mar-2004 hp.com!davidm <hp.com!davidm> Whitespace fix.

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

(Logical change 1.183)
a64/regs.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)
a64/Gregs-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)
a64/Gis_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)
a64/Gparser-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)
a64/Gget_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)
a64/Ginit-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)
a64/Gresume-ia64.c
41db5ace19de630f941d0b25d3554700501a3ffc 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (rbs_find): Delete---it's no longer needed.

(Logical change 1.181)
a64/Grbs-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)
a64/Gregs-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)
a64/Gscript-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)
a64/init.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)
a64/unwind_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)
a64/unwind_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)
a64/Gscript-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)
a64/Gregs-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)
a64/Gglobal-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)
a64/Gscript-ia64.c
84109794bd0786cbbec44dd13d7283cfa2652687 19-Feb-2004 mostang.com!davidm <mostang.com!davidm> (_UPT_access_mem): Fix typo in Debug() macro calls.

(Logical change 1.174)
trace/_UPT_access_mem.c
8b96f6ef110e7c0c370c869180e2398a06e549fb 19-Feb-2004 hp.com!davidm <hp.com!davidm> (rbs_find): New function.

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

(Logical change 1.173)
a64/unwind_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)
a64/Gregs-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)
a64/Gscript-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)
a64/Ginit-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)
a64/Gscript-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)
a64/Gscript-ia64.c
9468bda47abe1070cfd41dc9ef6af90e695ba156 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> (unw_step): Add Debug() statement.

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

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

(Logical change 1.166)
a64/Ginit_local-ia64.c
3d594c588f2e22d0bb600f29d5a85855345f0765 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.165)
akefile.in
6fef2ace655d79f1fed0e149358576ba50aab7bb 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> Fix typo: ia64/Lcreate_addr_space-ia64 was missing ".c".

(Logical change 1.165)
akefile.am
518e5bde6c86e3615dcc3e91cf5fe1a327e9c685 14-Feb-2004 hp.com!davidm <hp.com!davidm> Regenerate.

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

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

}(Logical change 1.162)
dyn-remote.c
get_proc_name.c
UPT_access_mem.c
UPT_access_reg.c
UPT_find_proc_info.c
UPT_get_dyn_info_list_addr.c
Unwind_RaiseException.c
a64/Gdestroy_addr_space-ia64.c
a64/Gget_accessors-ia64.c
a64/Gset_caching_policy-ia64.c
86/Gget_reg-x86.c
86/Gset_reg-x86.c
a758c420e1270273600d9435c9d4e28087dc70d4 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/28 13:40:40-08:00 hp.com!davidm
Rename: src/mi/Gset_caching_policy-ia64.c -> src/mi/Gset_caching_policy.c

(Logical change 1.162)
i/Gset_caching_policy.c
a58ab0d85c082105bcc3db4515a5f008f615f285 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/28 13:40:33-08:00 hp.com!davidm
Rename: src/mi/Gget_accessors-ia64.c -> src/mi/Gget_accessors.c

(Logical change 1.162)
i/Gget_accessors.c
d3ff45603da7c23199e905088ced02cf5ebe0aa5 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:53:17-08:00 hp.com!davidm
Rename: src/_Unwind_RaiseException.c -> src/unwind/RaiseException.c

(Logical change 1.162)
nwind/RaiseException.c
4c9772769b6298b03ea65cb595150472b6b0fd92 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:49:09-08:00 hp.com!davidm
Rename: src/_UPT_get_dyn_info_list_addr.c -> src/ptrace/_UPT_get_dyn_info_list_addr.c

(Logical change 1.162)
trace/_UPT_get_dyn_info_list_addr.c
26465f4a7ddbe7a219e27d6348a91282ad22441d 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:49:09-08:00 hp.com!davidm
Rename: src/_UPT_find_proc_info.c -> src/ptrace/_UPT_find_proc_info.c

(Logical change 1.162)
trace/_UPT_find_proc_info.c
c5a37d6efcfd45d0f68edca1bbc8f51556f69d92 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:49:09-08:00 hp.com!davidm
Rename: src/_UPT_access_reg.c -> src/ptrace/_UPT_access_reg.c

(Logical change 1.162)
trace/_UPT_access_reg.c
3152b04bb4d4962ee611a885be76d2443f478688 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:49:09-08:00 hp.com!davidm
Rename: src/_UPT_access_mem.c -> src/ptrace/_UPT_access_mem.c

(Logical change 1.162)
trace/_UPT_access_mem.c
c93b3e827ebf4d5e7d7a8232ed5373a2eb884ad0 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:46:30-08:00 hp.com!davidm
Rename: src/Gget_proc_name.c -> src/mi/Gget_proc_name.c

(Logical change 1.162)
i/Gget_proc_name.c
e11aa4383c8f0df359cc9c631f4383153f529a27 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:45:56-08:00 hp.com!davidm
Rename: src/Gdyn-remote.c -> src/mi/Gdyn-remote.c

(Logical change 1.162)
i/Gdyn-remote.c
16df64ba9e68ef2062657e8d3ad185258a091054 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:43:47-08:00 hp.com!davidm
Rename: src/mi/Gset_reg-mi.c -> src/mi/Gset_reg.c

(Logical change 1.162)
i/Gset_reg.c
78999cc06737ebac6c298bcf805b66a219ee0d7a 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:43:27-08:00 hp.com!davidm
Rename: src/mi/Gget_reg-mi.c -> src/mi/Gget_reg.c

(Logical change 1.162)
i/Gget_reg.c
388f60fd02dbc97c9700089d8e259cd3111dbd49 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

2004/01/27 21:43:03-08:00 hp.com!davidm
Rename: src/mi/Gdestroy_addr_space-mi.c -> src/mi/Gdestroy_addr_space.c

(Logical change 1.162)
i/Gdestroy_addr_space.c
fcd8dad37efa05fd6090a68fe24b66a0ca7856ee 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

(Logical change 1.162)
86/Ginit-x86.c
86/Ginit_local-x86.c
86/Ginit_remote-x86.c
86/offsets.h
86/unwind_i.h
f913dd3bd175c595c3d99830a172c87a67ef6e74 30-Jan-2004 hp.com!davidm <hp.com!davidm> Start to implement it for real.

(Logical change 1.162)
86/Gresume-x86.c
86/Gstep-x86.c
9b332c60926c5e638624414f832a68841137c863 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/mi-init.c -> src/mi/init.c

}(Logical change 1.162)
i-init.c
cf69b9cb0d055a068ababeed3ba7b55744205706 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/mi-init.c -> src/mi/init.c

(Logical change 1.162)
i/init.c
2294f59b466070893f415da87cead18f8e2d47b2 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/mempool.c -> src/mi/mempool.c

}(Logical change 1.162)
empool.c
65a70e7f88f0bc0b428605a68f21e6eeb5c28804 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/mempool.c -> src/mi/mempool.c

(Logical change 1.162)
i/mempool.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)
a64/flush_cache-ia64.c
1250eefc3beac60d676f38be1c2dacb698d79e4d 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)
i/flush_cache.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)
a64/Linstall_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)
a64/Linstall_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)
a64/Ginstall_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)
a64/Ginstall_cursor-ia64.S
622400b4d514a872f9f3c79d70a2d35c0da3d906 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/dyn-register.c -> src/mi/dyn-register.c

}(Logical change 1.162)
yn-register.c
3019e19bd70fa345c24eb1158676f4d066ee4f62 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/dyn-register.c -> src/mi/dyn-register.c

(Logical change 1.162)
i/dyn-register.c
5c5073c03c255c8f5f2add9244185d42a7bd578f 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/dyn-info-list.c -> src/mi/dyn-info-list.c

}(Logical change 1.162)
yn-info-list.c
fb86625d3ea6fae8c68a80ae1dbc69370af731b4 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/dyn-info-list.c -> src/mi/dyn-info-list.c

(Logical change 1.162)
i/dyn-info-list.c
39953d2f7a94c1da1b662c24aed09535f476a5e9 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/dyn-cancel.c -> src/mi/dyn-cancel.c

}(Logical change 1.162)
yn-cancel.c
c4bff72d9c5ea3b71973f3240463bf47751ea423 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/dyn-cancel.c -> src/mi/dyn-cancel.c

(Logical change 1.162)
i/dyn-cancel.c
4e11cd1fcdb9aa48f3df0100409d1f77cdd9a3c8 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_SetIP.c -> src/unwind/SetIP.c

}(Logical change 1.162)
Unwind_SetIP.c
145780c43d6ea0e786e0f32991a1d7ee5efa0125 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_SetIP.c -> src/unwind/SetIP.c

(Logical change 1.162)
nwind/SetIP.c
6c7896301782d433555e0e7dad2fc7167b367e6d 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_SetGR.c -> src/unwind/SetGR.c

}(Logical change 1.162)
Unwind_SetGR.c
c8398ed9e262f16c125ef9831239fa8bb1dbed3d 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_SetGR.c -> src/unwind/SetGR.c

(Logical change 1.162)
nwind/SetGR.c
aad7cda5bd7cbd31ab1148fb053784de97e2eb61 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_Resume_or_Rethrow.c -> src/unwind/Resume_or_Rethrow.c

}(Logical change 1.162)
Unwind_Resume_or_Rethrow.c
c130a12b8137c9622a95f7ff041d08351788bd96 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_Resume_or_Rethrow.c -> src/unwind/Resume_or_Rethrow.c

(Logical change 1.162)
nwind/Resume_or_Rethrow.c
e92ab168ceb8b8bd85a702a4a80c1cf5b133d1a8 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_Resume.c -> src/unwind/Resume.c

}(Logical change 1.162)
Unwind_Resume.c
8848501cfe2a5965509b6bd8cd616d8abd356283 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_Resume.c -> src/unwind/Resume.c

(Logical change 1.162)
nwind/Resume.c
7e0027059fb5e6bbbc313685947ca78d8f204891 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetTextRelBase.c -> src/unwind/GetTextRelBase.c

}(Logical change 1.162)
Unwind_GetTextRelBase.c
d56ed290929eac5b353c5d176949a9386cce7e8a 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetTextRelBase.c -> src/unwind/GetTextRelBase.c

(Logical change 1.162)
nwind/GetTextRelBase.c
239ee2a25f8af7a9950e22cd117efd6fe6cc590b 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetRegionStart.c -> src/unwind/GetRegionStart.c

}(Logical change 1.162)
Unwind_GetRegionStart.c
8eb12c5fb6c82cee7835d288d6cfd22224a47ba5 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetRegionStart.c -> src/unwind/GetRegionStart.c

(Logical change 1.162)
nwind/GetRegionStart.c
9cf30636309b975ebffa98e2acfd26fe1aaaed00 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetLanguageSpecificData.c -> src/unwind/GetLanguageSpecificData.c

}(Logical change 1.162)
Unwind_GetLanguageSpecificData.c
d1d9993644050d7d85874ad64a02b1d351bcba5b 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetLanguageSpecificData.c -> src/unwind/GetLanguageSpecificData.c

(Logical change 1.162)
nwind/GetLanguageSpecificData.c
62c9f1445ab28373e149a8c0733c2fde9fe1d21e 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetIP.c -> src/unwind/GetIP.c

}(Logical change 1.162)
Unwind_GetIP.c
cf412503c8fc501401f3cdbe0a0435c3b432a5fd 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetIP.c -> src/unwind/GetIP.c

(Logical change 1.162)
nwind/GetIP.c
54830b31414774e4f3428aeb0e9a7d88fb2f36a2 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetGR.c -> src/unwind/GetGR.c

}(Logical change 1.162)
Unwind_GetGR.c
1c48af2deaf83963a25e12d6531a6cd82bdcf399 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetGR.c -> src/unwind/GetGR.c

(Logical change 1.162)
nwind/GetGR.c
00c9df87d51978fe1cdb5cae51dfd923efacd116 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetDataRelBase.c -> src/unwind/GetDataRelBase.c

}(Logical change 1.162)
Unwind_GetDataRelBase.c
9c8d4be2ec3ffa38a9fabaec6e4b76dc2e6cb262 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetDataRelBase.c -> src/unwind/GetDataRelBase.c

(Logical change 1.162)
nwind/GetDataRelBase.c
caa30373bf49f589d0d4bb5960b493f13e511e04 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetCFA.c -> src/unwind/GetCFA.c

}(Logical change 1.162)
Unwind_GetCFA.c
2c878f2cf99de30f8f4937cd02195eadfe2bd943 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetCFA.c -> src/unwind/GetCFA.c

(Logical change 1.162)
nwind/GetCFA.c
591107e6347ebd5a89521341d82bf23769dbbc91 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetBSP.c -> src/unwind/GetBSP.c

}(Logical change 1.162)
Unwind_GetBSP.c
9d2496973a43bba44d16f7aa2ec03de4367ff962 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_GetBSP.c -> src/unwind/GetBSP.c

(Logical change 1.162)
nwind/GetBSP.c
53148fe43893ac77888d4eb7b8dcdcb754d46ff3 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_ForcedUnwind.c -> src/unwind/ForcedUnwind.c

}(Logical change 1.162)
Unwind_ForcedUnwind.c
521e8ae52eb278c022fba51874a227ca0425b5a8 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_ForcedUnwind.c -> src/unwind/ForcedUnwind.c

(Logical change 1.162)
nwind/ForcedUnwind.c
e7852a274ca847177e3ab2159555e094cb05ea42 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_FindEnclosingFunction.c -> src/unwind/FindEnclosingFunction.c

}(Logical change 1.162)
Unwind_FindEnclosingFunction.c
ec0b5955f7028fccfaf5b84021dd19331387643c 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_FindEnclosingFunction.c -> src/unwind/FindEnclosingFunction.c

(Logical change 1.162)
nwind/FindEnclosingFunction.c
ea30e7f4fae7f6ee83f6416a6d8314c9ae91e671 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_DeleteException.c -> src/unwind/DeleteException.c

}(Logical change 1.162)
Unwind_DeleteException.c
fe0ce9af05e21793a9e759185eca778b01514ced 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_DeleteException.c -> src/unwind/DeleteException.c

(Logical change 1.162)
nwind/DeleteException.c
9f805f2bd7f3987e4edc7f28cbb14e28ca325f97 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_Backtrace.c -> src/unwind/Backtrace.c

}(Logical change 1.162)
Unwind_Backtrace.c
7c02b9a27a5bc9b1bd31f6fd8365f045fe27d7c6 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_Unwind_Backtrace.c -> src/unwind/Backtrace.c

(Logical change 1.162)
nwind/Backtrace.c
f08b6f77ddca1bcdfab026650380dbef707d2515 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_resume.c -> src/ptrace/_UPT_resume.c

}(Logical change 1.162)
UPT_resume.c
19bda93f0a79a3ab2df39119de5e21072feffba1 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_resume.c -> src/ptrace/_UPT_resume.c

(Logical change 1.162)
trace/_UPT_resume.c
1bcaf93d534daadf79968b020e0ae1d1d3b6919f 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_reg_offset.c -> src/ptrace/_UPT_reg_offset.c

}(Logical change 1.162)
UPT_reg_offset.c
46c0a3043e38a402c7d21bfad2ae08c6d889e194 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_reg_offset.c -> src/ptrace/_UPT_reg_offset.c

(Logical change 1.162)
trace/_UPT_reg_offset.c
873d1f1ee9ce50b663241ac0a65a6fe915cf443a 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_put_unwind_info.c -> src/ptrace/_UPT_put_unwind_info.c

}(Logical change 1.162)
UPT_put_unwind_info.c
95f6295191fd1c2cc0457418c0085ffcd510269f 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_put_unwind_info.c -> src/ptrace/_UPT_put_unwind_info.c

(Logical change 1.162)
trace/_UPT_put_unwind_info.c
a5adbf5581a3d0f8a1659dbff15fdabe6f3ed8c9 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_internal.h -> src/ptrace/_UPT_internal.h

}(Logical change 1.162)
UPT_internal.h
16583d8ff6a1b968ce23633f8eb196716ac69fa8 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_internal.h -> src/ptrace/_UPT_internal.h

(Logical change 1.162)
trace/_UPT_internal.h
4f740a19b2d6701de95e0bfb48a625505f010008 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_get_proc_name.c -> src/ptrace/_UPT_get_proc_name.c

}(Logical change 1.162)
UPT_get_proc_name.c
247ee6d4b074f0e175cc5345b9dd7270b1822fe8 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_get_proc_name.c -> src/ptrace/_UPT_get_proc_name.c

(Logical change 1.162)
trace/_UPT_get_proc_name.c
fd3da894fa1d7d1a485c3a8bd9ba5382077242d8 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_destroy.c -> src/ptrace/_UPT_destroy.c

}(Logical change 1.162)
UPT_destroy.c
c76bdb25acb1220caf9a67e4b62671c713868393 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_destroy.c -> src/ptrace/_UPT_destroy.c

(Logical change 1.162)
trace/_UPT_destroy.c
fe20164d01e9bc65b2bf55de87337d4ff09ee7f1 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_create.c -> src/ptrace/_UPT_create.c

}(Logical change 1.162)
UPT_create.c
cbf38e39799545dcbb38c842724a3169e72918e9 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_create.c -> src/ptrace/_UPT_create.c

(Logical change 1.162)
trace/_UPT_create.c
ae428393849985e8da9bf790d6841057344f9c4c 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_accessors.c -> src/ptrace/_UPT_accessors.c

}(Logical change 1.162)
UPT_accessors.c
ac119279542b50e830a9ed56c76fe1dca58d6816 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_accessors.c -> src/ptrace/_UPT_accessors.c

(Logical change 1.162)
trace/_UPT_accessors.c
879b94f617818e8de69fc57d6c6c77187d030b9c 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_access_fpreg.c -> src/ptrace/_UPT_access_fpreg.c

}(Logical change 1.162)
UPT_access_fpreg.c
7246c93bad7e54fe510a20f5559fe17831a0ffb4 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/_UPT_access_fpreg.c -> src/ptrace/_UPT_access_fpreg.c

(Logical change 1.162)
trace/_UPT_access_fpreg.c
70306995cf7782855ca7b738dc60e48d95506bf9 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Lput_dynamic_unwind_info.c -> src/mi/Lput_dynamic_unwind_info.c

}(Logical change 1.162)
put_dynamic_unwind_info.c
a4bf54fa6918da5e9f3d874ffe1c28988db9a436 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Lput_dynamic_unwind_info.c -> src/mi/Lput_dynamic_unwind_info.c

(Logical change 1.162)
i/Lput_dynamic_unwind_info.c
52f663be7e72854e1c036412da270fcf779bb4de 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Lget_proc_name.c -> src/mi/Lget_proc_name.c

}(Logical change 1.162)
get_proc_name.c
994db692ad1710be59be8286951e861eb35a0d98 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Lget_proc_name.c -> src/mi/Lget_proc_name.c

(Logical change 1.162)
i/Lget_proc_name.c
987989d63a4e31971de9a000d70e7103e8cb212b 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Lget_proc_info_by_ip.c -> src/mi/Lget_proc_info_by_ip.c

}(Logical change 1.162)
get_proc_info_by_ip.c
3a89f13d34ec43d51cfdf5062425b01e35330ba7 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Lget_proc_info_by_ip.c -> src/mi/Lget_proc_info_by_ip.c

(Logical change 1.162)
i/Lget_proc_info_by_ip.c
9226bdd7525897ff158d6a2d23d49d03024b3f85 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Lfind_dynamic_proc_info.c -> src/mi/Lfind_dynamic_proc_info.c

}(Logical change 1.162)
find_dynamic_proc_info.c
922009068c300651650aaaff6f70cbd956e47b81 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Lfind_dynamic_proc_info.c -> src/mi/Lfind_dynamic_proc_info.c

(Logical change 1.162)
i/Lfind_dynamic_proc_info.c
143a3f00b32a6982d71227cc4b05b0f239262fea 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Ldyn-extract.c -> src/mi/Ldyn-extract.c

}(Logical change 1.162)
dyn-extract.c
c764d3e915e4c824d515fb7267049e7458969748 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Ldyn-extract.c -> src/mi/Ldyn-extract.c

(Logical change 1.162)
i/Ldyn-extract.c
57b20bfdf232b5c1f308cd052796ed81da22c6e7 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Gput_dynamic_unwind_info.c -> src/mi/Gput_dynamic_unwind_info.c

}(Logical change 1.162)
put_dynamic_unwind_info.c
ca00cf27cf87febef38e1dc5c98f94e335140c54 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Gput_dynamic_unwind_info.c -> src/mi/Gput_dynamic_unwind_info.c

(Logical change 1.162)
i/Gput_dynamic_unwind_info.c
d705e7d79bc0be7857b2096ba7521c935dca5952 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Gget_proc_info_by_ip.c -> src/mi/Gget_proc_info_by_ip.c

}(Logical change 1.162)
get_proc_info_by_ip.c
ba01e0623da971aa1067ceba74b4fc93ba8e22f9 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Gget_proc_info_by_ip.c -> src/mi/Gget_proc_info_by_ip.c

(Logical change 1.162)
i/Gget_proc_info_by_ip.c
e6c21f7e111be16b54b6dc9d4fad176e5018de33 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Gfind_dynamic_proc_info.c -> src/mi/Gfind_dynamic_proc_info.c

}(Logical change 1.162)
find_dynamic_proc_info.c
a30e99da14d8841829ee02af7063d9075a6def0a 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Gfind_dynamic_proc_info.c -> src/mi/Gfind_dynamic_proc_info.c

(Logical change 1.162)
i/Gfind_dynamic_proc_info.c
9f9dcedde1748bf5b5631aa367a665fd1edabf01 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Gdyn-extract.c -> src/mi/Gdyn-extract.c

}(Logical change 1.162)
dyn-extract.c
8482adb47dcdd257027afecd9702a7617b7f964e 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/Gdyn-extract.c -> src/mi/Gdyn-extract.c

(Logical change 1.162)
i/Gdyn-extract.c
88becf1e73929a1a88931c1c55f1316ed6b1bea3 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: BitKeeper/deleted/.del-Gget_proc_name-x86.c~b007d49727921c1 -> src/x86/Gget_proc_name-x86.c

(Logical change 1.162)
86/Gget_proc_name-x86.c
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)
a64/Gget_proc_name-ia64.c
62ce00d5f05d264703a6541d0303c597381ea21f 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename x86_init() to tdep_init().

(Logical change 1.162)
86/Gglobal-x86.c
684f85c8f105d041806dbbae4f061e2471acaaa9 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename ia64_init() to tdep_init().

(Logical change 1.162)
a64/Ginit_local-ia64.c
a64/Ginit_remote-ia64.c
8aee02a8398afd739c31244b370dfad4e2969a77 30-Jan-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.162)
akefile.in
b88369b8314dc8e8fe617184b07527fb34b66f22 30-Jan-2004 hp.com!davidm <hp.com!davidm> Initial revision
a64/Ginstall_cursor-ia64.S
a64/Linstall_cursor-ia64.S
i/Gdestroy_addr_space.c
i/Gdyn-extract.c
i/Gdyn-remote.c
i/Gfind_dynamic_proc_info.c
i/Gget_accessors.c
i/Gget_fpreg.c
i/Gget_proc_info_by_ip.c
i/Gget_proc_name.c
i/Gget_reg.c
i/Gput_dynamic_unwind_info.c
i/Gset_caching_policy.c
i/Gset_fpreg.c
i/Gset_reg.c
i/Ldestroy_addr_space.c
i/Ldyn-extract.c
i/Ldyn-remote.c
i/Lfind_dynamic_proc_info.c
i/Lget_accessors.c
i/Lget_fpreg.c
i/Lget_proc_info_by_ip.c
i/Lget_proc_name.c
i/Lget_reg.c
i/Lput_dynamic_unwind_info.c
i/Lset_caching_policy.c
i/Lset_fpreg.c
i/Lset_reg.c
i/dyn-cancel.c
i/dyn-info-list.c
i/dyn-register.c
i/flush_cache.c
i/init.c
i/mempool.c
trace/_UPT_access_fpreg.c
trace/_UPT_access_mem.c
trace/_UPT_access_reg.c
trace/_UPT_accessors.c
trace/_UPT_create.c
trace/_UPT_destroy.c
trace/_UPT_find_proc_info.c
trace/_UPT_get_dyn_info_list_addr.c
trace/_UPT_get_proc_name.c
trace/_UPT_internal.h
trace/_UPT_put_unwind_info.c
trace/_UPT_reg_offset.c
trace/_UPT_resume.c
nwind/Backtrace.c
nwind/DeleteException.c
nwind/FindEnclosingFunction.c
nwind/ForcedUnwind.c
nwind/GetBSP.c
nwind/GetCFA.c
nwind/GetDataRelBase.c
nwind/GetGR.c
nwind/GetIP.c
nwind/GetLanguageSpecificData.c
nwind/GetRegionStart.c
nwind/GetTextRelBase.c
nwind/RaiseException.c
nwind/Resume.c
nwind/Resume_or_Rethrow.c
nwind/SetGR.c
nwind/SetIP.c
86/Gget_save_loc-x86.c
86/Lget_save_loc-x86.c
3351beeb0b9d8eed523baecc66990b055b58d676 30-Jan-2004 hp.com!davidm <hp.com!davidm> Include "dwarf_i.h" instead of "dwarf.h".

(Logical change 1.162)
warf/Gexpr-dwarf.c
warf/Gfde-dwarf.c
warf/Gparser-dwarf.c
warf/Gpe-dwarf.c
815c101f8242392ff0b38e3f048659c0a317a4cd 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/x86/flush_cache-x86.c

}(Logical change 1.162)
86/flush_cache-x86.c
196357239d005e37c59a3d70c02442f35ae125ec 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/x86/Lset_caching_policy-x86.c

}(Logical change 1.162)
86/Lset_caching_policy-x86.c
2240eea1399bd0e1f0a20225622f8315756a7b12 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/x86/Lget_proc_name-x86.c

}(Logical change 1.162)
86/Lget_proc_name-x86.c
5dee82687dd6c94b9ecefa696c22c3943a3c1c34 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/x86/Lget_accessors-x86.c

}(Logical change 1.162)
86/Lget_accessors-x86.c
2cc74f80b4975167124c162f161fbfb4866b5578 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/x86/Lflush_cache-x86.c

}(Logical change 1.162)
86/Lflush_cache-x86.c
36f4f67b98d27f25045279ffd13b9e40ec1c3b6c 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/x86/Gset_caching_policy-x86.c

}(Logical change 1.162)
86/Gset_caching_policy-x86.c
3435b582016b227551e36bb7f5a25380460bc2d8 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/x86/Gget_accessors-x86.c

}(Logical change 1.162)
86/Gget_accessors-x86.c
cf6c388834c865ae21b0a2377f38f5d9584d3b7e 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/mi/Lset_reg-mi.c

}(Logical change 1.162)
86/Lset_reg-x86.c
dbf6df2f72be6d1f53957e879591052ebb514652 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/mi/Lget_reg-mi.c

}(Logical change 1.162)
86/Lget_reg-x86.c
34c683c33e30a333c25fb7e568b26212f38dad3f 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Lset_reg-ia64.c

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

}(Logical change 1.162)
a64/Lset_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)
a64/Lset_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)
a64/Lget_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)
a64/Lget_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)
a64/Lget_fpreg-ia64.c
5ac1278b51f6135d496aa44f1ffe188aebfcd344 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Lget_accessors-ia64.c

}(Logical change 1.162)
a64/Lget_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)
a64/Ldestroy_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)
a64/Gset_reg-ia64.c
fbab46f5e796a08fd861f43fa251f546b2773a63 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/ia64/Gset_fpreg-ia64.c

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

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

}(Logical change 1.162)
a64/Gget_fpreg-ia64.c
7ec97663cd3b9ab6f2b9cf34843cad5198db2f1e 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/hppa/flush_cache-hppa.c

}(Logical change 1.162)
ppa/flush_cache-hppa.c
9609c37ec66ec10a13b8344d72e971d4da5c36fe 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/debug_level.c

}(Logical change 1.162)
ebug_level.c
c390f0a2eb0cc72a0dd8df616f15b52d0e2b4f66 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/Ldyn-remote.c

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

(Logical change 1.162)
lfxx.c
ppa/Ginit-hppa.c
ppa/Gstep-hppa.c
a64/Ginit-ia64.c
a64/Gparser-ia64.c
a64/Grbs-ia64.c
a64/Gregs-ia64.c
a64/Gresume-ia64.c
a64/Gscript-ia64.c
a64/Gstep-ia64.c
a64/Gtables-ia64.c
a64/init.h
a64/regs.h
a64/unwind_i.h
s-hpux.c
1738b3b637ac9e046958209583942e707d40b50e 30-Jan-2004 hp.com!davidm <hp.com!davidm> Consolidate macros and share more code between different platforms.

(Logical change 1.162)
akefile.am
1cc45697257c5be21f72aa75fca06cce764434e2 30-Jan-2004 hp.com!davidm <hp.com!davidm> Add warning until it's fully implemented.

(Logical change 1.162)
86/siglongjmp-x86.S
f8b49d42221d2250689d79339afc6c8e7bc95658 30-Jan-2004 hp.com!davidm <hp.com!davidm> (tdep_init): Rename from ia64_init().

(Logical change 1.162)
a64/Gglobal-ia64.c
21a24ca2463b4918adba7145237ae18e43fd1c3d 30-Jan-2004 hp.com!davidm <hp.com!davidm> (linux_scratch_loc): New function.
(tdep_access_reg): Rename from x86_access_reg() and fix up some things.
(tdep_access_fpreg): Likewise.

(Logical change 1.162)
86/Gregs-x86.c
21595821bfe3b1a5b353d92104b14812242c58be 30-Jan-2004 hp.com!davidm <hp.com!davidm> (dwarf_search_unwind_table): Declare as PROTECTED, not HIDDEN.

(Logical change 1.162)
warf/Gfind_proc_info-lsb.c
ab847fe68eae15fbd15962cc618135a381dba043 30-Jan-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.162)
i/Gget_fpreg.c
i/Gset_fpreg.c
i/Ldestroy_addr_space.c
i/Ldyn-remote.c
i/Lget_accessors.c
i/Lget_fpreg.c
i/Lget_reg.c
i/Lset_caching_policy.c
i/Lset_fpreg.c
i/Lset_reg.c
86/Gget_save_loc-x86.c
86/Lget_save_loc-x86.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)
a64/Gtables-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)
a64/Gtables-ia64.c
627437ce2d9a8681e4fc9dec8b5f0be448e535c2 22-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/x86/set_caching_policy-x86.c -> src/x86/Gset_caching_policy-x86.c

}(Logical change 1.158)
86/set_caching_policy-x86.c
5dadd8780108fe108efad836b6a02c82cdbb1a29 22-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/x86/set_caching_policy-x86.c -> src/x86/Gset_caching_policy-x86.c

(Logical change 1.158)
86/Gset_caching_policy-x86.c
e384bfac74ce7a5077021168bf8ab1f0548abc1b 22-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/x86/get_accessors-x86.c -> src/x86/Gget_accessors-x86.c

}(Logical change 1.158)
86/get_accessors-x86.c
28eadb2d17bbaed28e16f3301d12aecd3c3784aa 22-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/x86/get_accessors-x86.c -> src/x86/Gget_accessors-x86.c

(Logical change 1.158)
86/Gget_accessors-x86.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)
a64/debug_level-ia64.c
00a4c50626515d7a7ca5195d22664124f684157e 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.c
8358a9d89c7c0abfdc18ea0339e66e46cb01a6db 22-Jan-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.158)
akefile.in
86/Lget_accessors-x86.c
6975b2dcd9d84973e4da0500bf4b89404bb98003 22-Jan-2004 hp.com!davidm <hp.com!davidm> Initial revision
ebug_level.c
86/Gget_accessors-x86.c
86/Gglobal-x86.c
86/Gset_caching_policy-x86.c
86/Lglobal-x86.c
86/Lset_caching_policy-x86.c
36e672b63d0442f14d019a63589ffd8410d4df8e 22-Jan-2004 hp.com!davidm <hp.com!davidm> (unwi_debug_level): Define here.
(mi_init): Replace tdep_debug_level with unwi_debug_level.

(Logical change 1.158)
i-init.c
274289167ac12e6213fa502c2c1e956f4bbd1d61 22-Jan-2004 hp.com!davidm <hp.com!davidm> (unw_is_fpreg): Declare as returning an "int" and fix typo.

(Logical change 1.158)
86/is_fpreg-x86.c
3f5687cbd9d534dd06ca16e049f6cc66dbb51fd3 22-Jan-2004 hp.com!davidm <hp.com!davidm> (tdep_debug_level): Remove.
(x86_init) [!UNW_REMOTE_ONLY]: Simply call x86_local_addr_space_init().

}(Logical change 1.158)
86/global-x86.c
c3a0bd3631976fcb4e0226d981d654561f94e02b 22-Jan-2004 hp.com!davidm <hp.com!davidm> (tdep_debug_level): Remove.
(x86_init) [!UNW_REMOTE_ONLY]: Simply call x86_local_addr_space_init().

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

(Logical change 1.158)
86/Gglobal-x86.c
25b8795a4a55f6b1da272ce808b51010293c696a 22-Jan-2004 hp.com!davidm <hp.com!davidm> (tdep_debug_level): Remove.

(Logical change 1.158)
ppa/global-hppa.c
c5457c1c1b045c5de876c35482955b93e95421c6 22-Jan-2004 hp.com!davidm <hp.com!davidm> (local_find_proc_info): Remove list-pointer argument.
(unwi_find_dynamic_proc_info): Don't pass dyn-info-list address to
local_find_proc_info(). That list-address doesn't exist
for REMOTE_ONLY configurations.

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

(Logical change 1.158)
akefile.am
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)
a64/Gparser-ia64.c
42fafb9371f455b28a837375c452ecdac8861e21 22-Jan-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.158)
86/Lglobal-x86.c
86/Lset_caching_policy-x86.c
5f0eebb2b4e73d8dde579a998939cdfa0b61660d 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
86/is_fpreg-x86.c
40a1558927a7e74acbc6c73a5fc6e58711091136 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Include <libunwind-ptrace.h> instead of <libunwind.h>.

(Logical change 1.156)
UPT_internal.h
4dedcd7c53be7cd4cd4d5ab0a2ac1281ec5110e1 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_x86_common): Mention is_fpreg-x86.c.

(Logical change 1.156)
akefile.am
66e78e1ca3696080ca471bd7c4952de8a9f2a0b5 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.156)
86/is_fpreg-x86.c
afd961b7b081fd18db55f60677012fbfe5afa608 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.155)
akefile.in
ac0c1db22b04d7b1d7ad48aa49fd2fda18109a4c 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (unwi_find_dynamic_proc_info): Fix cast so we actually get the
desired type.

(Logical change 1.155)
find_dynamic_proc_info.c
c62eddaa2f0c48e5202af31ea15a5ca125b5582b 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_ia64_common): Mention debug_level-ia64.c.

(Logical change 1.155)
akefile.am
a432debbe2be69f91e004186379dc83a5b2b9664 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.155)
a64/debug_level-ia64.c
46a75eaddf88c24ba185c8f38058dfb50bdda390 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/debug_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)
a64/regname-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)
a64/flush_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)
a64/Gtables-ia64.c
74dfbb0769eed2dc8a086ffbf96cda1265bb37bc 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (tdep_debug_level): Define.

(Logical change 1.154)
a64/Gglobal-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)
a64/unwind_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)
a64/Ginit-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)
a64/Gparser-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)
a64/init.h
63390c226782a0a694c69dfa9ddb4bcb26779c21 20-Jan-2004 hp.com!davidm <hp.com!davidm> Cleanup file to make it easier to read.

(Logical change 1.153)
find_dynamic_proc_info.c
20a192c2161ba2305a2edac42ae50f20bf0e3d3e 20-Jan-2004 hp.com!davidm <hp.com!davidm> (unwi_dyn_remote_find_proc_info): Drop GENP argument.
(unwi_dyn_validate_cache): New function.

(Logical change 1.153)
dyn-remote.c
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)
a64/Gtables-ia64.c
641b12427d960ba05069560fc44a41e30ad865b5 20-Jan-2004 hp.com!davidm <hp.com!davidm> (ia64_validate_cache): New function.

(Logical change 1.153)
a64/Gscript-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)
a64/init.h
95589da62c3092798bf52e90a43948c61a3f1462 14-Jan-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.152)
akefile.in
a6b0ccf783baa8251121441266115e4665cd7b1d 14-Jan-2004 mostang.com!davidm <mostang.com!davidm> Make lines fit in 80 columns again.
(libunwind_la_SOURCES_x86_common): Fix typo: rename from
libunwind_la_SOURCES_x86.

(Logical change 1.152)
akefile.am
e703b3d27858c12bc4e101732eb7b8d8553cc3e5 03-Jan-2004 hp.com!davidm <hp.com!davidm> Use print_error() instead of fprintf() to stderr.

(Logical change 1.151)
a64/Gparser-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)
a64/global-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)
a64/dyn_info_list-ia64.S
d28aba1c5695e91835bff1f26b138639d7bfc0e0 03-Jan-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.151)
a64/Lget_accessors-ia64.c
972a85f7fd6d1d9db52ea8d9bc114131e63d59c9 03-Jan-2004 hp.com!davidm <hp.com!davidm> Minor reformatting.

(Logical change 1.151)
i-init.c
165666394199966e7fbdd1a68bf5aa032a79b7f0 03-Jan-2004 hp.com!davidm <hp.com!davidm> Major restructuring to allow for separate local-only vs. generic
libunwind.

(Logical change 1.151)
akefile.am
e0585b4a714186d95a21ca46c94602cd216d1d1d 03-Jan-2004 hp.com!davidm <hp.com!davidm> Initial revision
yn-info-list.c
a64/Gget_accessors-ia64.c
a64/Gglobal-ia64.c
a64/Gset_caching_policy-ia64.c
a64/Gtables-ia64.c
a64/Lglobal-ia64.c
a64/Lset_caching_policy-ia64.c
a64/Ltables-ia64.c
a64/dyn_info_list-ia64.S
adcb01f57ff6b0b4a92a159fa0dc229cfde49f67 03-Jan-2004 hp.com!davidm <hp.com!davidm> Don't define UNW_LOCAL_ONLY before including libunwind.h. That was
a bad idea.

(Logical change 1.151)
UPT_internal.h
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)
a64/get_accessors-ia64.c
a64/set_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)
a64/Gset_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)
a64/Gget_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)
a64/tables-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)
a64/Gtables-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)
get_proc_info_by_ip.c
UPT_accessors.c
Unwind_Backtrace.c
Unwind_DeleteException.c
Unwind_FindEnclosingFunction.c
Unwind_ForcedUnwind.c
Unwind_GetBSP.c
Unwind_GetCFA.c
Unwind_GetDataRelBase.c
Unwind_GetGR.c
Unwind_GetIP.c
Unwind_GetLanguageSpecificData.c
Unwind_GetRegionStart.c
Unwind_GetTextRelBase.c
Unwind_RaiseException.c
Unwind_Resume.c
Unwind_Resume_or_Rethrow.c
Unwind_SetGR.c
Unwind_SetIP.c
lfxx.c
ppa/Gget_proc_info-hppa.c
ppa/Gget_proc_name-hppa.c
ppa/Gget_reg-hppa.c
ppa/Ginit-hppa.c
ppa/Ginit_local-hppa.c
ppa/Gstep-hppa.c
ppa/flush_cache-hppa.c
ppa/get_accessors-hppa.c
a64/Gcreate_addr_space-ia64.c
a64/Gdestroy_addr_space-ia64.c
a64/Gget_fpreg-ia64.c
a64/Gget_proc_info-ia64.c
a64/Gget_proc_name-ia64.c
a64/Gget_reg-ia64.c
a64/Gget_save_loc-ia64.c
a64/Ginit-ia64.c
a64/Ginit_local-ia64.c
a64/Ginit_remote-ia64.c
a64/Gis_signal_frame-ia64.c
a64/Gresume-ia64.c
a64/Gset_fpreg-ia64.c
a64/Gset_reg-ia64.c
a64/Gstep-ia64.c
a64/flush_cache-ia64.c
a64/regname-ia64.c
s-linux.c
86/Gcreate_addr_space-x86.c
86/Gget_proc_info-x86.c
86/Gget_proc_name-x86.c
86/Gget_reg-x86.c
86/Ginit-x86.c
86/Ginit_local-x86.c
86/Ginit_remote-x86.c
86/Gis_signal_frame-x86.c
86/Gresume-x86.c
86/Gset_reg-x86.c
86/Gstep-x86.c
86/flush_cache-x86.c
86/get_accessors-x86.c
86/regname-x86.c
86/set_caching_policy-x86.c
fa6ca5610da3000da117a62d518381ac9799b263 03-Jan-2004 hp.com!davidm <hp.com!davidm> (sos_memp): Drop static initializer.
(pg_size): Likewise.
(sos_alloc): Initialize sos_memp if it's still 0.

(Logical change 1.151)
empool.c
0b29e6839be2675b3ed475bc8fcfbae32ba284fe 03-Jan-2004 hp.com!davidm <hp.com!davidm> (local_find_proc_info): Take new LIST argument.
(unwi_find_dynamic_proc_info): Pass LIST argument to
local_find_proc_info().

(Logical change 1.151)
find_dynamic_proc_info.c
98f917270f50049145735a7ff6fb57cd1a924e94 03-Jan-2004 hp.com!davidm <hp.com!davidm> (intern_string): Declare as "inline".

(Logical change 1.151)
get_proc_name.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)
a64/unwind_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)
a64/global-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)
a64/Gglobal-ia64.c
b1036f45c99f0882f39c69db3cbe9f67b8efe9b2 03-Jan-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.151)
yn-info-list.c
a64/Lglobal-ia64.c
a64/Lset_caching_policy-ia64.c
a64/Ltables-ia64.c
b9d2cc7919cf343596fd007506492621311b1c43 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> Drop HIDDEN from declarations, only the definitions need it.

(Logical change 1.150)
UPT_internal.h
lfxx.h
8af7d0d636c75d72274c4962d912af136980fb1c 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (unwi_full_sigmask): Mark as HIDDEN.

(Logical change 1.149)
i-init.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)
a64/unwind_i.h
aef3ad9d8df7b87805c9a5b7b12f406864448c75 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (_U_dyn_info_list_lock): Mark as HIDDEN.

(Logical change 1.149)
yn-register.c
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)
a64/unwind_decoder.h
aa800d423d128748d1ba6eae70fbbf253edc766e 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (unw): Mark it as HIDDEN.

(Logical change 1.148)
a64/global-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)
a64/regname-ia64.c
468aaccf17a145c7275b469ddc2617c644619c21 20-Dec-2003 hp.com!davidm <hp.com!davidm> Switch over to DWARF-based unwinder.

(Logical change 1.146)
86/Gget_proc_info-x86.c
86/Gget_proc_name-x86.c
86/Ginit-x86.c
86/Ginit_local-x86.c
86/Ginit_remote-x86.c
86/Gis_signal_frame-x86.c
86/Gregs-x86.c
86/Gresume-x86.c
86/Gstep-x86.c
86/flush_cache-x86.c
86/get_accessors-x86.c
86/global-x86.c
86/init.h
86/regname-x86.c
86/unwind_i.h
9fdd520e59a2b85188403b5ec6e18345e503dcf9 20-Dec-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.146)
akefile.in
23760816b32994de1384efd64ac2823dd8c6644d 20-Dec-2003 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_common): Replace dyn-extract.c and dyn-remote.c
with generic and local-only versions.
(dwarf_sources): New macro.
(libbunwind_la_SOURCES_x86): Add $(dwarf_sources).
Drop tables-x86.c it's not needed anymore.
(AM_CPPFLAGSG): Add architecture-specific include file.

(Logical change 1.146)
akefile.am
eb51b4294aa18ab13c9496378abb25162688235b 20-Dec-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.145)
warf/Gexpr-dwarf.c
warf/Gfde-dwarf.c
warf/Gfind_proc_info-lsb.c
warf/Gparser-dwarf.c
warf/Gpe-dwarf.c
warf/Gstep-dwarf.c
warf/Lexpr-dwarf.c
warf/Lfde-dwarf.c
warf/Lfind_proc_info-lsb.c
warf/Lparser-dwarf.c
warf/Lpe-dwarf.c
warf/Lstep-dwarf.c
warf/dwarf-eh.h
warf/global-dwarf.c
c7312eceb2b44da72144247816438027c6512cac 20-Dec-2003 hp.com!davidm <hp.com!davidm> Define UNW_LOCAL_ONLY before including <libunwind.h> so we get the
optimized version for unwind-table-searching.

(Logical change 1.144)
UPT_internal.h
a114b907b16813114f092b6bd34a948b64561756 20-Dec-2003 hp.com!davidm <hp.com!davidm> (_Unwind_GetTextRelBase): Drop comment. Returning 0 seems to be
OK for most existing platforms (both ia64 and DWARF-based).

(Logical change 1.144)
Unwind_GetTextRelBase.c
92397585290a0a7fc9766362424fdd17f5cfc7dc 20-Dec-2003 hp.com!davidm <hp.com!davidm> (_Unwind_GetDataRelBase): Implement it by returning the "gp" value
of the proc-info.

(Logical change 1.144)
Unwind_GetDataRelBase.c
2afc5f7ddbf541ac9d113490b5d44840b8b63084 20-Dec-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.144)
dyn-extract.c
dyn-remote.c
0bbb2fab680da4bb6ab8f3cfc46ab595c6a94118 20-Dec-2003 hp.com!davidm <hp.com!davidm> Initial revision
dyn-extract.c
dyn-remote.c
warf/Gexpr-dwarf.c
warf/Gfde-dwarf.c
warf/Gfind_proc_info-lsb.c
warf/Gparser-dwarf.c
warf/Gpe-dwarf.c
warf/Gstep-dwarf.c
warf/Lexpr-dwarf.c
warf/Lfde-dwarf.c
warf/Lfind_proc_info-lsb.c
warf/Lparser-dwarf.c
warf/Lpe-dwarf.c
warf/Lstep-dwarf.c
warf/dwarf-eh.h
warf/global-dwarf.c
b6adfb75c4bb5dc8da681951338c218cf68a88c3 20-Dec-2003 hp.com!davidm <hp.com!davidm> Declare mempool-routines as HIDDEN.

(Logical change 1.143)
empool.c
7b76187fc8fb07ec4f508d26e30219a8fd122477 20-Dec-2003 hp.com!davidm <hp.com!davidm> (remote_find_proc_info): Update the comment so it reflects reality.

(Logical change 1.142)
find_dynamic_proc_info.c
4fafd8cbf7464f50b30e2983e332ddebef8b5acc 20-Dec-2003 hp.com!davidm <hp.com!davidm> Use Elf_W() instead of ElfW() etc. to avoid clash with <linker.h>.

(Logical change 1.141)
lfxx.c
lfxx.h
5e48061ba626625f4e4888e58eeee19d39fa8b17 20-Dec-2003 hp.com!davidm <hp.com!davidm> Update copyright header.

(Logical change 1.140)
a64/tables-ia64.c
ff78bcde0d31a6708142633a3415cf3fed398fa7 20-Dec-2003 hp.com!davidm <hp.com!davidm> Rename: src/dyn-remote.c -> src/Gdyn-remote.c

}(Logical change 1.140)
yn-remote.c
1cfcd061e9637c5da8fed80ae8ab936563910890 20-Dec-2003 hp.com!davidm <hp.com!davidm> Rename: src/dyn-remote.c -> src/Gdyn-remote.c

(Logical change 1.140)
dyn-remote.c
94903d3c12fe72a7dd28bc80517d8f8de32a6e23 20-Dec-2003 hp.com!davidm <hp.com!davidm> Rename: src/dyn-extract.c -> src/Gdyn-extract.c

}(Logical change 1.140)
yn-extract.c
058325fc41d5c972c37bffc0e0be5c4d904563be 20-Dec-2003 hp.com!davidm <hp.com!davidm> Rename: src/dyn-extract.c -> src/Gdyn-extract.c

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

(Logical change 1.140)
a64/Gparser-ia64.c
a64/flush_cache-ia64.c
b25fd18403d5599ed058e971889b1924fdcbfd54 20-Dec-2003 hp.com!davidm <hp.com!davidm> Initial revision
dyn-extract.c
dyn-remote.c
64c0ad587613c6ea1f01addeb662edb471113571 20-Dec-2003 hp.com!davidm <hp.com!davidm> Delete: src/x86/tables-x86.c

}(Logical change 1.140)
86/tables-x86.c
2c1bae779884b75b7e6d9636f7e0898ba4451233 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> Add copyright header.

(Logical change 1.139)
find_dynamic_proc_info.c
9765f67c9de0ed7e5bb452742b0549eaf55a0658 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> A

(Logical change 1.139)
yn-register.c
4d40b374b9f4c01795c7bb591ef53bea8b75ef51 05-Dec-2003 mostang.com!davidm <mostang.com!davidm> Lookup static proc-info via accessor's callback, not by directly
calling tdep_find_proc_info(). The latter doesn't works in the
REMOTE_ONLY case.

(Logical change 1.138)
get_proc_info_by_ip.c
98f95e6ee435d6ad650ed4c35ef7e1d2864a4b24 05-Dec-2003 mostang.com!davidm <mostang.com!davidm> (sos_alloc): Drop type-cast-avoiding union. If we really need it,
it should be done by cmpxchg_ptr().

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

(Logical change 1.138)
a64/Gscript-ia64.c
ac224b48bb15a141836db605762ab946161569ab 05-Dec-2003 hp.com!davidm <hp.com!davidm> (sos_alloc): Fix call to cmpxchg_ptr().

(Logical change 1.136)
empool.c
3b54f2a48d0f5d872d1d2f0fd92a62aebffbf507 04-Dec-2003 hp.com!davidm <hp.com!davidm> R

(Logical change 1.135)
akefile.in
ab0fdbbb4ce951d3c5f39f9412fb0542487879f0 04-Dec-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.135)
Unwind_Backtrace.c
Unwind_DeleteException.c
Unwind_FindEnclosingFunction.c
Unwind_ForcedUnwind.c
Unwind_GetBSP.c
Unwind_GetCFA.c
Unwind_GetDataRelBase.c
Unwind_GetGR.c
Unwind_GetIP.c
Unwind_GetLanguageSpecificData.c
Unwind_GetRegionStart.c
Unwind_GetTextRelBase.c
Unwind_RaiseException.c
Unwind_Resume.c
Unwind_Resume_or_Rethrow.c
Unwind_SetGR.c
Unwind_SetIP.c
nwind-internal.h
1a7d4ee7ed467d951d9c36d6865bc4fdf40879b4 04-Dec-2003 hp.com!davidm <hp.com!davidm> Initial revision
Unwind_Backtrace.c
Unwind_DeleteException.c
Unwind_FindEnclosingFunction.c
Unwind_ForcedUnwind.c
Unwind_GetBSP.c
Unwind_GetCFA.c
Unwind_GetDataRelBase.c
Unwind_GetGR.c
Unwind_GetIP.c
Unwind_GetLanguageSpecificData.c
Unwind_GetRegionStart.c
Unwind_GetTextRelBase.c
Unwind_RaiseException.c
Unwind_Resume.c
Unwind_Resume_or_Rethrow.c
Unwind_SetGR.c
Unwind_SetIP.c
nwind-internal.h
0240946f92cfc499f73074f75a44a09e178a7b9e 04-Dec-2003 hp.com!davidm <hp.com!davidm> (SOVERSION): Bump it.
(libunwind_la_SOURCES_local): Mention all the new _Unwind_* files.
(EXTRA_DIST): Mention unwind-internal.h.

(Logical change 1.135)
akefile.am
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)
a64/tables-ia64.c
6498cdf4d9877f4c78f8b4429e2abf70d17a550d 04-Dec-2003 hp.com!davidm <hp.com!davidm> Don't include "config.h" here.

(Logical change 1.134)
UPT_internal.h
UPT_reg_offset.c
ppa/unwind_i.h
a64/rse.h
a64/unwind_i.h
86/unwind_i.h
e6f6a92db185a79b24660b60e55ef271bbbfd2f5 04-Dec-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.133)
get_proc_info_by_ip.c
get_proc_info_by_ip.c
96d608b2ccef48090b55b1267712df8e4808331e 04-Dec-2003 hp.com!davidm <hp.com!davidm> Initial revision
get_proc_info_by_ip.c
get_proc_info_by_ip.c
2dcaa68adbb8920dd5fdd334d0a360926d989554 27-Nov-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.131)
akefile.in
bd54a900bcb562035a0c2c71116524af50ae69e3 27-Nov-2003 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_x86): Mention x86/offsets.h.

(Logical change 1.131)
akefile.am
35300d06169b4b18908867ef16d4807dc0e59121 27-Nov-2003 hp.com!davidm <hp.com!davidm> Replace #ifdef UNW_DEBUG with #if UNW_DEBUG.

(Logical change 1.130)
ppa/global-hppa.c
a64/Gdestroy_addr_space-ia64.c
a64/Ginit-ia64.c
a64/Grbs-ia64.c
86/global-x86.c
cda74fe038ad4b90878596f3529ca47d7feb42b6 27-Nov-2003 hp.com!davidm <hp.com!davidm> Replace #if DEBUG with #if UNW_DEBUG.

(Logical change 1.130)
UPT_access_reg.c
c97446493347223314a3917ab1019802851eb38c 27-Nov-2003 hp.com!davidm <hp.com!davidm> Delete include of elf64.h. The "tdep.h" header-file is responsible
for including the appropriate file.

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

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

(Logical change 1.130)
a64/Gstep-ia64.c
fa7a796b375a51c035e1deaee10a93cbfbb231dd 27-Nov-2003 hp.com!davidm <hp.com!davidm> (unw_is_signal_frame): Add parens to avoid compiler warnings.

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

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

(Logical change 1.130)
a64/mk_Gcursor_i-ia64.c
7291d0217c602a31a02ecaa222254b863eb70515 27-Nov-2003 hp.com!davidm <hp.com!davidm> (rcsid): New variable.

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

(Logical change 1.130)
a64/unwind_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)
a64/Gscript-ia64.c
dee53d780094be559381f8584a0a95222ecf5bb5 27-Nov-2003 hp.com!davidm <hp.com!davidm> (lookup_symbol): Delete unused variable "str_size".

(Logical change 1.130)
lfxx.c
3e1200c200479e8011ec6c6b15be0efeef556b3f 27-Nov-2003 hp.com!davidm <hp.com!davidm> (linux_scratch_loc): Delete unnecessary variable "ret".

(Logical change 1.130)
a64/Gregs-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)
a64/tables-ia64.c
74ed7ea40def6aa0e6dd9bf45e88814a6a765505 27-Nov-2003 hp.com!davidm <hp.com!davidm> (_UPT_reg_offset): Declare as "extern".

(Logical change 1.130)
UPT_internal.h
7eaa3cea76dfd09af8d8c09567ed7828934b6640 27-Nov-2003 hp.com!davidm <hp.com!davidm> (TARGET_ELF64): Delete.
(TARGET_ELF32): Likewise.
(_UPT_get_proc_name): Use ELF_CLASS instead of TARGET_ELFxx.

(Logical change 1.130)
UPT_get_proc_name.c
85bf403eab61f5f8427927f0fa99dd709cda6d9d 27-Nov-2003 hp.com!davidm <hp.com!davidm> (_UPT_get_dyn_info_list_addr): Fix typo.

(Logical change 1.128)
UPT_get_dyn_info_list_addr.c
72d091c1d60eda4426728da0c8fa0b6140624220 25-Nov-2003 hp.com!davidm <hp.com!davidm> (unwi_put_dynamic_unwind_info): Handle UNW_INFO_FORMAT_REMOTE_TABLE.

(Logical change 1.126)
put_dynamic_unwind_info.c
fb7578ac557790ef17eabef9007178c7aa7b6680 25-Nov-2003 hp.com!davidm <hp.com!davidm> (unwi_get_proc_name): Handle UNW_INFO_FORMAT_REMOTE_TABLE.

(Logical change 1.126)
get_proc_name.c
02d88bcf13d0518c5032cea21751fe528e106524 25-Nov-2003 hp.com!davidm <hp.com!davidm> (unwi_extract_dynamic_info): Handle UNW_INFO_FORMAT_REMOTE_TABLE.

(Logical change 1.126)
yn-extract.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)
a64/tables-ia64.c
13147e5e9cd3ad96fa771be29431d7c926d54669 25-Nov-2003 hp.com!davidm <hp.com!davidm> (free_dyn_info): Handle UNW_INFO_FORMAT_REMOTE_TABLE.
(intern_dyn_info): Likewise.

(Logical change 1.126)
yn-remote.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)
a64/Gparser-ia64.c
04a99eaa5cd1826d1dd47f91c714c87ecfd59ff2 25-Nov-2003 hp.com!davidm <hp.com!davidm> (_UPT_get_dyn_info_list_addr): Pass unw_dyn_info_t pointer instead of its
members.

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

(Logical change 1.124)
a64/unwind_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)
a64/Gscript-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)
a64/Ginit-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)
a64/flush_cache-ia64.c
92b48f5fe8621b830802e7ff20b79c5ad485d70a 24-Nov-2003 hp.com!davidm <hp.com!davidm> (sos_alloc): cmpxchg_ptr() now returns a boolean value (TRUE on success).

(Logical change 1.123)
empool.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)
a64/Gscript-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)
a64/global-ia64.c
ca11999d9d860a5555bcb48e268b5ee52606b864 22-Nov-2003 hp.com!davidm <hp.com!davidm> (UPTi_find_unwind_table): Drop bogus range-check.

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

(Logical change 1.119)
a64/global-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)
a64/set_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)
a64/Gscript-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)
a64/Gregs-ia64.c
2c9be974dceb79ef5a3b72919b2b852f024fefe1 22-Nov-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.115)
akefile.in
e83a18421896dc56c46ea2c13d5d838aa96ac76f 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.114)
akefile.in
c3328ce1502f77c1151e36063d0e58c42462b489 20-Nov-2003 hp.com!davidm <hp.com!davidm> Delete: src/ia64/TODO

}(Logical change 1.113)
a64/TODO
e5cf56ec1cf5062762f05d495d86ad4729b071b8 19-Nov-2003 mostang.com!davidm <mostang.com!davidm> (mi_init): Initializing unwi_full_sigmask is too late here, it needs to be done in the
arch-specific initialization, so that thread-safety can be guaranteed.

(Logical change 1.112)
i-init.c
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)
a64/global-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)
a64/set_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)
a64/Ginit_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)
a64/Ginit_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)
a64/get_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)
a64/global-ia64.c
6b6a0079e6636be6f5c1b7ff88dc75856ae5361b 18-Nov-2003 hp.com!davidm <hp.com!davidm> Update copyright year.
Minor formatting changes.

(Logical change 1.110)
86/Gstep-x86.c
c55348de6e5365d6efa921498cf8ea9e9cb724e6 18-Nov-2003 hp.com!davidm <hp.com!davidm> Update copyright year.

(Logical change 1.110)
86/Gis_signal_frame-x86.c
434b9ffcfebbee058847a18231c5046877b87bd1 18-Nov-2003 com[davidm]!hans_boehm <com[davidm]!hans_boehm> x86: fix unw_is_signal_frame() and unwinding across signal handlers

(Logical change 1.109)
86/Gis_signal_frame-x86.c
86/Gstep-x86.c
86/offsets.h
864270533f8f1d606cf16040f191562032d8949f 18-Nov-2003 com[davidm]!hans_boehm <com[davidm]!hans_boehm> Initial revision
86/offsets.h
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)
a64/Gparser-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)
a64/tables-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)
a64/Gget_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)
a64/Gget_save_loc-ia64.c
8aff3354e2c59e1947ff124d92e891bd84f99e67 25-Sep-2003 hp.com!davidm <hp.com!davidm> Mention x86/set_caching_policy-x86.c.

(Logical change 1.104)
akefile.am
b3c9ffcf391c87cf0dca74426d7df8a88aa86228 25-Sep-2003 hp.com!davidm <hp.com!davidm> Initial revision
86/set_caching_policy-x86.c
87e2dfb9afb22679c5c41c2fb44a8da2698a5ba7 25-Sep-2003 hp.com!davidm <hp.com!davidm> (unw_regname): Fix signed/unsigned comparison.

(Logical change 1.104)
86/regname-x86.c
522e2ccbe0cf49b477a3b840f178149c5878ffb2 25-Sep-2003 hp.com!davidm <hp.com!davidm> (sos_alloc): Do type-punning through a union to be ANSI-9x compliant
and avoid a warning from gcc.

(Logical change 1.104)
empool.c
71650257d7c7e805e25482b431651a4dc9b18727 25-Sep-2003 hp.com!davidm <hp.com!davidm> (lookup_symbol): Cast arguments to debug printf() so they compile
without warning on both 32- and 64-bit platforms.

(Logical change 1.104)
lfxx.c
2f3b37da514dd5b19e133dd8db21860d8d8abf7b 25-Sep-2003 hp.com!davidm <hp.com!davidm> (_UPT_access_reg): Cast arguments to debug printf so they compile
without warning on both 32- and 64-bit platforms.

(Logical change 1.104)
UPT_access_reg.c
a99bac423be87284c9f1e72538eabc363cc2fd9b 25-Sep-2003 hp.com!davidm <hp.com!davidm> (_UPT_access_mem): Cast arguments to debug printf so that it
compiles without worning both on 64-bit and 32-bit platforms.

(Logical change 1.104)
UPT_access_mem.c
e4be4f9dc50cf7c049228ba61d54a50199378ac4 25-Sep-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.104)
86/set_caching_policy-x86.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)
a64/Gresume-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)
a64/Gscript-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)
a64/Gscript-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)
a64/Gis_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)
a64/Gparser-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)
a64/Gscript-ia64.c
d6946f580b6c7609c181bc6d9200481d04f7b043 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (ia64_fetch_proc_info): New procedure.

(Logical change 1.95)
a64/unwind_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)
a64/Gcreate_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)
a64/regs.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)
a64/Gscript-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)
a64/Gparser-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)
a64/Gget_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)
a64/Grbs-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)
a64/Gstep-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)
a64/Gregs-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)
a64/offsets.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)
a64/global-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)
a64/Gparser-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)
a64/offsets.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)
a64/Gget_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)
a64/Gresume-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)
a64/Gstep-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)
a64/Ginit-ia64.c
d92ddf8128c69bb463bdc5d6952b9b2af8570ffb 25-Apr-2003 hp.com!davidm <hp.com!davidm> (common_init): Clear c->last_abi_marker.

(Logical change 1.89)
a64/init.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)
a64/Gmk_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)
a64/mk_Gcursor_i-ia64.c
c784d06c85ea336797f40109e9429798d51db400 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.87)
akefile.in
b39b4346605025a959e7dba21c12e499856f6c81 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.87)
s-hpux.c
424ffd0db821a433467fd33de8df235a4c245442 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/mk_Gcursor_i-ia64.c
a64/mk_Lcursor_i-ia64.c
s-hpux.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)
a64/Ginit-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)
a64/Lmk_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)
a64/mk_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)
a64/Ginit_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)
a64/Gget_save_loc-ia64.c
a38d3f6275ca5efecd723ed53afe4f5438c84bb1 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (mi_init): Turn off buffering for stdout and stderr when debugging is enabled.

(Logical change 1.87)
i-init.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)
a64/Gparser-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)
a64/Gresume-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)
a64/Gstep-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)
a64/Gregs-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)
a64/tables-ia64.c
3e4f08bbf0274c5ffe33a6b447673c4159cf8632 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (SOVERSION): Change to 1:1:0.
Rename Gmk_cursor to mk_Gcursor, Lmk_cursor to mk_Lcursor so to avoid
scripts/make-L-files overwriting the (handcrafted) local version.
(EXTRA_DIST): Mention libunwind_la_SOURCES_os_hpux.

(Logical change 1.87)
akefile.am
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)
a64/unwind_i.h
747b961d317e24a74a0f85f7b9b0d5753526d878 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/Ginstall_cursor.S
a64/Gmk_cursor_i-ia64.c
a64/Linstall_cursor.S
a64/Lmk_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)
a64/_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)
a64/Ginstall_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)
a64/Gresume-ia64.c
8e85e811c0444217bf386623bf225545b656062c 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_ia64): Replace _Uia64_install_cursor.S with Ginstall_cursor.S
and Linstall_cursor.S.
(Gmk_cursor_i_ia64_SOURCES): Rename from mk_cursor_i_ia64_SOURCES.
(Lmk_cursor_i_ia64_SOURCES): New mcro.
(Gcursor_i.h): Rename rule from cursor_i.h.
(Lcursor_i.h): New rule.
(noinst_PROGRAMS): Rename mk_cursor_i-ia64 to Gmk_cursor_i-ia64 and add
Lmk_cursor_i-ia64.
(BUILT_SOURCES): Ditto.

(Logical change 1.85)
akefile.am
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)
a64/unwind_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)
a64/mk_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)
a64/Gmk_cursor_i-ia64.c
c56b0d6b05e7f484cb8896de79fd75b4841d1a5f 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.85)
a64/Linstall_cursor.S
a64/Lmk_cursor_i-ia64.c
ee54f6cbbdeecb5ef6f4c5509b8fac75a8f39ba4 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Remove preg_index[] initializer.

(Logical change 1.84)
a64/global-ia64.c
6aa6f2937578947b57e9d301ff8894926c76fa56 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.84)
akefile.in
6e5840f1327a0c0e5ff5d87e958c6d1e99587199 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/Grbs-ia64.c
a64/Lrbs-ia64.c
a64/_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)
a64/unwind_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)
a64/rbs-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)
a64/Grbs-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)
a64/Gresume-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)
a64/Gregs-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)
a64/init.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)
a64/Gstep-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)
a64/Gis_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)
a64/Gget_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)
a64/Gscript-ia64.c
693c4fa30cc515a2af6e32d415923f6af3a79c7a 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_ia64): Rename _Uia64_install_context.S to
_Uia64_install_cursor.S. Replace rbs-ia64.c with
Grbs-ia64.c and Lrbs-ia64.c.

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

(Logical change 1.84)
a64/Ginit-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)
a64/Gparser-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)
a64/_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)
a64/_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)
a64/mk_cursor_i-ia64.c
18b186bf30ceaf501197045f75c16ff2f769df69 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.84)
a64/Lrbs-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)
a64/offsets.h
307616bafb0b01bacae9056d2a623d5001304b3f 22-Apr-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.83)
akefile.in
5b90a927a18446b060e565d5634708ca397951d9 22-Apr-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.81)
86/Gcreate_addr_space-x86.c
86/Ginit_remote-x86.c
86/Lcreate_addr_space-x86.c
86/Linit_remote-x86.c
eacc4f207372bbe9808c736970121b04f98636f5 22-Apr-2003 hp.com!davidm <hp.com!davidm> Initial revision
86/Gcreate_addr_space-x86.c
86/Ginit_remote-x86.c
86/Lcreate_addr_space-x86.c
86/Linit_remote-x86.c
63a539999d8b712c5f975d400c33be20944bde23 22-Apr-2003 hp.com!davidm <hp.com!davidm> (x86_access_reg): Add a debug statement so accesses to bad register numbers
can be seen with debugging enabled.

(Logical change 1.81)
86/Gregs-x86.c
c91cfd2f5de96dade02335b1ce3b9f5bd985f1a9 22-Apr-2003 hp.com!davidm <hp.com!davidm> (unw_is_signal_frame): On Linux, do code-reading to see if a given cursor
is a signal-frame. This will break if the 8 bytes at EIP are not
readable.


(Logical change 1.81)
86/Gis_signal_frame-x86.c
2c7e76f27ac4b36c2d0afa56403d0f52da56c6b2 22-Apr-2003 hp.com!davidm <hp.com!davidm> (unw_get_proc_info): Implement a minimalistic version for x86.

(Logical change 1.81)
86/Gget_proc_info-x86.c
5c2c73523c27303d255b67541d5dc0bcfa8012c2 22-Apr-2003 hp.com!davidm <hp.com!davidm> (siglongjmp): If there aren't at least 4 eh-regs, abort() for now. In
the future, we may want to support this for real by putting the
necessary info on the stack.

(Logical change 1.81)
ongjmp.c
33e6e3fc1eb930b96edf2eebbfad732b61d189e1 22-Apr-2003 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_x86): Mention regname-x86.c, Ginit_remote-x86.c,
Gis_signal_frame-x86.c, Gcreate_addr_space.c, Lcreate_addr_space.c,
Linit_remote-x86, and Lis_signal_frame-x86.c.

(Logical change 1.81)
akefile.am
07721f348735ba8ef253d2e0af096fbec111ad20 22-Apr-2003 hp.com!davidm <hp.com!davidm> (get_static_proc_name): New function.
(x86_local_addr_space_init): Initialize get_proc_name() callback.

(Logical change 1.81)
86/Ginit-x86.c
bbfe13cce08b966afd48e3d909578afd5cda7f40 22-Apr-2003 hp.com!davidm <hp.com!davidm> (_UPT_reg_offset): Fix off-by-1 error.

(Logical change 1.81)
UPT_internal.h
UPT_reg_offset.c
060850b2c7a6a58adea2414a5c33d29662b00942 22-Apr-2003 hp.com!davidm <hp.com!davidm> (_UPT_access_reg): When ptrace() returns an error, branch to common
"badreg" error handler.

(Logical change 1.81)
UPT_access_reg.c
de5b16e4a83d329db85854f04a2426a0b3c9dc97 22-Apr-2003 hp.com!davidm <hp.com!davidm> (_UI_siglongjmp_cont): Implement a dummy handler.

(Logical change 1.81)
86/siglongjmp-x86.S
508f65f8b952c5573df74a7e44b4ebace4573959 21-Apr-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.80)
akefile.in
ed625d646e2ebec6cb733f715e2f66b93f45d5fa 21-Apr-2003 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_x86): Mention Lset_reg-x86.c.

(Logical change 1.80)
akefile.am
796bd962e3fb46e396d15614dfcd904568eebc2f 21-Apr-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.79)
akefile.in
1b770df7efb154379417ffcc985a15be16d0978b 21-Apr-2003 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_x86): Mention Gset_reg-x86.c.

(Logical change 1.79)
akefile.am
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)
a64/Gstep-ia64.c
fb293ae33d490f0a1e7a5fc82e718188554b9166 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> (struct unwind_header): Rename member "unknown1" to "format".

(Logical change 1.77)
a64/tables-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)
a64/Gparser-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)
a64/Ginit-ia64.c
0802cd49adffece1c9927624aabd7c324cdfa5ea 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> (rbs_find_stacked): Allow NULL locp.

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

(Logical change 1.76)
a64/unwind_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)
a64/Ginit-ia64.c
6ab15cdec4e7d753008fffbe0b62ab4924b2ef87 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.75)
find_dynamic_proc_info.c
get_proc_name.c
put_dynamic_unwind_info.c
ppa/Lget_proc_info-hppa.c
ppa/Lget_proc_name-hppa.c
ppa/Lget_reg-hppa.c
ppa/Linit-hppa.c
ppa/Linit_local-hppa.c
ppa/Lregs-hppa.c
ppa/Lstep-hppa.c
a64/Lcreate_addr_space-ia64.c
a64/Ldestroy_addr_space-ia64.c
a64/Lget_fpreg-ia64.c
a64/Lget_proc_info-ia64.c
a64/Lget_proc_name-ia64.c
a64/Lget_reg-ia64.c
a64/Lget_save_loc-ia64.c
a64/Linit-ia64.c
a64/Linit_local-ia64.c
a64/Linit_remote-ia64.c
a64/Lis_signal_frame-ia64.c
a64/Lparser-ia64.c
a64/Lregs-ia64.c
a64/Lresume-ia64.c
a64/Lscript-ia64.c
a64/Lset_fpreg-ia64.c
a64/Lset_reg-ia64.c
a64/Lstep-ia64.c
86/Lget_proc_info-x86.c
86/Lget_proc_name-x86.c
86/Lget_reg-x86.c
86/Linit-x86.c
86/Linit_local-x86.c
86/Lis_signal_frame-x86.c
86/Lregs-x86.c
86/Lresume-x86.c
86/Lset_reg-x86.c
86/Lstep-x86.c
e4ea1bcdb899287c4aad0799c8ef7d86fc7d4e67 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Drop include of <endian.h>.

(Logical change 1.75)
get_proc_name.c
aa371f972e3eabc42a65bf73af77b7af6c091414 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Don't include <endian.h>.

(Logical change 1.75)
yn-remote.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)
a64/Ginit_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)
a64/Gresume-ia64.c
5929f8e02bec144d53ddf1f33f4359df804c052d 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_os_hpux): New macro.
(libunwind_la_SOURCES_os): For HP-UX, use libunwind_la_SOURCES_os_hpux.

(Logical change 1.75)
akefile.am
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)
a64/tables-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)
a64/global-ia64.c
4ca42d4a0c6bf362cf5b0e728af95f2477fd0efe 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> (get_unwind_info): _Only call _Uia64_get_kernel_table() on Linux.

(Logical change 1.75)
UPT_find_proc_info.c
9c23f9c408a10b9cbe44002d87755ad020aac91a 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> (elf_map_image): Declare "path" argument as "const".

(Logical change 1.75)
lfxx.h
cfded02a05f7fd5314ca4619b53005955a60acee 29-Mar-2003 hp.com!davidm <hp.com!davidm> (maps_close): Do nothing if mi->fp is already NULL.

(Logical change 1.71)
s-linux.h
3a27d1661c68d0f268855f2fdbc0f050a77981c6 29-Mar-2003 hp.com!davidm <hp.com!davidm> (_UPTi_find_unwind_table): Add dummy x86 implementation.
(_UPT_find_proc_info): On ia64, when returning info about the kernel's unwind
table, copy the unwind info into a malloc'd buffer and use
unw_local_addr_space to search the table, since the table is stored
in local memory.

(Logical change 1.71)
UPT_find_proc_info.c
1acfcc74e501b8b7d167a49eb70d0f0b5eb9d0e6 29-Mar-2003 hp.com!davidm <hp.com!davidm> (_UPT_reg_offset): Add definitions for x86.

(Logical change 1.71)
UPT_reg_offset.c
e00aa27222e4d0b52aa13b852c38d23c402160c7 29-Mar-2003 hp.com!davidm <hp.com!davidm> (_UPT_get_dyn_info_list_addr): Bracket ia64-specific variables in #if UNW_TARGET_IA64.
If ui->ei.image is non-NULL, close the old image and invalidate the
cache before mapping the new image.

(Logical change 1.71)
UPT_get_dyn_info_list_addr.c
e21a83deb0079a9a93aa61e3f38c10ae36ea6e53 29-Mar-2003 hp.com!davidm <hp.com!davidm> (_UPT_access_fpreg): Fix typo in cast.

(Logical change 1.71)
UPT_access_fpreg.c
4f17bce117cf69d572523bbe3cfb2ee86efc0586 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.70)
akefile.in
b838c72f9a2d80f0c6252b122eab3ce822b31604 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (lookup_symbol): Portability fix: avoid arithmetic on void *.

(Logical change 1.70)
UPT_find_proc_info.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)
a64/Gresume-ia64.c
81f4297d5aec4a57bac02c6d132acd379419b78e 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (intern_regions): Don't mix signed and unsigned types for 3rd argument to fetch32().
(intern_dyn_info): Ditto.

(Logical change 1.70)
yn-remote.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)
a64/unwind_i.h
5b1f22a309c326d464eebbd5cca05a20d9224d49 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.69)
akefile.in
f168752fcfc83ed0aa5df6032faf04ad6bcea39e 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.68)
a64/global-asm-ia64.S
58df2a4b8f2d077b1b35b2a413adb521a3274b09 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/global-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)
a64/tables-ia64.c
26ad35667c79bfbd2bb7de934bb9b7ca4f287efc 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Avoid GNU local labels for improved portability.

(Logical change 1.68)
a64/_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)
a64/sigsetjmp-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)
a64/siglongjmp-ia64.S
7407caa8c32fdb28ac82b90a2a8f36f6544a9e66 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_ia64): Add global-asm-ia64.S.
(libunwind_la_SOURCES_x86): Mention elf32.c, elf32.h, Gresume-x86.c, and
Lresume-x86.c.

(Logical change 1.68)
akefile.am
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)
a64/global-ia64.c
9eafc2ae865caeb5e93cddf798b4f4063f116af1 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (_UPT_get_dyn_info_list_addr): Downgrade #error to #warning.

(Logical change 1.68)
UPT_get_dyn_info_list_addr.c
4409fc61d874df46a483e348405be1183cfd8c4b 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Patch by Matthieu Delahaye:

(lookup_symbol): Fix typo: Elf64_Shdr -> ElfW (Shdr).
(get_proc_name): Ditto.

(Logical change 1.67)
lfxx.c
1c9ce0d96cafac0a496728f036768b0b9e3f9783 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.66)
akefile.in
09f7ea2cc2b69519b8bffd0675e6ad078b2c1cc7 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Return -UNW_ENOINFO.

(Logical change 1.64)
86/Gis_signal_frame-x86.c
0adb97c7219420b74d0cfe0cafcbbce8c0f83927 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Reorganize a bit so "automake" can correctly figure out all the files that need
to be distributed.

(Logical change 1.63)
akefile.am
0456a08cb8977e7d3776c4590ff6dd2ce586064c 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Issue warning for platforms using ttrace() instead of ptrace() (HP-UX
is the only platform that does that).

(Logical change 1.63)
UPT_access_fpreg.c
UPT_access_mem.c
UPT_resume.c
63d7003ef7c8f791d52cd88add0cee0d72cb6a5f 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include <sys/stat.h>.

(Logical change 1.63)
lfxx.h
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)
a64/unwind_i.h
d933d89e386db3f42830baad38c39d296e65bb76 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include <asm/ptrace_offsets.h> only if we have it.
Issue warning for platforms using ttrace() instead of ptrace() (HP-UX
is the only platform that does that).

(Logical change 1.63)
UPT_access_reg.c
0f3adfb3e6e52dc19f67085cdf70d1c604128b14 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "config.h" if we have it.
Test for HAVE_ASM_PTRACE_OFFSETS_H instead of UNW_TARGET_IA64.
Issue warning for platforms using ttrace() instead of ptrace() (HP-UX
is the only platform that does that).

(Logical change 1.63)
UPT_reg_offset.c
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)
a64/rse.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)
a64/tables-ia64.c
8033bdfd28c1efa732f69477954d8bacf1dddd67 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "config.h" if we have it.

(Logical change 1.63)
UPT_internal.h
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)
a64/set_caching_policy-ia64.c
7bfbbb6126987bf6eedffd03fab4aa4cc537f1e9 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> (lookup_symbol): Return -UNW_ENOINFO if symbol cannot be looked up for some reason.
Return -UNW_ENOMEM if string buffer is too small. This makes the routine
compatible with the definition of the unw_get_proc_name(3).

(Logical change 1.63)
lfxx.c
e24351b6c03654e638cce787fa182c942b59114d 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.63)
ppa/siglongjmp-hppa.S
86/siglongjmp-x86.S
3812bbdc00959f2a311f01445500ab08bb5395ea 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ppa/siglongjmp-hppa.S
86/siglongjmp-x86.S
cf9c4950bcec98c7914b201763fed2aed1e14d76 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add include of "tdep.h".
(unwi_dyn_remote_find_proc_info): Maintain as->dyn_info_list_addr as a cache of
the most recently obtained dyn-info-list address.

(Logical change 1.61)
yn-remote.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)
a64/flush_cache-ia64.c
63531d6f85d4f61e48fa34d3ae528cf04aefc8a1 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> (struct UPT_info): Remove dyn_info_list_addr and checked_dyn_info_list_addr
members.

(Logical change 1.61)
UPT_internal.h
7e7d86ade8e59d0f5e1e856f0e7067cdbc24fd6a 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> (_UPT_get_dyn_info_list_addr): Don't cache dyn-info-list address here. Do it
in libunwind proper instead.

(Logical change 1.61)
UPT_get_dyn_info_list_addr.c
7a7d6113d42f46f5ab6bae453789b010946d4b4d 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.59)
akefile.in
285c381ceace209ad533a5b1a15ecf1a38575183 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
UPT_resume.c
00c5dee16b8028fa818bb2256df62d568a962018 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include <assert.h>.
(_longjmp): Ensure that we have at least 4 exception-handling args. (This code
will need updating to make it work on x86, where only 2 exception handling
args are available).
(longjmp): If we are compiling with GCC, use an alias-attribute to alias it with
_longjmp(). This is more efficient and works around a gcc-3.2/ia64 bug
which causes bad unwind info when a noreturn function is a last call.


(Logical change 1.59)
ongjmp.c
eeffb605f79e7f7656cc011271161de9d841cca9 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include <assert.h>.
(_longjmp): Ensure that we have at least 4 exception-handling args. (This code
will need updating to make it work on x86, where only 2 exception handling
args are available).

(Logical change 1.59)
iglongjmp.c
597f26ce83a9cf540db9b4af20b34066c931fdf1 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "tdep.h".
(unwi_full_sigmask): Define here.
(mi_init): Initialize unwi_full_sigmask.

(Logical change 1.59)
i-init.c
d098282ff550cb1a26e419ad4ab8709d8b52646e 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "tdep.h".

(Logical change 1.59)
find_dynamic_proc_info.c
UPT_internal.h
lfxx.c
a64/mk_cursor_i-ia64.c
s-linux.c
d396c31e6f44ed873bd30ed70d7cc5157765ff16 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Enable .resume callback.

(Logical change 1.59)
UPT_accessors.c
6a01dbb8dfb7719713f7e8cc61ef38c49e1fc1de 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add copyright message.
(SOSLOCK): Remove
(SOSUNLOCK): Ditto.
(LOCK): Ditto
(UNLOCK): Ditto.
(sos_alloc): If HAVE_CMPXCHG is defined, use cmpxchg_ptr() to atomically allocate
memory in a lock-free manner. Otherwise, fall back on disabling signal
delivery and holding the sos_lock during memory allocation.
(sos_free): Remove.
(mempool_init): Initialize pool lock. Replace LOCK/UNLOCK with appropriate
signal-masking & mutex_lock/unlock calls.
(mempool_free): Replace LOCK/UNLOC with appropriate signal-masking & mutex_lock/unlock
calls.

(Logical change 1.59)
empool.c
90c6107caee99bdd45175bd68d36b194e144674d 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (unw_get_proc_name): Declare "offp" argument and pass it to unwi_get_proc_name().

(Logical change 1.59)
86/Gget_proc_name-x86.c
51f58db9b4ce9e99b4f621d422cfbf1bac05f03e 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_cdep): Mention _UPT_resume.c.
Delete obsolete comment.

(Logical change 1.59)
akefile.am
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)
a64/Gparser-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)
a64/unwind_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)
a64/Gscript-ia64.c
515fd742bdcbf846b829ec6779a58af141b26c30 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.59)
UPT_resume.c
57f0163a91fb724e457cb32ca7a74daedec49e4a 05-Mar-2003 hp.com!davidm <hp.com!davidm> Auto merged

2003/03/04 16:13:44-08:00 hp.com!davidm
(EXTRA_DIST): New macro. Mention elfxx.h and elfxx.c. Reported by
Arun Sharma.

(Logical change 1.58)
akefile.am
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)
a64/Gparser-ia64.c
26f95915e4ef33562d793ad89fd535a4194d96b8 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.56)
akefile.in
e31015f67f3fdfc2cd9d4369debb5f4196c26694 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.56)
UPT_get_proc_name.c
1de6745d5b0b320a59bdccb7270bb5ae0d22e319 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
UPT_get_proc_name.c
4001ce198af7d0ad2ad1c883bc872d3dbb00841f 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unwi_get_proc_name): For static procedures, use get_proc_name() callback if it's
non-NULL.

(Logical change 1.56)
get_proc_name.c
6a9c819f7fe3e9af899d26561f9176c11a6d672d 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unwi_extract_dynamic_proc_info): Clear lsda and unwind_info_size for
dynamic-info format.

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

(Logical change 1.56)
a64/global-ia64.c
03950aaf0144dad92414a57aebe57e7931b23c1e 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (lookup_symbol): Print debug output only at very high debug-level.
(get_proc_name): Take "pid" argument.

(Logical change 1.56)
lfxx.c
68c970298dbca83e474bd6e2f18c99541841fc34 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_cdep): Mention _UPT_get_proc_name.c.

(Logical change 1.56)
akefile.am
4c09dd64295e18c34752d87587541273d4d432d1 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (intern_regions): Allow for empty region-list.
(intern_dyn_info): Skip over padding rather than fetching it.
Start intern_regions() at address of first region, not just at the next
sequential address.
(unwi_dyn_remote_find_proc_info): Allocate "di" dynamically (it needs to persist
until put_unwind_info() is called).

(Logical change 1.56)
yn-remote.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)
a64/unwind_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)
a64/Ginit-ia64.c
a3806e7c16dd8e988507a7dab037cd99e74277a7 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (get_proc_name): Add "pid" argument.

(Logical change 1.56)
lfxx.h
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)
a64/Gscript-ia64.c
153f625eedfd93dbc43556606a3e7d04d86e067e 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (_UPTi_find_unwind_table): Double-check that punw is inside ptxt segment.
(get_unwind_info): Double-check to verify that returned dynamic-info is indeed
for the procedure that we requested.

(Logical change 1.56)
UPT_find_proc_info.c
cb2620b0fdfa5efdf670edd32858fba583b76c61 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (_UPT_accessors): Initialize get_proc_name callback.

(Logical change 1.56)
UPT_accessors.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)
a64/Gstep-ia64.c
1fc6f4e6b3232df3c0e695a80936f12137b731a7 26-Feb-2003 hp.com!davidm <hp.com!davidm> (unwi_dyn_remote_find_proc_info): If anything goes wrong, return -UNW_ENOINFO.
Skip over "prev_addr". Read start/end-IP directly into the "di" structure,
not into temporary variables. Skip padding by directly adjusting the
address (don't bother fetching padding values; that only slows things down).
Return 0 only if we really did find dynamic unwind info.

(Logical change 1.55)
yn-remote.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)
a64/Ginit-ia64.c
8d4f6ff52d13cf6fc90faf4e455e24337986fe25 26-Feb-2003 hp.com!davidm <hp.com!davidm> (rbs_contains): Tighten debug output.

(Logical change 1.55)
a64/unwind_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)
a64/tables-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)
a64/global-ia64.c
c4b73c6198e79df2c4c963fe7e9edda4d12dcb89 26-Feb-2003 hp.com!davidm <hp.com!davidm> (_UPT_get_dyn_info_list_addr): Add debug statements.
Correct pre-increment to post-increment.

(Logical change 1.55)
UPT_get_dyn_info_list_addr.c
2fbf4cece7771b8f85c1b400cb4298cbc34b6c1d 26-Feb-2003 hp.com!davidm <hp.com!davidm> (_UPT_access_reg): Allow reading of r0 (UNW_IA64_GR+0) to support ".save rp, r0"
idiom.

(Logical change 1.55)
UPT_access_reg.c
31c76129382a9ad0b87c29b0c1fcc3db0cdaf53e 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.54)
akefile.in
a3157347f9f39c0a6b5c348ebe856f35209df718 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unwi_get_proc_name): Drop "is_local" argument. Test "as" against
"unw_local_addr_space" instead.

}(Logical change 1.54)
et_proc_name.c
824ec536596d3119a39ed0d37087c48aba5c812d 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unwi_get_proc_name): Drop "is_local" argument. Test "as" against
"unw_local_addr_space" instead.

2003/02/21 22:03:46-08:00 mostang.com!davidm
Rename: src/get_proc_name.c -> src/Gget_proc_name.c

(Logical change 1.54)
get_proc_name.c
3434090e32e1c7c566cf82eff1a14b530e364bdc 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.54)
get_proc_name.c
5d9d17a5e86345f98a9b247081bdebb74b1f0f5a 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
get_proc_name.c
get_proc_name.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)
a64/Gparser-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)
ppa/Gget_proc_name-hppa.c
a64/Gget_proc_name-ia64.c
86/Gget_proc_name-x86.c
2f852c2e12bfc663aa9db1cf5b49bec7da8da30f 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_common): Replace get_proc_name.c with Gget_proc_name.c and
Lget_proc_name.c.

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

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

(Logical change 1.53)
a64/Gresume-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)
a64/regs.h
749cd255297c458a4f95101669f958a16c73c53c 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rbs_underflow): Remove.
(rbs_contains): New function.

(Logical change 1.52)
a64/unwind_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)
a64/rbs-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)
a64/init.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)
a64/Gstep-ia64.c
6af90d0df45daf5c20c0adc301682b4a74b0618c 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.50)
akefile.in
d8023cf208876778cd663e6b52ca80d1c4799f3f 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_set_caching_policy): Call ia64_init() first if necessary.

(Logical change 1.49)
a64/set_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)
a64/rbs-ia64.c
b8c178177a66b3279fe0b0ec60e2528b25c094f5 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> (ia64_local_resume): Remove unused variable "loadrs".

(Logical change 1.49)
a64/Gresume-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)
a64/flush_cache-ia64.c
ad066d35b75eddbc0b88e085f521e106277209a7 15-Feb-2003 hp.com!davidm <hp.com!davidm> Do nothing of UNW_REMOTE_ONLY is defined.

(Logical change 1.48)
lf32.c
lf64.c
cd6b1537ce9ad125603bf5e3afac8d41e066d75b 15-Feb-2003 hp.com!davidm <hp.com!davidm> (unwi_get_proc_name): If UNW_REMOTE_ONLY is defined and the procedure
isn't a dynamically generated one, just punt and return
-UNW_ENOINFO.

(Logical change 1.48)
et_proc_name.c
89344cf6727aba79020b5a744168881022243e4e 15-Feb-2003 hp.com!davidm <hp.com!davidm> (local_find_proc_info): Define only if not UNW_REMOTE_ONLY.

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

(Logical change 1.48)
a64/Gparser-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)
a64/rbs-ia64.c
5cef5934e87cf179a43e9cd829e80f74bb1b0c93 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> Auto merged

2003/02/13 22:21:59-08:00 mostang.com!davidm
(libunwind_la_SOURCES_ia64): Mention elf64.h.

(Logical change 1.47)
akefile.am
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)
a64/unwind_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)
a64/Gresume-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)
a64/_Uia64_install_context.S
4dca76319de8349e5ae4b00ab683ceebf0dcc716 14-Feb-2003 hp.com!davidm <hp.com!davidm> [REMOTE_ONLY]: Mention dummy "install-exec-hook".
(libunwind_la_SOURCES_cdep): Mention dyn-cancel.c and dyn-register.c.
(libunwind_la_SOURCES_common): Remove dyn-cancel.c and dyn-register.c

(Logical change 1.46)
akefile.am
49f992ac07809419614f5bd1dcc566b5c0cf4212 14-Feb-2003 hp.com!davidm <hp.com!davidm> Mention !UNW_REMOTE_ONLY on #else branch.

(Logical change 1.46)
a64/Ginit-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)
a64/flush_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)
a64/tables-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)
a64/global-ia64.c
ec91b0fce53e4de388c77d5155957e75726fda75 14-Feb-2003 hp.com!davidm <hp.com!davidm> (get_unwind_info): Remove unused arguments "pi" and "need_unwind_info".
(__UPT_find_proc_info): Adjust get_unwind_info() call accordingly.

(Logical change 1.46)
UPT_find_proc_info.c
bbffb334fd052fcf12825713c7d6229bf36fc12c 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> include <string.h>.

(Logical change 1.45)
UPT_create.c
2da7f4a5a5fc8d7b678ced37e17dc5cca929965f 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> [UNW_TARGET_IA64]: Include elf64.h and os-linux.h.
(_UPT_get_dyn_info_list_addr): Use elf_map_image() to map the elf-image.

(Logical change 1.45)
UPT_get_dyn_info_list_addr.c
425adcbda4a4b69cd629b8bfe229c8a6030ea94b 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Rewrite.

}(Logical change 1.45)
a64/__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)
a64/_Uia64_install_context.S
a8db0b3fa1eaf6922971ae5e2545347ebb0691c1 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.45)
akefile.in
824d6619b500a86ff2fc680268357f0215d59b0c 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.45)
lf32.c
lf32.h
lf64.c
lf64.h
lfxx.c
lfxx.h
a64/mk_cursor_i-ia64.c
a64/setjmp-ia64.S
a64/siglongjmp-ia64.S
a64/sigsetjmp-ia64.S
ongjmp.c
s-linux.c
s-linux.h
etjmp.c
iglongjmp.c
igsetjmp.c
5f94e2d488701fccd474245df3ad6f51aff2a05e 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
lf32.c
lf32.h
lf64.c
lf64.h
lfxx.c
lfxx.h
a64/_Uia64_install_context.S
a64/mk_cursor_i-ia64.c
a64/setjmp-ia64.S
a64/siglongjmp-ia64.S
a64/sigsetjmp-ia64.S
ongjmp.c
s-linux.c
s-linux.h
etjmp.c
iglongjmp.c
igsetjmp.c
b2a5a9023b8fa5ffeb8fb87b533d56daec817895 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Fix signed/unsigned comparisons.

(Logical change 1.45)
UPT_access_fpreg.c
a64/Gparser-ia64.c
a64/regname-ia64.c
a64/regs.h
12d13835f90f432a9120a91028e5beeea673b92b 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Enclose ia64-specific code by UNW_TARGET_IA64.
Adjust for the fact that the image info is now tracked by "struct elf_image".
(elf64_valid_object): Delete (it's now in elfxx.c.
(_UPTi_find_uwnind_table): Don't mmap the image here.
(get_unwind_info): Use tdep_get_elf_image() to obtain the ELF image.

(Logical change 1.45)
UPT_find_proc_info.c
52b17e2b3758f38271a71c1d7900cae3d3ce4937 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unwi_put_dynamic_unwind_info): Don't call unwi_dyn_remote_put_unwind_info() when
dealing with the local address space.

(Logical change 1.45)
put_dynamic_unwind_info.c
aeb517ff8a24fde489e85377501768ae2266d218 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unwi_get_proc_name): Add "offp" argument. Call tdep_get_proc_name() to look up
procedure name for static code.

(Logical change 1.45)
et_proc_name.c
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)
a64/Gresume-ia64.c
42cfe4f411ad1f33dbb51fbc99e433db99143ac4 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_get_proc_name): Add "offp" argument.

(Logical change 1.45)
a64/Gget_proc_name-ia64.c
bebd76e90b45c53034a8e2e57743f42908043281 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (struct UPT_info): Replace image/image_size members by "struct elf_image" member.
(struct map_iterator): Delete (moved to os-linux.h).
(maps_init): Ditto.
(maps_next): Ditto.
(maps_close): Ditto.

(Logical change 1.45)
UPT_internal.h
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)
a64/Gregs-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)
a64/init.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)
a64/tables-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)
a64/unwind_i.h
1d8de85964e20166cd3551241aafe4d3291e9e5f 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (_UPT_access_mem): Fix typo in debug statement.

(Logical change 1.45)
UPT_access_mem.c
ad7f1470e3ada2f6f5b2c7dc913b3cd3df4aa2c7 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (SETJMP_SO_VERSION): New macro.
(lib_LTLIBRARIES_cdep): Ditto.
(libunwind_setjmp_la_SOURCES_common): Ditto.
(libunwind_setjmp_la_LDFLAGS): Ditto.
(libunwind_setjmp_la_LIBADD): Ditto.
(libunwind_setjmp_la_SOURCES_ia64): Ditto.
(libunwind_setjmp_la_SOURCES_hppa): Ditto.
(libunwind_setjmp_la_SOURCES_x86): Ditto.
(libunwind_la_SOURCES_os): Define for OS_LINUX.
(libunwind_la_SOURCES_ia64): Mention elf64.c.
(AM_CPPFLAGS): Include from current working directory as well.
(AM_CCASFLAGS): Define to be the same as AM_CPPFLAGS.

(Logical change 1.45)
akefile.am
17220411d47e7d00ff946f325eef77397987ff3f 28-Jan-2003 mostang.com!davidm <mostang.com!davidm> (_UPT_access_reg): Fix typo in debug() statements.

(Logical change 1.44)
UPT_access_reg.c
a69cf3deb91a632efdbda5dba6212a5f5610c7ee 28-Jan-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.43)
akefile.in
e9e4e5fb29d322105e75577e11ef1cfb0dd0f9db 28-Jan-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.43)
UPT_access_fpreg.c
UPT_access_mem.c
UPT_access_reg.c
UPT_accessors.c
UPT_create.c
UPT_destroy.c
UPT_find_proc_info.c
UPT_get_dyn_info_list_addr.c
UPT_internal.h
UPT_put_unwind_info.c
UPT_reg_offset.c
b064eb45748633753e8ae8dbf6a63aeea1102d95 28-Jan-2003 hp.com!davidm <hp.com!davidm> Initial revision
UPT_access_fpreg.c
UPT_access_mem.c
UPT_access_reg.c
UPT_accessors.c
UPT_create.c
UPT_destroy.c
UPT_find_proc_info.c
UPT_get_dyn_info_list_addr.c
UPT_internal.h
UPT_put_unwind_info.c
UPT_reg_offset.c
0d4634d8fefae40b395cfbe06a2f38d28f51b5ea 28-Jan-2003 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): Rename AR_25 to AR_CSD.

(Logical change 1.43)
a64/Gget_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)
a64/regs.h
74ee8e48f04ce27867203287e99cee26bde3c389 28-Jan-2003 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_cdep): New macro. Mention _UPT routines.
(libunwind_la_SOURCES_common): Mention libunwind_la_SOURCES_cdep.

(Logical change 1.43)
akefile.am
3837469eecde220b99f87f25b515412c7c2158d9 28-Jan-2003 hp.com!davidm <hp.com!davidm> (intern_string): Change type of "i" to unsigned, to avoid compiler-warning.

(Logical change 1.43)
et_proc_name.c
ef0b937c874500e5103a4625408a006ed39c0f91 28-Jan-2003 hp.com!davidm <hp.com!davidm> (intern_regions): Change type of "i" to be unsigned, to avoid compiler-warning.
(intern_array): Ditto.

(Logical change 1.43)
yn-remote.c
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)
a64/Gregs-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)
a64/tables-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)
a64/offsets.h
93bfdaa128741e52b7a1f82f3fe5ef3b2ba733d2 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.42)
akefile.in
83893355b0ee67de7012e3b27eb51cb6a90d7029 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (update_frame_state): Handle "cfm" cache.

(Logical change 1.42)
a64/Gstep-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)
a64/regs.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)
a64/unwind_i.h
e30bf11e2c854f190b863aaa7152d71323c2a6b4 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (ia64_access_reg): Handle "cfm" cache.

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

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

(Logical change 1.41)
a64/Ginit_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)
a64/Gget_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)
a64/rbs-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)
a64/unwind_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)
a64/Gparser-ia64.c
73fd3a8d4ad28daa7cf00c1d5ac2a2a131cc3914 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (compile_reg): store register number for MOVE_STACKED.

(Logical change 1.41)
a64/Gscript-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)
a64/init.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)
a64/Gstep-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)
a64/Gregs-ia64.c
1efaaab46ee5374ad7f54e48d4246bcaa49643e3 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.40)
a64/rbs-ia64.c
81d01dfc274f83a705bc86b8799ad4e2c46383ac 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/rbs-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)
a64/__ia64_install_context.S
4f231eb84ab0a9ff0448aaba7da1e74ea98f032c 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Add copyright notice.

(Logical change 1.40)
a64/global-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)
a64/Gstep-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)
a64/regname-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)
a64/Ginit_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)
a64/Gget_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)
a64/Ginit-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)
a64/Gscript-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)
a64/unwind_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)
a64/Gresume-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)
a64/Gparser-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)
a64/init.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)
a64/Gregs-ia64.c
427c1894c289c36e1bd5099f82ef0c1ddba7a7ca 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (SOVERSION): Increment "current" to reflect change in size of unw_cursor_t.
(libunwind_la_SOURCES_ia64): Mention rbs-ia64.c.

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

(Logical change 1.39)
a64/rse.h
cb8d20c0988384fd67ed46bc6bdc5b5c3073c63a 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (unw_regname): Use NELEMS() instead of open code.

(Logical change 1.39)
86/regname-x86.c
0440c53608b69add964fda57d174742060b873db 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fix checkin lossage.

(Logical change 1.37)
akefile.in
8ec7b349f1b9c60e6657da069648a5205c85635b 14-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ppa/Gget_proc_info-hppa.c
ppa/Gget_proc_name-hppa.c
ppa/Gget_reg-hppa.c
ppa/Ginit-hppa.c
ppa/Ginit_local-hppa.c
ppa/Gregs-hppa.c
ppa/Gstep-hppa.c
ppa/Lget_proc_info-hppa.c
ppa/Lget_proc_name-hppa.c
ppa/Lget_reg-hppa.c
ppa/Linit-hppa.c
ppa/Linit_local-hppa.c
ppa/Lregs-hppa.c
ppa/Lstep-hppa.c
ppa/flush_cache-hppa.c
ppa/get_accessors-hppa.c
ppa/global-hppa.c
ppa/init.h
ppa/tables-hppa.c
ppa/unwind_i.h
f6c7a65fdb3fffed576846019f1b4fd010198231 14-Jan-2003 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_hppa): New macro.
(libunwind_la_SOURCES_x86): Move outside of "if ARCH_X86" conditional.

(Logical change 1.33)
akefile.am
6d611572ef706848cb374160567dea2a2901c5db 14-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.33)
ppa/Gget_proc_info-hppa.c
ppa/Gget_proc_name-hppa.c
ppa/Gget_reg-hppa.c
ppa/Ginit-hppa.c
ppa/Ginit_local-hppa.c
ppa/Gregs-hppa.c
ppa/Gstep-hppa.c
ppa/Lget_proc_info-hppa.c
ppa/Lget_proc_name-hppa.c
ppa/Lget_reg-hppa.c
ppa/Linit-hppa.c
ppa/Linit_local-hppa.c
ppa/Lregs-hppa.c
ppa/Lstep-hppa.c
ppa/flush_cache-hppa.c
ppa/get_accessors-hppa.c
ppa/global-hppa.c
ppa/init.h
ppa/tables-hppa.c
ppa/unwind_i.h
003246a5bae7f266cc91feb020b29a8dc2eb134c 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/mempool.h -> include/mempool.h

}(Logical change 1.32)
empool.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)
a64/Gset_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)
a64/set_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)
a64/Gdestroy_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)
a64/Gcreate_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)
a64/Lget_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)
a64/Lget_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)
a64/Gcreate_addr_space-ia64.c
993e757967202dd45f4f9cd5fe8b5255848ab84d 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/get_proc_name-ia64.c -> src/get_proc_name.c

(Logical change 1.32)
et_proc_name.c
692d6c69566f0b3eb68f039512788da752e1a3cd 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/dyn-remote-ia64.c -> src/dyn-remote.c

(Logical change 1.32)
yn-remote.c
c99441aafacc703395202245ae87f148a1134bb0 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/dyn-extract-ia64.c -> src/dyn-extract.c

(Logical change 1.32)
yn-extract.c
769bfe8a7c25d464d5fb6d71be5754d67deccfc0 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/dyn-cancel-ia64.c -> src/dyn-cancel.c

(Logical change 1.32)
yn-cancel.c
bf2c17061f3758043450a36a70783f525d371cb7 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/Lput_dynamic_unwind_info-ia64.c -> src/Lput_dynamic_unwind_info.c

(Logical change 1.32)
put_dynamic_unwind_info.c
ef0f4b583a52d5f382cc3484e809c7a0b900705d 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/Lfind_dynamic_proc_info-ia64.c -> src/Lfind_dynamic_proc_info.c

(Logical change 1.32)
find_dynamic_proc_info.c
2251685cae114af4ad34cbf50ba7bcf6fd4fc88c 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/Gput_dynamic_unwind_info-ia64.c -> src/Gput_dynamic_unwind_info.c

(Logical change 1.32)
put_dynamic_unwind_info.c
a35b8d4710bae6cf384c676c05c34e969d2b18c6 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/Gfind_dynamic_proc_info-ia64.c -> src/Gfind_dynamic_proc_info.c

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

}(Logical change 1.32)
a64/Gget_fpreg.c
a64/Gget_proc_info.c
a64/Gget_proc_name.c
a64/Gget_reg.c
a64/Gget_save_loc.c
a64/Ginit_local.c
a64/Ginit_remote.c
a64/Gis_signal_frame.c
a64/Gparser.c
a64/Gregs.c
a64/Gresume.c
a64/Gscript.c
a64/Gset_fpreg.c
a64/Gset_reg.c
a64/Gstep.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)
a64/Gstep-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)
a64/Gset_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)
a64/Gset_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)
a64/Gscript-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)
a64/Gresume-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)
a64/Gregs-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)
a64/Gparser-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)
a64/Gis_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)
a64/Ginit_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)
a64/Ginit_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)
a64/Gget_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)
a64/Gget_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)
a64/Gget_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)
a64/Gget_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)
a64/Gget_fpreg-ia64.c
c333cb0d25eca3b6c4b2ed170396df6be7a2d894 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

(Logical change 1.32)
a64/init.h
a64/regs.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)
a64/unwind_i.h
8c52e5fec15643a95a9b089606db5c3930ccf521 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

}(Logical change 1.32)
a64/Gflush_cache.c
a64/Gget_accessors.c
a64/Lcreate_addr_space.c
a64/Ldestroy_addr_space.c
a64/Lget_fpreg.c
a64/Lget_proc_info.c
a64/Lget_proc_name.c
a64/Lget_reg.c
a64/Lget_save_loc.c
a64/Linit.c
a64/Linit_local.c
a64/Linit_remote.c
a64/Lis_signal_frame.c
a64/Lparser.c
a64/Lregs.c
a64/Lresume.c
a64/Lscript.c
a64/Lset_fpreg.c
a64/Lset_reg.c
a64/Lstep.c
a64/tables.c
a64/unw_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)
a64/tables-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)
a64/regname-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)
a64/get_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)
a64/flush_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)
a64/Lstep-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)
a64/Lset_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)
a64/Lset_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)
a64/Lscript-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)
a64/Lresume-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)
a64/Lregs-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)
a64/Lparser-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)
a64/Lis_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)
a64/Linit_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)
a64/Linit_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)
a64/Linit-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)
a64/Lget_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)
a64/Lget_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)
a64/Lget_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)
a64/Lget_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)
a64/Lget_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)
a64/Ldestroy_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)
a64/Lcreate_addr_space-ia64.c
7c3e12ee43650405e4af65e45914d0240af43ebf 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.32)
akefile.in
9f32da41c322bb8943ae37e3adb9547a3520b87f 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/Gcreate_addr_space-ia64.c
a64/Gdestroy_addr_space-ia64.c
a64/Gget_fpreg-ia64.c
a64/Gget_proc_info-ia64.c
a64/Gget_proc_name-ia64.c
a64/Gget_reg-ia64.c
a64/Gget_save_loc-ia64.c
a64/Ginit-ia64.c
a64/Ginit_local-ia64.c
a64/Ginit_remote-ia64.c
a64/Gis_signal_frame-ia64.c
a64/Gparser-ia64.c
a64/Gregs-ia64.c
a64/Gresume-ia64.c
a64/Gscript-ia64.c
a64/Gset_fpreg-ia64.c
a64/Gset_reg-ia64.c
a64/Gstep-ia64.c
a64/Lcreate_addr_space-ia64.c
a64/Ldestroy_addr_space-ia64.c
a64/Lget_accessors-ia64.c
a64/Lget_fpreg-ia64.c
a64/Lget_proc_info-ia64.c
a64/Lget_proc_name-ia64.c
a64/Lget_reg-ia64.c
a64/Lget_save_loc-ia64.c
a64/Linit-ia64.c
a64/Linit_local-ia64.c
a64/Linit_remote-ia64.c
a64/Lis_signal_frame-ia64.c
a64/Lparser-ia64.c
a64/Lregs-ia64.c
a64/Lresume-ia64.c
a64/Lscript-ia64.c
a64/Lset_fpreg-ia64.c
a64/Lset_reg-ia64.c
a64/Lstep-ia64.c
a64/flush_cache-ia64.c
a64/get_accessors-ia64.c
a64/global-ia64.c
a64/regname-ia64.c
a64/set_caching_policy-ia64.c
a64/tables-ia64.c
i-init.c
86/Gget_proc_info-x86.c
86/Gget_proc_name-x86.c
86/Gget_reg-x86.c
86/Ginit-x86.c
86/Ginit_local-x86.c
86/Gis_signal_frame-x86.c
86/Gregs-x86.c
86/Gresume-x86.c
86/Gset_reg-x86.c
86/Gstep-x86.c
86/Lflush_cache-x86.c
86/Lget_accessors-x86.c
86/Lget_proc_info-x86.c
86/Lget_proc_name-x86.c
86/Lget_reg-x86.c
86/Linit-x86.c
86/Linit_local-x86.c
86/Lis_signal_frame-x86.c
86/Lregs-x86.c
86/Lresume-x86.c
86/Lset_reg-x86.c
86/Lstep-x86.c
86/flush_cache-x86.c
86/get_accessors-x86.c
86/global-x86.c
86/init.h
86/regname-x86.c
86/tables-x86.c
86/unwind_i.h
010e6701793bdfbc56c18f1b73db820ba352da89 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Delete: src/ia64/Lset_caching_policy.c

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

}(Logical change 1.32)
a64/Lflush_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)
a64/Gdestroy_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)
a64/Ginit.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)
a64/Ginit-ia64.c
3ae9b81f524475162e8c31c3da39f1ca268c21fb 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_common): Drop dyn-local.c, mention mi-init.c, mempool.c.
(libunwind_la_SOURCES_x86): Add.

(Logical change 1.32)
akefile.am
a85267d16bbb01ee8d6c5b23bde75ac4c23bf116 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.32)
a64/global-ia64.c
i-init.c
86/Gget_proc_info-x86.c
86/Gget_proc_name-x86.c
86/Gget_reg-x86.c
86/Ginit-x86.c
86/Ginit_local-x86.c
86/Gis_signal_frame-x86.c
86/Gregs-x86.c
86/Gresume-x86.c
86/Gset_reg-x86.c
86/Gstep-x86.c
86/Lflush_cache-x86.c
86/Lget_accessors-x86.c
86/Lget_proc_info-x86.c
86/Lget_proc_name-x86.c
86/Lget_reg-x86.c
86/Linit-x86.c
86/Linit_local-x86.c
86/Lis_signal_frame-x86.c
86/Lregs-x86.c
86/Lresume-x86.c
86/Lset_reg-x86.c
86/Lstep-x86.c
86/flush_cache-x86.c
86/get_accessors-x86.c
86/global-x86.c
86/init.h
86/regname-x86.c
86/tables-x86.c
86/unwind_i.h
3ec98c2032674de08e0aeb4b0d0f4ecf019c4bae 18-Dec-2002 mostang.com!davidm <mostang.com!davidm> Delete: src/dyn-local.c

}(Logical change 1.31)
yn-local.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)
a64/tables.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)
a64/Ginit.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)
a64/unw_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)
a64/Gset_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)
a64/unw_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)
a64/Gset_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)
a64/unw_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)
a64/Gset_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)
a64/unw_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)
a64/Ginit_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)
a64/unw_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)
a64/Ginit_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)
a64/unw_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)
a64/Gget_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)
a64/unw_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)
a64/Gget_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)
a64/unw_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)
a64/Gget_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)
a64/unw_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)
a64/Gflush_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)
a64/unw_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)
a64/Gdestroy_addr_space.c
51e4d340758fe0491e8b9e5d05e05735d2d47bc2 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.30)
akefile.in
78306c6f140c57f45336f77ef72d027887632581 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Move pthread-locking stuff to "internal.h".
(_U_dyn_info_list_lock): Rename from "registration_lock" and change from r/w-lock
to a simple mutex (spin) lock.
(_U_dyn_register): Insert into doubly-linked list.

(Logical change 1.30)
yn-register.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)
a64/unwind_i.h
793c8a3005c4c0da52d4eb098b37e25b35e98974 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
find_dynamic_proc_info.c
put_dynamic_unwind_info.c
find_dynamic_proc_info.c
put_dynamic_unwind_info.c
yn-cancel.c
yn-extract.c
yn-remote.c
et_proc_name.c
a64/Gcreate_addr_space.c
a64/Gdestroy_addr_space.c
a64/Gflush_cache.c
a64/Gget_accessors.c
a64/Gget_fpreg.c
a64/Gget_proc_info.c
a64/Gget_proc_name.c
a64/Gget_reg.c
a64/Gget_save_loc.c
a64/Ginit.c
a64/Ginit_local.c
a64/Ginit_remote.c
a64/Gis_signal_frame.c
a64/Gparser.c
a64/Gregs.c
a64/Gresume.c
a64/Gscript.c
a64/Gset_caching_policy.c
a64/Gset_fpreg.c
a64/Gset_reg.c
a64/Gstep.c
a64/Lcreate_addr_space.c
a64/Ldestroy_addr_space.c
a64/Lflush_cache.c
a64/Lget_accessors.c
a64/Lget_fpreg.c
a64/Lget_proc_info.c
a64/Lget_proc_name.c
a64/Lget_reg.c
a64/Lget_save_loc.c
a64/Linit_local.c
a64/Linit_remote.c
a64/Lis_signal_frame.c
a64/Lresume.c
a64/Lset_caching_policy.c
a64/Lset_fpreg.c
a64/Lset_reg.c
a64/Lstep.c
d3147b1f2c886820d17b8e81b176a76552b14755 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Encode the address of _U_dyn_info_list in a special (no-op) unwind-table entry,
so that a remote-unwinder can find it.

(Logical change 1.30)
yn-local.c
75c710131e9f5ffaf0ed5058dc656200abd21964 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Delete: src/dyn-common.h

}(Logical change 1.30)
yn-common.h
83fca930d88e7d574fbc5c06756d8a9dd77a621a 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Compile only if UNW_REMOTE_ONLY is not defined.

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

}(Logical change 1.30)
a64/Lunw_create_addr_space.c
a64/Lunw_destroy_addr_space.c
a64/Lunw_flush_cache.c
a64/Lunw_get_accessors.c
a64/Lunw_get_fpreg.c
a64/Lunw_get_proc_info.c
a64/Lunw_get_reg.c
a64/Lunw_get_save_loc.c
a64/Lunw_init_local.c
a64/Lunw_init_remote.c
a64/Lunw_is_signal_frame.c
a64/Lunw_resume.c
a64/Lunw_set_caching_policy.c
a64/Lunw_set_fpreg.c
a64/Lunw_set_reg.c
a64/Lunw_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)
a64/Lstep.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)
a64/Lset_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)
a64/Lset_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)
a64/Lset_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)
a64/Lresume.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)
a64/Lis_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)
a64/Linit_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)
a64/Linit_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)
a64/Lget_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)
a64/Lget_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)
a64/Lget_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)
a64/Lget_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)
a64/Lget_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)
a64/Lflush_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)
a64/Ldestroy_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)
a64/Lcreate_addr_space.c
a3b302887419a986ffcc7b84874fad3f50f64cda 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

(Logical change 1.30)
a64/Linit.c
a64/Lparser.c
a64/Lregs.c
a64/Lscript.c
c23934ce5f8e2a19eb2c00fe14d6933d28b86c64 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file rename.

}(Logical change 1.30)
a64/Lunw_find_dynamic_proc_info.c
d396b65116026d738a2724d64359b5a04c16703b 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file rename.

2002/12/11 18:56:22-08:00 mostang.com!davidm
Rename: src/ia64/Lfind_dynamic_proc_info.c -> src/Lfind_dynamic_proc_info.c

(Logical change 1.30)
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)
a64/unw_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)
a64/Gstep.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)
a64/regs.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)
a64/Gregs.c
d3da35636843c825c90f6d15d708c01e23667024 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Add copyright header and forward-declration of ia64_cursor.

}(Logical change 1.30)
a64/script.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)
a64/unw_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)
a64/Gresume.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)
a64/init.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)
a64/Ginit.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)
a64/unw_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)
a64/Gis_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)
a64/unw_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)
a64/Gget_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)
a64/unw_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)
a64/Gget_accessors.c
8c72d1c2771d1f9aad609b9c169e77aed15b54b7 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_create_addr_space): Support "byte_order" argument.

}(Logical change 1.30)
a64/unw_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)
a64/Gcreate_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)
a64/script.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)
a64/Gscript.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)
a64/unw_find_dynamic_proc_info.c
ea3b3225d8bdac8c89dcd3b0700ba3e0c02a96c2 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (local_find_proc_info): New function.
(remote_find_proc_info): Ditto.

2002/12/11 18:56:18-08:00 mostang.com!davidm
Rename: src/ia64/Gfind_dynamic_proc_info.c -> src/Gfind_dynamic_proc_info.c

(Logical change 1.30)
find_dynamic_proc_info.c
afd39636d6ace0601483ec52fad626342ae7a1b4 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_common): Add get_proc_name.c, dyn-cancel.c, dyn-extract.c,
{G,L}find_dynamic_proc_info, and {G,L}put_dynamic_unwind_info.
(libunwind_la_SOURCES): Rename generic files that get compiled twice from
unw_foo to Gfoo. Similarly, rename local-only files from Lunw_foo
to Lfoo.

(Logical change 1.30)
akefile.am
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)
a64/tables.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)
a64/parser.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)
a64/Gparser.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)
a64/init.h
653c9006ac876d521a4caf36de57089f0a74c6af 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.30)
put_dynamic_unwind_info.c
put_dynamic_unwind_info.c
yn-cancel.c
yn-extract.c
yn-remote.c
et_proc_name.c
a64/Gget_proc_name.c
a64/Lget_proc_name.c
57f5fae02b37474072d36b200530a34a84644309 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.29)
akefile.in
b691bb13009ffeb2e93261f7c879e4e93b646e18 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.29)
yn-common.h
yn-local.c
yn-register.c
a64/Lunw_find_dynamic_proc_info.c
a64/Lunw_get_accessors.c
a64/Lunw_get_proc_info.c
a64/unw_find_dynamic_proc_info.c
a64/unw_get_accessors.c
a64/unw_get_proc_info.c
612e33825c83aa606bfd7198df3cdbf9782cf1c9 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
yn-common.h
yn-local.c
yn-register.c
a64/Lunw_find_dynamic_proc_info.c
a64/Lunw_get_accessors.c
a64/Lunw_get_proc_info.c
a64/tables.c
a64/unw_find_dynamic_proc_info.c
a64/unw_get_accessors.c
a64/unw_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)
a64/unw_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)
a64/unw_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)
a64/unw_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)
a64/tables-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)
a64/tables.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)
a64/script.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)
a64/unwind_i.h
58752cbc7681b8a23774f8bce94dd053eb3ee735 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_common): Mention dyn-common.h, dyn-local.c, and dyn-register.c.
(libunwind_la_SOURCES_ia64): Rename tables-glibc.c to tables.c. Mention
unw_find_dynamic_proc_info.c, unw_get_accessors, and local-only variants.

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

(Logical change 1.29)
a64/unw_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)
a64/regs.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)
a64/script.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)
a64/parser.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)
a64/init.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)
a64/init.c
acdc3566a48cd45618c137efcaee8bcff9396ece 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.27)
akefile.in
9f4a51e8cf9817fa38a8fa04523c00db84d84907 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Mention new files.

(Logical change 1.27)
akefile.am
f277006b837c8b5b24c60c0bc710e28ef3861db4 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.27)
a64/Lunw_create_addr_space.c
a64/Lunw_destroy_addr_space.c
a64/unw_create_addr_space.c
a64/unw_destroy_addr_space.c
f6ba78341f87845e4b121f196135799106b8b9d0 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/Lunw_create_addr_space.c
a64/Lunw_destroy_addr_space.c
a64/unw_create_addr_space.c
a64/unw_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)
a64/unw_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)
a64/init.c
1481ba336b2893600aab1daf44dfc478316be2ae 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (unw_init_remote): Adjust for new interface.

(Logical change 1.27)
a64/unw_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)
a64/unw_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)
a64/unw_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)
a64/unw_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)
a64/unw_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)
a64/parser.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)
a64/script.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)
a64/init.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)
a64/regs.c
990790c880ff486703c12e6150e54117f0cd323d 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (

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

(Logical change 1.26)
acktrace.c
a64/__ia64_install_context.S
a64/init.c
a64/init.h
a64/parser.c
a64/regs.c
a64/script.c
a64/script.h
a64/tables-glibc.c
a64/ucontext_i.h
a64/unw_get_fpreg.c
a64/unw_get_reg.c
a64/unw_init_local.c
a64/unw_init_remote.c
a64/unw_is_signal_frame.c
a64/unw_resume.c
a64/unw_set_fpreg.c
a64/unw_set_reg.c
a64/unw_step.c
a64/unwind_decoder.h
a64/unwind_i.h
empool.h
c2262737f7313096b2aaa1ebbd3c7ae062005ba2 14-Nov-2002 model.com!marky <model.com!marky> Fix typo in ia64_put()

(Logical change 1.24)
a64/unwind_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)
a64/unwind_i.h
aca9360701ca47398ae72fd50a4ccb65fdbc35ab 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.22)
a64/Lunw_flush_cache.c
a64/Lunw_set_caching_policy.c
a64/unw_flush_cache.c
a64/unw_set_caching_policy.c
e04493ac30c7b4b3fabccd50329d9ef6fecb44ba 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/Lunw_flush_cache.c
a64/Lunw_set_caching_policy.c
a64/unw_flush_cache.c
a64/unw_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)
a64/init.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)
a64/script.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)
a64/script.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)
a64/unwind_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)
a64/unw_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)
a64/regs.c
aa54b9f4a84ac643224c97b7f3d97c79d04d83fc 27-Sep-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.20)
akefile.in
27cce009640d953f71eb607db7ad6721c5a569d5 27-Sep-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
akefile.in
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)
a64/unwind_i.h
b4d191544aa1337cb3945ab19100413a0b05e30b 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Keep list of things to test.

(Logical change 1.19)
a64/TODO
dd3c681c6a60f6f26125d6a7ce42f53c54a41101 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.19)
empool.c
empool.h
5b6078357d227c20b37bda66ba0776076a7920b5 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
empool.c
empool.h
b04ff63c652ef194234b3ac61c08895d37e01031 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (update_frame_state): Print debug output when catching sigcontext location.

(Logical change 1.19)
a64/unw_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)
a64/unw_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)
a64/parser.c
641d80190579b579fcb0483c4768db7cdd545b04 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_common): Mention mempool.h and mempool.c.

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

(Logical change 1.19)
a64/init.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)
a64/regs.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)
a64/tables-glibc.c
9ac7c9cda2cb9305d6a20679f92d8873f7b325b6 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (common_int): Explicitly declare return type as "int".

(Logical change 1.19)
a64/init.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)
a64/regs.c
c0a60b6f82c7b72ac6a50db8ddd420ac1b5e57e6 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.18)
a64/Lunw_is_signal_frame.c
f7381ce536dc3bfd7302c549baaf5c9920d62b03 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/Lunw_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)
a64/init.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)
a64/unw_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)
a64/unw_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)
a64/unw_get_save_loc.c
563bccbf75901c7af98525cb5324d4c9034d371c 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (struct ia64_cursor): Add sigcontext_loc.

(Logical change 1.18)
a64/unwind_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)
a64/regs.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)
a64/parser.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)
a64/tables-glibc.c
c56126ea7b28a3c91ec7dada4eb0f13b022b6ba4 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (common_init): Initialize c->sigcontext_loc to zero.

(Logical change 1.18)
a64/init.h
a6d51ee1a658b552033a077de937830239b4b1dd 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (SOVERSION): New macro.
(install-exec-hook): Use this hook to create symlinks from architecture-specific
library name to default name (libunwind.a/libunwind.so).
(libunwind_la_SOURCES_ia64): Mention unw_is_signal_frame.c and Lunw_is_signal_frame.c.
(libunwind_la_SOURCES): Drop.
(libunwind_ia64_la_LDFLAGS): New macro.
(libunwind_ia32_la_LDFLAGS): New macro.
(libunwind_la_LDFLAGS): Drop.

(Logical change 1.18)
akefile.am
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)
a64/unw_regname.c
00abcc6dc3d7b9b7561a92fa5998beb8f6f9e0c2 19-Apr-2002 mostang.com!davidm <mostang.com!davidm> Always install library as libunwind-$(ARCH).a. Need to find a way to create
an alias, though.

(Logical change 1.17)
akefile.am
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)
a64/unw_init_local.c
e5a27266862e523546f01ab0512cba1f13af07b0 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> Rename shared.c to unw_regname.c.

(Logical change 1.16)
akefile.am
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)
a64/unw_regname.c
27cb8c28449f5010e2355c180474d7a217afb37e 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/unw_regname.c
82248d8a12b923c746051c6171965bf961bc559c 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> Change prefix from _U_ia64 to _Uia64.

(Logical change 1.16)
a64/tables-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)
a64/shared.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)
a64/unwind_i.h
73645af561319e580ba285d4eb49129dffddd273 12-Apr-2002 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_ia64): Mention ia64/regs.h.

(Logical change 1.14)
akefile.am
cc5ee5947ac4d3db60be829ba6b391256897e422 06-Apr-2002 hp.com!davidm <hp.com!davidm> Update.

(Logical change 1.12)
a64/TODO
6432d81f05c0d660e2b713016f255a837b4826ee 06-Apr-2002 hp.com!davidm <hp.com!davidm> Multi-architecture support.

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

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

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

(Logical change 1.11)
a64/init.h
b682349b33c86364669bd4e1016075695507d567 03-Apr-2002 hp.com!davidm <hp.com!davidm> (Logical change 1.10)
a64/Lunw_get_save_loc.c
a64/regs.h
3b315369bcf6e55ccffd9c5df40003ba991d06d6 03-Apr-2002 hp.com!davidm <hp.com!davidm> Initial revision
a64/Lunw_get_save_loc.c
a64/regs.h
4e41f21f65d3c492bf990c8196237fef864997e5 03-Apr-2002 hp.com!davidm <hp.com!davidm> Fix typo in comment.

(Logical change 1.10)
a64/unwind_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)
a64/unw_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)
a64/regs.c
1bb24a283fb87b5dbc97dd1d0cb335901082b088 03-Apr-2002 hp.com!davidm <hp.com!davidm> (AM_CPPFLAGS): Define.
(libunwind_la_SOURCES): Mention unw_get_save_loc.c and Lunw_get_save_loc.c.

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

(Logical change 1.9)
a64/regs.c
42f9c357a883476f925ed81ca1399828790c12b3 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Mention unw_get_fpreg.c and unw_set_fpreg.c.

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

(Logical change 1.9)
a64/TODO
6f514a672633048b2f6eb2e9b2353643bd4c444a 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.9)
a64/Lunw_get_fpreg.c
a64/Lunw_set_fpreg.c
a64/unw_get_fpreg.c
a64/unw_get_save_loc.c
a64/unw_set_fpreg.c
3d5c9efd1e3208252665ba8e6200a17b8473e76d 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/Lunw_get_fpreg.c
a64/Lunw_set_fpreg.c
a64/unw_get_fpreg.c
a64/unw_get_save_loc.c
a64/unw_set_fpreg.c
883ce4ca59f75d0956ba3d3ae2916015ae6eed97 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Drop useless STAT() call.

(Logical change 1.9)
a64/unw_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)
a64/unwind_i.h
59f4f0d4c12883ae3d6c7cd805789f4b28e6a478 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Move sharable stuff into shared.c.

(Logical change 1.8)
a64/init.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)
a64/tables-glibc.c
3083f408428ac6c1de1428295748f81371ec3a3c 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
a64/Linit.c
a64/Lparser.c
a64/Lregs.c
a64/Lscript.c
a64/Lscript.c~
a64/Lunw_get_reg.c
a64/Lunw_init_local.c
a64/Lunw_init_remote.c
a64/Lunw_resume.c
a64/Lunw_set_reg.c
a64/Lunw_step.c
a64/init.h
a64/shared.c
97ae3ba79aeb53a3d497f711b27c8822f90427e6 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Define UNW_LOCAL_ONLY before including libunwind.h.

(Logical change 1.8)
acktrace.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)
a64/regs.c
83b038d4aa71244bbea1c1def25aab98938499c7 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Add local-only variants of files (Lfoo.c).
Add ia64/shared.c and ia64/init.h.

(Logical change 1.8)
akefile.am
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)
a64/unw_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)
a64/unw_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)
a64/unw_init_local.c
5e34685f1847c7b616bee0055176231ef5012d37 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.8)
a64/Linit.c
a64/Lparser.c
a64/Lregs.c
a64/Lregs.c~
a64/Lscript.c
a64/Lscript.c~
a64/Lunw_get_reg.c
a64/Lunw_get_reg.c~
a64/Lunw_init_local.c
a64/Lunw_init_remote.c
a64/Lunw_resume.c
a64/Lunw_set_reg.c
a64/Lunw_step.c
a64/init.h
a64/shared.c
468db8fdeae24bb934c7ac7b7714a9b978d12d07 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> mvdir

}(Logical change 1.7)
ests/bt.c
ests/exc.c
ests/sig.c
ests/verify.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)
a64/unwind_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)
a64/unwind_decoder.h
95ce9146a75cc7e572842af61519fed591264a38 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
akefile.am
a64/unwind_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)
a64/parser.c
1888c151fc8a42809c8e483b18cf49d197b0db56 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Delete: tests/Makefile

}(Logical change 1.7)
ests/Makefile
02acb8d4dd229ac4af569d0ef63d88c1f0758c29 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Delete: src/Makefile

}(Logical change 1.7)
akefile
1a9fe6168df55990771e82024273d0992ad6a706 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.7)
akefile.am
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)
a64/parser.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)
a64/rse.h
a8d1c7c6e97ed02950f8a4a2eac08e693bc49535 22-Feb-2002 (none)!davidm <(none)!davidm> Set HOSTARCH to the host architecture and pass it on to subdirectories.
Build backtrace.o only when doing a native (local) build.

(Logical change 1.5)
akefile
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)
a64/unwind_i.h
143ace01a8f2bc773d378a6a5e7170f80134ce66 22-Feb-2002 (none)!davidm <(none)!davidm> Rename IA64_INSN_MOVE_SIGCONTEXT to IA64_INSN_MOVE_SCRATCH.

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

(Logical change 1.5)
a64/init.c
4224f76cfd2edcd761db73be13a57576d85e6dc1 22-Feb-2002 (none)!davidm <(none)!davidm> Initial revision
a64/offsets.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)
a64/regs.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)
a64/unw_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)
a64/unw_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)
a64/unw_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)
a64/tables-glibc.c
4588bf926d4b63b9b03e05049da3fdead124dfec 22-Feb-2002 (none)!davidm <(none)!davidm> Build only if UNW_REMOTE_ONLY is not defined.

(Logical change 1.5)
a64/__ia64_install_context.S
fcb6a7d2721fa37f6a1213f231120802e1cd701d 22-Feb-2002 (none)!davidm <(none)!davidm> Build bt and exc programs only during native builds.

(Logical change 1.5)
ests/Makefile
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)
a64/unw_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)
a64/script.c
73c10de341a80823fbd6e15503fe1813a918929f 22-Feb-2002 (none)!davidm <(none)!davidm> (Logical change 1.5)
a64/offsets.h
444b815950bbde98ab81800cf07923093566cc2a 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> Clarify comment about proc_info.

(Logical change 1.4)
a64/NOTES
7fbfe0a255eb7ff3f27efa5adc6ed69dab471ecf 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.3)
akefile
acktrace.c
a64/NOTES
a64/TODO
a64/__ia64_install_context.S
a64/init.c
a64/parser.c
a64/regs.c
a64/rse.h
a64/script.c
a64/script.h
a64/tables-glibc.c
a64/ucontext_i.h
a64/unw_get_reg.c
a64/unw_init_local.c
a64/unw_init_remote.c
a64/unw_is_signal_frame.c
a64/unw_resume.c
a64/unw_set_reg.c
a64/unw_step.c
a64/unwind_decoder.c
a64/unwind_i.h
ests/Makefile
ests/bt.c
ests/exc.c
ests/sig.c
ests/verify.c
63669f7ad4fc6eb752c88713235e2438a8e327d5 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
akefile
acktrace.c
a64/NOTES
a64/TODO
a64/__ia64_install_context.S
a64/init.c
a64/parser.c
a64/regs.c
a64/rse.h
a64/script.c
a64/script.h
a64/tables-glibc.c
a64/ucontext_i.h
a64/unw_get_reg.c
a64/unw_init_local.c
a64/unw_init_remote.c
a64/unw_is_signal_frame.c
a64/unw_resume.c
a64/unw_set_reg.c
a64/unw_step.c
a64/unwind_decoder.c
a64/unwind_i.h
ests/Makefile
ests/bt.c
ests/exc.c
ests/sig.c
ests/verify.c