History log of /external/libunwind/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
303573bacd558f7be18eaf84502cba1f82bbbcd5 17-Nov-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to lmp-mr1-dev
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
rc/Los-common.c
rc/mi/Lmap.c
b16594079b340692e0b6104333c6e8b7de743b3f 08-Nov-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to 23c6aa9a54d0a220fb2557197c555b2684c93876
a44385058e78007fcf4136f2c582ae630e38a08a 06-Nov-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to 23c6aa9a54d0a220fb2557197c555b2684c93876
b1f76f1e8c0b0601d5fde26c56f35fa865c78373 05-Nov-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to 23c6aa9a54d0a220fb2557197c555b2684c93876
c4187559385d45ef0925322383f0d98d5fbbb937 04-Nov-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to 23c6aa9a54d0a220fb2557197c555b2684c93876
776bbf10218d4674d423c8b82497c9672d0fcc2b 03-Nov-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to 23c6aa9a54d0a220fb2557197c555b2684c93876
c536a722aeecfd8bb8eb2335cbf27c555dcfe74b 02-Nov-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to 23c6aa9a54d0a220fb2557197c555b2684c93876
27de7a415fe15dc68678da4d785d20285f213142 01-Nov-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to 23c6aa9a54d0a220fb2557197c555b2684c93876
705b013ba43c2ae91fae3eb3ba1e570ae5709327 30-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to 23c6aa9a54d0a220fb2557197c555b2684c93876
eab8e2299797cff1a623122619bbf657673482ac 29-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to 23c6aa9a54d0a220fb2557197c555b2684c93876
29bfca34e76fe16e901a7b6763d1759de8a1039f 28-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to 1e549bb0cef88f170cbbbd273212f45cf8f9af43
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
rc/aarch64/Gis_signal_frame.c
rc/aarch64/Gstep.c
rc/arm/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
rc/aarch64/Gis_signal_frame.c
37b0e0b97beb6f001a9a23489e3c6c7d2d3db406 27-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
152eac5d4861981776971cda32d5cb03549c4623 26-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
47049a8a76d266b4f8baf87fed3084cab7bd404e 25-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
2b9137ae9a07adf9becbd2c9105d4b0263274f2c 23-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
d92b66d7777fa265ee1ebba9c105940ca77556d7 22-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
ae7d069b1cce038e5010752b0a6f0b73e3932a70 21-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
f5b995cd11df4d8f8f0cca4476f425de298018e5 20-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
659894a88ae0f786b831b492eeaeaf98f28d8cab 19-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
72607bdaeaa3b873aacb2fb44ead4434b8f81926 18-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
e543b01fb9173c0974211597f15e17a159224836 16-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
8dcd9de63aacda20d1159b75a4ad5942858388a8 15-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
c47122901bfe4f29d61a85e7c05a7bf48bf5919e 14-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
0cc68fe19f38254112c3cf60aaa3af7b2c067fec 13-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
db61071941bb38ee43e33020034380db32e188f1 12-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
909a449563792a85c5422565cb80a826a04c2714 11-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
52ac21501acf9d0dcb3907d6f27807adc3d68ff7 09-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
8d5099f85dc2da5a08e1992c688d04c2006fd64e 08-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
4199ca845401fcbf90639cb580ed3ed557370eae 07-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
af9eb75d469465d24bfc8acdda2a3f1745e1739e 06-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
845c518cc4fb50a43034137253d26550f785799d 05-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
c729620909d4b25202ac190dcacbbc1300963372 04-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
6255075bed5db0b7287e7cc2f52d390cdc144cdc 02-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
116e1616c5e8f6898f0c484de4c0913fd14a26b9 01-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
a052705f904c73843d98d1bdbb486e907ebbc654 30-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
1db051c34100ade0f86c444b54f86b3c3b46faf7 29-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
53c66fab5f82ab4e980987f321954f66cabe2ed5 28-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
e65bff19fbad1e17d19f3f0b49ff2c9392fa5d56 27-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to e5f01b69475e06adb460e999fcb96f7b6cb5cbc0
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
rc/arm/Gex_tables.c
f4edfddae7b3700596297bd5acf70da4867b00fb 25-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to f360ccc06f3f086f41cf6ba4036b52571ed2a54f
67fb53a56d149a919879a83643688714c153c752 24-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to f360ccc06f3f086f41cf6ba4036b52571ed2a54f
7975160fa651521664d710357fa7b8714401c0a7 24-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to f360ccc06f3f086f41cf6ba4036b52571ed2a54f
5bc86fbfdfba6d218e6b7e0244db30debb4e7182 23-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to f360ccc06f3f086f41cf6ba4036b52571ed2a54f
e29977c27aabe44a235a367a07220f234c068e73 22-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to f360ccc06f3f086f41cf6ba4036b52571ed2a54f
6e66a9b2fa4d396c5545ef37e49b662a18c59596 22-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to f360ccc06f3f086f41cf6ba4036b52571ed2a54f
a92cd1642bba0fa087e9783a290ace15562b69ca 22-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-mr1-release history after reset to f360ccc06f3f086f41cf6ba4036b52571ed2a54f
b2d5f36954de9f5d20dc82596aa5dc1d38441506 15-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to f360ccc06f3f086f41cf6ba4036b52571ed2a54f
373b0fc4a904e0598e18647ff60c84d847ecdeba 14-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to f360ccc06f3f086f41cf6ba4036b52571ed2a54f
0b3599a487ffb7ffdd4e62dc95870fb801773867 13-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to a9162906f262477fd187704cfe5819e8c323c60d
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
nclude/map_info.h
rc/Los-common.c
rc/os-linux.c
a9162906f262477fd187704cfe5819e8c323c60d 20-Jun-2014 Christopher Ferris <cferris@google.com> am aa94648f: New library for _Unwind_XX functions.

* commit 'aa94648f22d1e58963d6145de9b2702a9806fdfd':
New library for _Unwind_XX functions.
aa94648f22d1e58963d6145de9b2702a9806fdfd 19-Jun-2014 Christopher Ferris <cferris@google.com> New library for _Unwind_XX functions.

Move the _Unwind_XX functions out of the normal libunwind libary and
in a library of its own.

Bug: 15618209

Change-Id: Ifb64757b4418ccd9f630dc20507c81278d5e112b
ndroid.build.mk
ndroid.mk
5a3c06ee5e619416722a2380ecb11a22e016e563 17-Jun-2014 Christopher Ferris <cferris@google.com> am 31ec2c64: Fix host multilib support.

* commit '31ec2c64b2c60bb82021607fc52a09f54d940e77':
Fix host multilib support.
31ec2c64b2c60bb82021607fc52a09f54d940e77 14-Jun-2014 Christopher Ferris <cferris@google.com> Fix host multilib support.

This was kludged a bit to get 64 bit host builds working. This
cleans everything up so it all works properly.

Change-Id: Ic86b1ca1ef563902f71cb77c8d55a5d5b28b47b7
ndroid.build.mk
ndroid.mk
c8439aa44140b0dde975dc9e722204f0cda0fb17 11-Jun-2014 Duane Sand <duane.sand@imgtec.com> am 5cd02e1e: [MIPS64] Enable mips64 build for n64 abi.

* commit '5cd02e1e4908b0b8d08a64c247e97cc17ee8fedf':
[MIPS64] Enable mips64 build for n64 abi.
9035ee4aff4ff2a8497de6ffb476e0530043a4e3 11-Jun-2014 Christopher Ferris <cferris@google.com> am 60c0e104: Fix ip adjust on aarch64.

* commit '60c0e104182996ce3739e3377d1f8f3f706853ca':
Fix ip adjust on aarch64.
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
ndroid.mk
rc/mips/Gcreate_addr_space.c
rc/mips/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
rc/aarch64/Gstep.c
d6fdbbac69ba125a83b078296752b0399b942367 05-Jun-2014 Ian Rogers <irogers@google.com> am af7a2975: Build libunwind with host multilib support.

* commit 'af7a29756b048becfe52d44032f1b7b033407d3d':
Build libunwind with host multilib support.
af7a29756b048becfe52d44032f1b7b033407d3d 05-Jun-2014 Ian Rogers <irogers@google.com> Build libunwind with host multilib support.

Change-Id: Ic30de0c7dda367b6d0067c0cfe1a74ae27eeecb5
ndroid.build.mk
ndroid.mk
b913c98e16caeca605a60dd47d269c107d1ff0b1 28-May-2014 Calin Juravle <calin@google.com> am b8c41be3: Merge "Fix FPREGS_MEM offset on x86."

* commit 'b8c41be3236bd92c11b505ab78f4be194539125b':
Fix FPREGS_MEM offset on x86.
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
rc/x86/offsets.h
af2d139f54048262121a40b19c99f07ebabceb47 27-May-2014 Ian Rogers <irogers@google.com> am 97cfce23: Fix mac build.

* commit '97cfce23662576d0bf57779325603659d845513f':
Fix mac build.
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
ndroid.mk
rc/unwind/BacktraceWrapper.c
510ed8f68a881e8f42e671c300444062f36038ad 26-May-2014 Christopher Ferris <cferris@google.com> am 1acb3f0c: Do not save/restore signals around locks.

* commit '1acb3f0c936b75afede6795288a745ce7343fa8d':
Do not save/restore signals around locks.
1acb3f0c936b75afede6795288a745ce7343fa8d 25-May-2014 Christopher Ferris <cferris@google.com> Do not save/restore signals around locks.

The unwind code defaults to saving and restoring signals around locks.
Unfortunately, this causes problems with art and dumping the stack
traces of running threads. With this enabled, sometimes the SIGQUIT
signal winds up being unhandled and killing the process instead of
just dumping the thread stack.

Bug: 14229281
Change-Id: I96092f234e84db754ca63032327b0ceb2d2107f0
nclude/config.h
9fc08cdc74186f72ff7e4ebbf1107dc25ff20f60 23-May-2014 Ying Wang <wangying@google.com> am eb25b732: Fix host multilib build.

* commit 'eb25b732362a0a0da8ee7d15f7c31f10a1313e4f':
Fix host multilib build.
4efe6da40f2cb45c7da99d23654c8e2ff68bd98c 23-May-2014 Dan Albert <danalbert@google.com> am 7cb7cbca: Work around for duplicate symbols in static libs

* commit '7cb7cbcacbc28bb5dadb471cbbda856a9d3e25cd':
Work around for duplicate symbols in static libs
eb25b732362a0a0da8ee7d15f7c31f10a1313e4f 21-May-2014 Ying Wang <wangying@google.com> Fix host multilib build.

Bug: 13751317
Change-Id: Ic0dd1436e048d8498e58beebeba2ea3b1030aa73
ndroid.build.mk
ndroid.mk
7cb7cbcacbc28bb5dadb471cbbda856a9d3e25cd 23-May-2014 Dan Albert <danalbert@google.com> Work around for duplicate symbols in static libs

Bug: 15110069
Change-Id: I24757ad60d94ac250065e2680871d0059e8c240d
ndroid.mk
rc/dwarf/Gstep_dwarf.c
rc/dwarf/Lstep_dwarf.c
7b240c746cd3e656aaaf5c37a28669fb15095e18 22-May-2014 Elliott Hughes <enh@google.com> am 7e10fa72: Fix building libunwind with debug := true.

* commit '7e10fa72f0d9e6160b917a62d9d91a87c9b47ffb':
Fix building libunwind with debug := true.
7e10fa72f0d9e6160b917a62d9d91a87c9b47ffb 22-May-2014 Elliott Hughes <enh@google.com> Fix building libunwind with debug := true.

Change-Id: I1d72e942f6d28c34e08cdef133111307670bef2c
nclude/libunwind_i.h
rc/arm/Gstep.c
0366bec08e483763fbcf9b0476ee04b34eb69d93 16-May-2014 Calin Juravle <calin@google.com> am ad3ab9b2: Merge "Populate ucontext_t#fpregs_mem when getting the context"

* commit 'ad3ab9b2720cdcddf25643b61f3d654db5ff084b':
Populate ucontext_t#fpregs_mem when getting the context
ad3ab9b2720cdcddf25643b61f3d654db5ff084b 16-May-2014 Calin Juravle <calin@google.com> Merge "Populate ucontext_t#fpregs_mem when getting the context"
350d82c309932003383bae5a0d54c094cc21b1ca 16-May-2014 Ying Wang <wangying@google.com> am acd3a06a: The build system now supports host arch x86_64.

* commit 'acd3a06a816207de25ee9fc03fece99f35b533b5':
The build system now supports host arch x86_64.
acd3a06a816207de25ee9fc03fece99f35b533b5 24-Apr-2014 Ying Wang <wangying@google.com> The build system now supports host arch x86_64.

Bug: 13751317
Change-Id: Ifa1137b120ad3db5e3659431aac9efe8bae59009
ndroid.mk
87be0544f744ca52e3354b738596dcf72962232e 14-May-2014 Calin Juravle <calin@google.com> Populate ucontext_t#fpregs_mem when getting the context

Bug: 12828904
Change-Id: Iecee79d149a2d9009a565fec26690d5c7ef1734a
rc/x86/getcontext-linux.S
rc/x86_64/getcontext.S
47b77c0234129a2fd721eabe50bace99a750df0f 13-May-2014 Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> am 25a2f1e3: Use -Wno-header-guard for clang 3.5

* commit '25a2f1e3aab5fa3f65142a258e6230879d298fb1':
Use -Wno-header-guard for clang 3.5
25a2f1e3aab5fa3f65142a258e6230879d298fb1 13-May-2014 Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> Use -Wno-header-guard for clang 3.5

Clang 3.5 misdetects the #ifndef UNW_REMOTE_ONLY/#define UNW_LOCAL_ONLY
construct in src/mi/backtrace.c as a header guard with mismatching macro
names, causing a warning in code built with -Werror by default.

While this is a false positive, there's really not much clang can do to
detect this (the code does look exactly like a header guard), so this is
not really a workaround for a compiler bug.

Change-Id: If1e9d8b4344719b706f6e1856c97dfcc2edaeb72
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
ndroid.mk
d181ed82f948f575207c57353ec71c4f42800733 10-May-2014 Christopher Ferris <cferris@google.com> am 2319e0f1: Add exception handling unwind code.

* commit '2319e0f1aec9e1f716eff88987b0023c5b2f6c07':
Add exception handling unwind code.
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
ndroid.mk
rc/unwind/Backtrace.c
rc/unwind/ForcedUnwind.c
rc/unwind/RaiseException.c
rc/unwind/Resume.c
rc/unwind/Resume_or_Rethrow.c
rc/unwind/unwind-internal.h
ece14e8d5d1709efeedf4225825fedecd6d67127 09-May-2014 Dan Albert <danalbert@google.com> am 162c8cb1: Removes dependencies on libgcc

* commit '162c8cb1bb10cbd8f4bce5cdbeaf528e7ab8bc53':
Removes dependencies on libgcc
280e903825546a3bb11d1b3394b79d530e9922a4 09-May-2014 Dan Albert <danalbert@google.com> am 76728fb1: Adds static lib targets

* commit '76728fb19f458eae302b7131f1b2fb587e25e9ce':
Adds static lib targets
162c8cb1bb10cbd8f4bce5cdbeaf528e7ab8bc53 09-May-2014 Dan Albert <danalbert@google.com> Removes dependencies on libgcc

Change-Id: If4ea03b8f4f31f916fbd95d927aca8a499966bab
ndroid.build.mk
ndroid.mk
76728fb19f458eae302b7131f1b2fb587e25e9ce 09-May-2014 Dan Albert <danalbert@google.com> Adds static lib targets

Change-Id: I40c84547723967ec369f29b19a037480abeca1dc
ndroid.mk
9519646da77c06f248f902ceae2723ba5cd9f2de 26-Apr-2014 Christopher Ferris <cferris@google.com> am 7c04242d: Fix x86/x86_64 getcontext overflow problem.

* commit '7c04242d6fcd486d16c7848fed599cbda658f6d7':
Fix x86/x86_64 getcontext overflow problem.
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
ndroid.build.mk
ndroid.mk
ndroid/tests/local_test.cpp
rc/x86/getcontext-linux.S
rc/x86_64/getcontext.S
ecd4a5f2377f4a751b56d16df924afaca92d848d 16-Apr-2014 Christopher Ferris <cferris@google.com> Merge "Revert "Temporarily disable local unwinds on aarch64.""
dd34bad8535c0120f3bc2d19e3f822f9dd6e3554 16-Apr-2014 Christopher Ferris <cferris@google.com> Revert "Temporarily disable local unwinds on aarch64."

This reverts commit 34c2265f705d8d98830a7c4b098b311c41f90bf1.

Change-Id: Ie1e31b9b5466409957d39e29e4d0958d797e2712
rc/aarch64/Ginit_local.c
9fd22971b285234f2558c36b48112ef438129b02 16-Apr-2014 Christopher Ferris <cferris@google.com> am cc035277: Add aarch64 getcontext functionality.

* commit 'cc03527798492c369019e50d1559e519f0c49bce':
Add aarch64 getcontext functionality.
ef645b60d87418d43dd9c2e3ac2909466d36a234 15-Apr-2014 Christopher Ferris <cferris@google.com> am f622936d: Make sure that all memory accesses are guarded.

* commit 'f622936d6c5239b3d5ccafdf38189cec8bca55c0':
Make sure that all memory accesses are guarded.
cc03527798492c369019e50d1559e519f0c49bce 15-Apr-2014 Christopher Ferris <cferris@google.com> Add aarch64 getcontext functionality.

Change-Id: I32912a85c0fd02bb5e45a9eb7deb2410ded352a9
nclude/libunwind-aarch64.h
f622936d6c5239b3d5ccafdf38189cec8bca55c0 15-Apr-2014 Christopher Ferris <cferris@google.com> Make sure that all memory accesses are guarded.

This doesn't protect the fpreg reads completely. It's still possible to have
a bad address that has the first part in readable memory and the second part
in unreadable memory. Since none of the code android uses uses the fpreg
data, this should be okay.

Bug: 13946101

Change-Id: I9187b16d0427cbc8af6751cf0b8476ea2d1bfc38
nclude/tdep-aarch64/libunwind_i.h
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-sh/libunwind_i.h
81a969064b93246855af790bfd2a42c6b18bc3d8 15-Apr-2014 Christopher Ferris <cferris@google.com> am d1c383c5: Fix all warnings, and make warnings errors.

* commit 'd1c383c5bb03420decf5cf789cf14ab144b0720d':
Fix all warnings, and make warnings errors.
519c8a6ac9085ded76c61b8b70e02e1be954413a 12-Apr-2014 Christopher Ferris <cferris@google.com> Merge "Temporarily disable local unwinds on aarch64."
d1c383c5bb03420decf5cf789cf14ab144b0720d 10-Apr-2014 Christopher Ferris <cferris@google.com> Fix all warnings, and make warnings errors.

Change-Id: Ia2039922b55891551b1de0f0c281c266db6ee219
ndroid.build.mk
ndroid.mk
nclude/dwarf.h
rc/arm/Gex_tables.c
rc/arm/Gstep.c
rc/dwarf/Gfde.c
rc/dwarf/Gfind_unwind_table.c
rc/elfxx.c
rc/mips/Ginit.c
rc/ptrace/_UPT_access_fpreg.c
rc/ptrace/_UPT_access_mem.c
rc/ptrace/_UPT_access_reg.c
rc/ptrace/_UPT_get_dyn_info_list_addr.c
rc/x86_64/Gstash_frame.c
34c2265f705d8d98830a7c4b098b311c41f90bf1 11-Apr-2014 Christopher Ferris <cferris@google.com> Temporarily disable local unwinds on aarch64.

Change-Id: Ibb18a813597b73fa6d3e2fe235c0c2c24213fd05
rc/aarch64/Ginit_local.c
279fbfb435d1ece02adb6ef621e2554131f45ca6 10-Apr-2014 Christopher Ferris <cferris@google.com> am bb754471: Use map cache for finding image names.

* commit 'bb754471703e806d83d0e6670955dc1d399690b3':
Use map cache for finding image names.
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
nclude/map_info.h
rc/Los-common.c
rc/dwarf/Gfind_proc_info-lsb.c
f25e34b41a0ce3d6c38e6cf0e34aa15c9423389a 09-Apr-2014 Christopher Ferris <cferris@google.com> am 0fa05b02: Fix return code for unmappable elf data.

* commit '0fa05b02d01da95b0b266e9b5660a9364d85e98b':
Fix return code for unmappable elf data.
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
rc/Los-common.c
0465f037bbd8ced54e337a629f7968a544e2f99b 08-Apr-2014 Christopher Ferris <cferris@google.com> am e64e7785: Fix local_get_elf_image prototype.

* commit 'e64e77857aae2ed6c7e6a0e773bede5b877cabb3':
Fix local_get_elf_image prototype.
e64e77857aae2ed6c7e6a0e773bede5b877cabb3 08-Apr-2014 Christopher Ferris <cferris@google.com> Fix local_get_elf_image prototype.

Change-Id: I3fb0de34ac0447e25b0c0368f76044b4bfc834ba
rc/os-common.c
50d369398c3499292d1bdb3addfb80b68b984219 05-Apr-2014 Christopher Ferris <cferris@google.com> am 914a66ff: Fix typo in prototype.

* commit '914a66ffa00715159179aeab640889604c4f87a0':
Fix typo in prototype.
914a66ffa00715159179aeab640889604c4f87a0 05-Apr-2014 Christopher Ferris <cferris@google.com> Fix typo in prototype.

Bug: 13816562
Change-Id: Iff1005e6f2b8b13506fc4096a78e3dce3b5847c0
nclude/map_info.h
32b82ca35f47e41e7e51e8c017c0881eebc9b429 04-Apr-2014 Christopher Ferris <cferris@google.com> am a3112726: Fix aarch64 map_local_is_* calls.

* commit 'a3112726a13e9b4694821314a4cbbd742764c817':
Fix aarch64 map_local_is_* calls.
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
rc/aarch64/Ginit.c
rc/ia64/Ginit.c
a3f93bf7f64b07d9bedd85d5d258c278aec0d239 04-Apr-2014 Christopher Ferris <cferris@google.com> am f4a8df5f: Fix maps caching for local processes.

* commit 'f4a8df5f4f338f1a12c25213227e98b34b42447f':
Fix maps caching for local processes.
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
ndroid.mk
nclude/libunwind-common.h
nclude/libunwind_i.h
nclude/map_info.h
nclude/tdep-aarch64/libunwind_i.h
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-sh/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/Los-common.c
rc/aarch64/Ginit.c
rc/aarch64/Ginit_local.c
rc/arm/Ginit.c
rc/arm/Ginit_local.c
rc/elfxx.c
rc/elfxx.h
rc/hppa/Ginit.c
rc/hppa/Ginit_local.c
rc/ia64/Ginit.c
rc/ia64/Ginit_local.c
rc/mi/Gdestroy_addr_space.c
rc/mi/Lmap.c
rc/mi/map.c
rc/mi/maps.c
rc/mips/Ginit.c
rc/mips/Ginit_local.c
rc/os-common.c
rc/os-freebsd.c
rc/os-hpux.c
rc/os-linux.c
rc/os-qnx.c
rc/ppc/Ginit_local.c
rc/ppc32/Ginit.c
rc/ppc64/Ginit.c
rc/ptrace/_UPT_find_proc_info.c
rc/sh/Ginit.c
rc/sh/Ginit_local.c
rc/x86/Ginit.c
rc/x86/Ginit_local.c
rc/x86_64/Ginit.c
rc/x86_64/Ginit_local.c
5b80907273c027dfe2ff31f9191bf2d63a11be4d 14-Mar-2014 Christopher Ferris <cferris@google.com> am d24fdf6c: Fix symbol name association.

* commit 'd24fdf6c51c7ab875662b9ca13372d57cd9f36e1':
Fix symbol name association.
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
rc/elfxx.c
cca67c0bc49739510d8380a5b03603db784d5294 12-Mar-2014 Christopher Ferris <cferris@google.com> am faaccf4c: Merge "Modify the x86 step cut off."

* commit 'faaccf4cea2788853f4401943b68266e0524a564':
Modify the x86 step cut off.
6c019640fcd5c10423a8a83e9470408e7ada3259 12-Mar-2014 Kévin PETIT <kevin.petit@arm.com> am 25df8e67: AArch64: Port to Android

* commit '25df8e67f4e800dd39e80adb574b060e5907a633':
AArch64: Port to Android
faaccf4cea2788853f4401943b68266e0524a564 12-Mar-2014 Christopher Ferris <cferris@google.com> Merge "Modify the x86 step cut off."
e6675e128080a9db89f796a125fbbafa3a2198e4 12-Mar-2014 Christopher Ferris <cferris@google.com> am 1df3245f: AARCH64: Change Debug calls to use %lx instead of %x.

* commit '1df3245fb2c4d437e930e226331e02e218451db4':
AARCH64: Change Debug calls to use %lx instead of %x.
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
rc/x86/Gstep.c
25df8e67f4e800dd39e80adb574b060e5907a633 12-Mar-2014 Kévin PETIT <kevin.petit@arm.com> AArch64: Port to Android

Bionic doesn't support getcontext(), work around that.

Change-Id: Iab6e5a5ec99716c54a69dbc2b227fbbf9408fb47
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
nclude/libunwind-aarch64.h
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>
rc/aarch64/Ginit.c
8326abf10d7f2136dc578de7ddc9fa2f77c09ff8 26-Feb-2014 Christopher Ferris <cferris@google.com> am 34764fe4: Fix mips memory reads.

* commit '34764fe4fa6bbacc9c6f9235bf0790cb917c4901':
Fix mips memory reads.
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
rc/ptrace/_UPT_access_mem.c
215e6fb006a2cb57d38b8f0179f00a49d9c25c17 26-Feb-2014 Christopher Ferris <cferris@google.com> am fb2fafb9: Implement ptrace get registers for aarch64.

* commit 'fb2fafb9daf5b9f5119d5550a68ebdc3d0564b06':
Implement ptrace get registers for aarch64.
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
nclude/config.h
rc/ptrace/_UPT_access_fpreg.c
rc/ptrace/_UPT_access_reg.c
280572504ddf063b0d7d3911e58b86fa283bc54d 22-Feb-2014 Ying Wang <wangying@google.com> am 57c68a37: You can\'t change global vriables like HOST_ARCH

* commit '57c68a37ac4a357eb87375780eb3d08d7d97880c':
You can't change global vriables like HOST_ARCH
57c68a37ac4a357eb87375780eb3d08d7d97880c 22-Feb-2014 Ying Wang <wangying@google.com> You can't change global vriables like HOST_ARCH

The build system depends on these variables to be constant.

Change-Id: Iba25cd821bf81b122b7c6c179c9611d95860a1a9
ndroid.build.mk
ndroid.mk
9a91eec5a3c84a3a0ac21330cc666f43b70cff45 21-Feb-2014 Christopher Ferris <cferris@google.com> am e6c23a7d: Fix NULL pointer dereference.

* commit 'e6c23a7dbafa4c93c661053e6c34ae0725e38313':
Fix NULL pointer dereference.
f0c0282ecd4f626be503a81c8b3352bc424403ee 21-Feb-2014 Christopher Ferris <cferris@google.com> Fix NULL pointer dereference.

Bug: 13120542

(cherry picked from commit e6c23a7dbafa4c93c661053e6c34ae0725e38313)

Change-Id: I62e1a639a3252016e1a57b9243784d8c6fa21713
rc/os-linux.c
e6c23a7dbafa4c93c661053e6c34ae0725e38313 21-Feb-2014 Christopher Ferris <cferris@google.com> Fix NULL pointer dereference.

Bug: 13120542

Change-Id: I6847aeb779d3800b6e71710cf1c8026c1c05ea50
rc/os-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
nclude/libunwind_i.h
nclude/map_info.h
rc/os-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
rc/ptrace/_UPT_access_mem.c
76dbee53bb2c38f31159531e5fdd7c2b0218b134 13-Feb-2014 Christopher Ferris <cferris@google.com> Add the ability to enable libunwind debugging.

Change-Id: I2bfd8e1b1f7e5e94643e191ca3a51db4dd8ca0aa
ndroid.mk
nclude/libunwind_i.h
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
rc/mips/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
nclude/libunwind-common.h
nclude/map_info.h
rc/aarch64/Ginit_local.c
rc/arm/Ginit_local.c
rc/hppa/Ginit_local.c
rc/ia64/Ginit_local.c
rc/mi/maps.c
rc/mips/Ginit_local.c
rc/ppc/Ginit_local.c
rc/sh/Ginit_local.c
rc/x86/Ginit_local.c
rc/x86_64/Ginit_local.c
38c790545d5f7537a8a29ab773683447b260d779 01-Feb-2014 Elliott Hughes <enh@google.com> Switch arm64 over to <ucontext.h>.

Change-Id: Iea081924374eaf4a2b88e12a7d5ae4a829c2a355
nclude/libunwind-aarch64.h
3fa499774d176d6873f3c9eefc5b25337caa347f 01-Feb-2014 Christopher Ferris <cferris@google.com> Allow 64 bit host library to build.

Change-Id: I0911e11d07e314e2ef5ffda187ea345d748c2118
ndroid.mk
fe6ff003e2663e21b6fcd83d1536b93f793408a7 30-Jan-2014 Christopher Ferris <cferris@google.com> Refactor makefile.

In addition, add host versions of all libraries.

Change-Id: I0ec831a989fab44958de00dfbd09269e3429bb6b
ndroid.build.mk
ndroid.mk
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
nclude/libunwind-mips.h
rc/mips/Ginit.c
4a188fbc855f1c7b8dde0513d440c4108a736102 30-Jan-2014 Elliott Hughes <enh@google.com> Switch x86 libunwind over to <sys/ucontext.h>.

Change-Id: I1f13e56b13bc912a2401015ea40091aafeac70a6
nclude/libunwind-x86.h
rc/x86/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>
ndroid.mk
rc/x86_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
rc/os-linux.c
bfe761cc27c4a6176eebd40225727d9a23379f27 28-Jan-2014 Christopher Ferris <cferris@google.com> Merge "Fix memory leak."
d3bf49b06c7d56b371fe49f13490f7e548a8455a 28-Jan-2014 Christopher Ferris <cferris@google.com> Fix memory leak.

Change-Id: Iaf279d86fe1a9384bbc7cfa40e7b1783bb59a223
rc/dwarf/Gfind_proc_info-lsb.c
rc/dwarf/Gparser.c
e153da5908031d627ab9f746a9684542f47fd859 28-Jan-2014 Elliott Hughes <enh@google.com> bionic no longer has <sys/procfs.h>.

This was in libthread_db/include, but was pretty incomplete and seems
unused by libunwind.

Change-Id: I38dfade90fac074c0c3a123b9543044e66fd232a
nclude/config.h
26183d23f1da5fa916aebe320d5fa2dfbf4524c5 25-Jan-2014 Colin Cross <ccross@android.com> libunwind: build multiple arches

Change-Id: I76f75a16924e09ccddf9dc6fb022c2a70afa121a
ndroid.mk
9fc75e8c57dbafcd5ffad208dc79d45319d3700f 27-Jan-2014 Christopher Ferris <cferris@google.com> Refactor the makefile for aarch64 support.

This is the first step to libunwind aarch64 support. This only allows
compilation of libunwind under asm64 and is missing a lot of functionality.

Change-Id: I3185d4cc0b95594f3930d3d55f1e2b6bf8df2c68
ndroid.mk
nclude/libunwind-aarch64.h
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
ndroid.mk
nclude/dwarf.h
nclude/libunwind-common.h
nclude/libunwind_i.h
nclude/map_info.h
nclude/tdep-aarch64/libunwind_i.h
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-sh/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/aarch64/Ginit.c
rc/arm/Ginit.c
rc/dwarf/Gfind_unwind_table.c
rc/elfxx.c
rc/hppa/Ginit.c
rc/ia64/Ginit.c
rc/mi/Gdestroy_addr_space.c
rc/mi/maps.c
rc/mips/Ginit.c
rc/os-linux.c
rc/ppc/Ginit_local.c
rc/ptrace/_UPT_find_proc_info.c
rc/sh/Ginit.c
rc/x86/Ginit.c
rc/x86_64/Ginit.c
9dee3d2dd2d6913aeefe8c3417a494ab1dcfdaf5 07-Jan-2014 Christopher Ferris <cferris@google.com> Stop unwinding when seeing a repeated ip on x86.

Change-Id: I4141bd57eb8240d8ad5db4b77496f096666439ae
rc/x86/Gstep.c
5e404485e4aa7a6db884a85bb0929d1cf799f92c 18-Dec-2013 Christopher Ferris <cferris@google.com> Point the scripts to uapi kernel headers.

Bug: 11559337
Change-Id: Iecc61b96a5f9e14c5e97da815aeda8b566c5814e
ndroid/conf_arm.sh
ndroid/conf_mips.sh
ndroid/conf_x86.sh
836d915f820d623cedda04d20becdfc6548b266f 02-Dec-2013 Christopher Ferris <cferris@google.com> Add dependencies on the makefile.

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

Change-Id: I7b7eed29a1b7ddad8e0d852598260809d3eb98d1
rc/aarch64/Ginit.c
rc/arm/Ginit.c
rc/hppa/Ginit.c
rc/ia64/Ginit.c
rc/mips/Ginit.c
rc/ppc32/Ginit.c
rc/ppc64/Ginit.c
rc/sh/Ginit.c
rc/x86/Ginit.c
rc/x86_64/Ginit.c
ceecb6d36290081d89db2a3b19ebaf45553cf87f 19-Nov-2013 Christopher Ferris <cferris@google.com> am 7d46a21e: For current process, check memory accesses.

* commit '7d46a21e0a2cb561e4cad57b101a7137e01023dc':
For current process, check memory accesses.
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
nclude/map_info.h
nclude/tdep-aarch64/libunwind_i.h
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-sh/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/aarch64/Ginit.c
rc/arm/Ginit.c
rc/arm/Gstep.c
rc/dwarf/Gfind_proc_info-lsb.c
rc/hppa/Ginit.c
rc/ia64/Ginit.c
rc/mips/Ginit.c
rc/os-freebsd.c
rc/os-hpux.c
rc/os-linux.c
rc/os-linux.h
rc/os-qnx.c
rc/ppc/Ginit_local.c
rc/ppc32/Ginit.c
rc/ppc64/Ginit.c
rc/sh/Ginit.c
rc/x86/Ginit.c
rc/x86_64/Ginit.c
04695f196141055381929ea12a476e0a81e5d5f3 15-Nov-2013 Christopher Ferris <cferris@google.com> am 98476151: Fix memory leaks in dwarf processing.

* commit '984761515e6aafe8f27d0fda1151e2f81e2832e0':
Fix memory leaks in dwarf processing.
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
rc/dwarf/Gfind_proc_info-lsb.c
5cd2bf28bbc30525fe980156815f04014848122d 15-Nov-2013 Christopher Ferris <cferris@google.com> am 5f0e55ca: Move stack structures to allocations.

* commit '5f0e55ca7540d58e8c02dd67e1a062cad285f6c8':
Move stack structures to allocations.
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
rc/dwarf/Gparser.c
d6192fa5e2d240948515cd1fa482fdbfc158e6b2 07-Nov-2013 Kenny Root <kroot@google.com> am d7a59bcd: Add module license marker

* commit 'd7a59bcdc1ceeabe84c1c70fb7d708352abf71fe':
Add module license marker
d7a59bcdc1ceeabe84c1c70fb7d708352abf71fe 06-Nov-2013 Kenny Root <kroot@google.com> Add module license marker

Change-Id: I62e940cc3a738beabfc339b8b6693518d553c145
ODULE_LICENSE_MIT
7b8be67a7f3f474a34bba13236eb642fe1ebe2ce 19-Oct-2013 Christopher Ferris <cferris@google.com> am cc6cc088: Add a new option to conserve stack space.

* commit 'cc6cc088ba4077f5b6cfa3931a1737b03fc0446e':
Add a new option to conserve stack space.
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
cinclude.m4
onfigure.ac
nclude/config.h
rc/dwarf/Gfind_proc_info-lsb.c
rc/ptrace/_UPT_find_proc_info.c
6e45dc5424144174cdca4422c20d433a9eb31a4d 04-Oct-2013 Christopher Ferris <cferris@google.com> am dcf256a2: Add file that was missed in initial submit.

* commit 'dcf256a295af34994e643a0787ca19dc7aae9729':
Add file that was missed in initial submit.
929ed5d07ea191579dc85526078237c2ad929717 04-Oct-2013 Christopher Ferris <cferris@google.com> am efb75a0b: Update external/libunwind to build in android.

* commit 'efb75a0b84fed700173700a2e4fee153ba491b32':
Update external/libunwind to build in android.
6534a77195ac6b5059bc9b6a27e8da58f538f55e 03-Oct-2013 Christopher Ferris <cferris@google.com> Add file that was missed in initial submit.

Bug: 8410085

(cherry picked from commit dcf256a295af34994e643a0787ca19dc7aae9729)

Change-Id: I6e61fb652f22079a3825b55ef66740216a056d14
nclude/libunwind-common.h
dcf256a295af34994e643a0787ca19dc7aae9729 03-Oct-2013 Christopher Ferris <cferris@google.com> Add file that was missed in initial submit.

Bug: 8410085
Change-Id: Ifb7f3dc65112af54eaceacafc6e3a8b9371c8971
nclude/libunwind-common.h
1c82a52129ceced9f271dd782057351275c38a41 01-Oct-2013 Christopher Ferris <cferris@google.com> Update external/libunwind to build in android.

Bug: 8410085

(cherry picked from commit efb75a0b84fed700173700a2e4fee153ba491b32)

Change-Id: I625f9e28a1c794cb066908e79f6c3a6a0ef759ec
ndroid.mk
ndroid/README
ndroid/conf_arm.sh
ndroid/conf_mips.sh
ndroid/conf_x86.sh
nclude/config.h
nclude/dwarf.h
nclude/libunwind-mips.h
nclude/libunwind-x86.h
nclude/libunwind.h
nclude/tdep-arm/libunwind_i.h
nclude/tdep/libunwind_i.h
rc/aarch64/init.h
rc/arm/Gglobal.c
rc/arm/Gresume.c
rc/arm/Gstep.c
rc/arm/init.h
rc/hppa/init.h
rc/mi/Gget_proc_name.c
rc/mips/Ginit.c
rc/mips/getcontext-android.S
rc/mips/init.h
rc/ppc32/init.h
rc/ppc64/init.h
rc/ptrace/_UPT_access_reg.c
rc/x86/Ginit.c
rc/x86/Gos-linux.c
rc/x86/Gstep.c
rc/x86/init.h
rc/x86_64/init.h
efb75a0b84fed700173700a2e4fee153ba491b32 01-Oct-2013 Christopher Ferris <cferris@google.com> Update external/libunwind to build in android.

Bug: 8410085

Change-Id: Ideb46602d1e1cf2df5f858ef11d498055c02b969
ndroid.mk
ndroid/README
ndroid/conf_arm.sh
ndroid/conf_mips.sh
ndroid/conf_x86.sh
nclude/config.h
nclude/dwarf.h
nclude/libunwind-mips.h
nclude/libunwind-x86.h
nclude/libunwind.h
nclude/tdep-arm/libunwind_i.h
nclude/tdep/libunwind_i.h
rc/aarch64/init.h
rc/arm/Gglobal.c
rc/arm/Gresume.c
rc/arm/Gstep.c
rc/arm/init.h
rc/hppa/init.h
rc/mi/Gget_proc_name.c
rc/mips/Ginit.c
rc/mips/getcontext-android.S
rc/mips/init.h
rc/ppc32/init.h
rc/ppc64/init.h
rc/ptrace/_UPT_access_reg.c
rc/x86/Ginit.c
rc/x86/Gos-linux.c
rc/x86/Gstep.c
rc/x86/init.h
rc/x86_64/init.h
f58b9254610697a0676e0f496ad0edfa66545654 26-Sep-2013 Geoff Mendal <mendal@google.com> Merge git://git.sv.gnu.org/libunwind

Seed internal repo with the external git repo above.
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>
rc/elfxx.h
3d6ac91ad1b2f9e7c63a811fef1ac739c30c52c6 24-Sep-2013 Baligh Uddin <baligh@google.com> Initial empty repository
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>
onfigure.ac
rc/Makefile.am
rc/unwind/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>
rc/coredump/libunwind-coredump.pc.in
rc/libunwind-generic.pc.in
rc/ptrace/libunwind-ptrace.pc.in
rc/setjmp/libunwind-setjmp.pc.in
rc/unwind/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.
rc/dwarf/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.
rc/elfxx.h
5eba0f816d8999b48de4f68ca2eb743ab1fcf224 19-May-2013 Arun Sharma <asharma@fb.com> Fixup long lines.
rc/os-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
onfigure.ac
nclude/dwarf.h
nclude/libunwind_i.h
rc/Makefile.am
rc/arm/Gis_signal_frame.c
rc/dwarf/Gfind_proc_info-lsb.c
rc/dwarf/Gfind_unwind_table.c
rc/elfxx.h
rc/os-qnx.c
ac6c0a6535975f1dc2da6e4e2766614baac2a14a 11-May-2013 Yvan Roux <yvan.roux@linaro.org> [PATCH] AArch64 port.
akefile.am
EADME
onfigure.ac
nclude/libunwind-aarch64.h
nclude/libunwind.h.in
nclude/tdep-aarch64/dwarf-config.h
nclude/tdep-aarch64/jmpbuf.h
nclude/tdep-aarch64/libunwind_i.h
nclude/tdep/dwarf-config.h
nclude/tdep/jmpbuf.h
nclude/tdep/libunwind_i.h.in
rc/Makefile.am
rc/aarch64/Gcreate_addr_space.c
rc/aarch64/Gget_proc_info.c
rc/aarch64/Gget_save_loc.c
rc/aarch64/Gglobal.c
rc/aarch64/Ginit.c
rc/aarch64/Ginit_local.c
rc/aarch64/Ginit_remote.c
rc/aarch64/Gis_signal_frame.c
rc/aarch64/Gregs.c
rc/aarch64/Gresume.c
rc/aarch64/Gstep.c
rc/aarch64/Lcreate_addr_space.c
rc/aarch64/Lget_proc_info.c
rc/aarch64/Lget_save_loc.c
rc/aarch64/Lglobal.c
rc/aarch64/Linit.c
rc/aarch64/Linit_local.c
rc/aarch64/Linit_remote.c
rc/aarch64/Lis_signal_frame.c
rc/aarch64/Lregs.c
rc/aarch64/Lresume.c
rc/aarch64/Lstep.c
rc/aarch64/gen-offsets.c
rc/aarch64/init.h
rc/aarch64/is_fpreg.c
rc/aarch64/offsets.h
rc/aarch64/regname.c
rc/aarch64/siglongjmp.S
rc/aarch64/unwind_i.h
rc/coredump/_UCD_access_reg_linux.c
rc/ptrace/_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 ]
rc/Makefile.am
61fad17d29ed661d15a80ed931c7822e5e7ea411 19-Apr-2013 Matt Fischer <matt.fischer@garmin.com> Build crasher test only when coredump support is enabled

The crasher test is used as part of the coredump test suite,
but is being built regardless of whether that support has been
configured or not. This patch changes the build so that it is
only built when coredump support is enabled.
ests/Makefile.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.
onfigure.ac
rc/Makefile.am
ests/Makefile.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.
onfigure.ac
rc/Makefile.am
ests/Makefile.am
becfc2312367ee47993495745ec96d7be1a3b3ba 13-Apr-2013 Dave Lerner <dave.lerner@windriver.com> Fix the UNW_TDEP_CURSOR_LEN for ppc32 to fix assert failure

When libunwind is built for a ppc32 target, for example the yocto distro
for qemuppc, and configured with options --enable-debug-frame and
--enable-debug, then the shortfall in the size of the 'opaque' member
of the unw_cursor_t type throws an assert in mi_init().

The calculations for the ppc32 target size of UNW_TDEP_CURSOR_LEN in
the comment block based on the register count plus overhead sum to 280
words. However, that value is not reflected in the ppc32 header, which
defines the size as 200. Fixing the ppc32 header value to 280 makes the
unw_cursor_t type larger than struct cursor type and the assert tests
true at run-time in mi_init().

Signed-off-by Dave Lerner <dave.lerner@windriver.com>
nclude/libunwind-ppc32.h
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>
rc/dwarf/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>
rc/x86/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.
rc/dwarf/Gexpr.c
10b064ffe902d5af31bb49bd8e4f03c545f8d462 13-Nov-2012 Ladislav Michl <ladis@linux-mips.org> Support building with older compilers.

Add a check for __builtin_unreachable.
onfigure.ac
nclude/libunwind_i.h
rc/arm/Gresume.c
rc/sh/Gresume.c
ae3dd9417a3d178cf51ce744d85b695dbf025b44 28-Oct-2012 Arun Sharma <asharma@fb.com> Add known test failures to XFAIL_TESTS
ests/Makefile.am
d7322f0f64dab715c4feb5f08edef5660d8719c0 06-Oct-2012 Arun Sharma <asharma@fb.com> Update to v1.1
EWS
onfigure.ac
rc/Makefile.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]
rc/x86_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.
rc/elfxx.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.
rc/mi/mempool.c
6456da2dc10d13e00b79ac3b366617342d964e5a 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Assign `func' just once in Ltest-nocalloc glibc case
ests/Ltest-nocalloc.c
65f936402d0dd0e62191ed249f86946203476e28 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Add arguments to malloc and calloc prototypes in Ltest-nocalloc
ests/Ltest-nocalloc.c
249ff2f840123823ae05d90bf44ba89d744c14c7 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Remove unused variable in Ltest-nocalloc
ests/Ltest-nocalloc.c
e9f161a677087dfdf8e543b9e70c7131ac3fd942 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Replace empty argument lists with `void' in tests
ests/Gtest-nomalloc.c
ests/Lrs-race.c
ests/Ltest-nocalloc.c
890e23eb9d3ffd9be2a025189a21794b5ed0e0ff 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Prefer NULL over zero
nclude/libunwind_i.h
rc/dwarf/Gfind_proc_info-lsb.c
rc/dwarf/Gparser.c
rc/mips/Ginit.c
rc/os-linux.h
rc/x86_64/Ginit.c
rc/x86_64/Ginit_remote.c
rc/x86_64/Gtrace.c
ests/mapper.c
ests/test-ptrace.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.
rc/arm/Gglobal.c
rc/hppa/Gglobal.c
rc/mi/dyn-register.c
rc/mips/Gglobal.c
rc/ppc32/Gglobal.c
rc/ppc64/Gglobal.c
rc/x86/Gglobal.c
rc/x86_64/Gglobal.c
rc/x86_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.
rc/dwarf/Gexpr.c
65bdcc6f9dbbef0763cb3692a5e1fb6387d482f8 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Teach autotools current ARM `ex_tables.h' location
akefile.am
rc/Makefile.am
2fbbf276b3cebd60a41f61d9a7f9dac56f513a23 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Use shared `ARRAY_SIZE' in IA64 tests
ests/Gia64-test-nat.c
ests/Gia64-test-rbs.c
6b55e0ab51eee7dbea679fda2b37ecf61f0025e5 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Use `UNUSED' in tests
ests/Gtest-bt.c
ests/Gtest-concurrent.c
ests/Gtest-dyn1.c
ests/Gtest-init.cxx
ests/Gtest-resume-sig.c
ests/Gtest-trace.c
ests/Lrs-race.c
ests/Ltest-varargs.c
ests/test-async-sig.c
ests/test-coredump-unwind.c
ests/test-init-remote.c
ests/test-mem.c
ests/test-proc-info.c
ests/test-ptrace-misc.c
ests/test-setjmp.c
ests/test-static-link-loc.c
ests/test-strerror.c
5e7e890a0b75fc9b64838dd197f554c6c6285d88 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Plug in `ALIAS' attribute
rc/mi/backtrace.c
ests/crasher.c
7d471b144013924f8d80e532a693fb77dbe73c2b 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Define and use `CONST_ATTR'
nclude/compiler.h
rc/arm/Gex_tables.c
rc/dwarf/Gparser.c
rc/ia64/Gparser.c
rc/ia64/Gscript.c
e0653f9e3a0004a62f6c7afb57885bb473b17537 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Define and use `WEAK'
nclude/compiler.h
rc/mi/backtrace.c
e3e49dc28aee0dc78f0243d932a5c950aaec7e3e 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Define and use `NOINLINE'
nclude/compiler.h
ests/Gperf-simple.c
ests/Gperf-trace.c
ests/Ltest-varargs.c
ests/crasher.c
397f32a378d4b7acc962bf4a0056dca2197077dd 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Plug in `ARRAY_SIZE' in ptrace code
rc/ptrace/_UPT_access_fpreg.c
rc/ptrace/_UPT_access_reg.c
dcbe6836ebb4ed300ebf529e38e412e94a8197d8 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> IA64: constify read only arrays in `tdep_init()'
rc/ia64/Gglobal.c
088ac537752a09246da443bff1f893773d4b84d2 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Constify `operands' in src/dwarf/Gexpr.c
rc/dwarf/Gexpr.c
ee8df2628891435ebb95eee04668d5bbd6995723 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Constify `dwarf_to_unw_regnum_map'
nclude/dwarf_i.h
rc/ppc32/Gglobal.c
rc/ppc64/Gglobal.c
rc/x86/Gglobal.c
rc/x86_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.
rc/ptrace/_UPT_internal.h
rc/ptrace/_UPT_reg_offset.c
fca254a9b4a96de9a5f3519f736dd01585b9a648 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> IA64: give prototype for `ia64_find_unwind_table()'

src/ptrace/_UPT_find_proc_info.c: In function 'get_unwind_info':
src/ptrace/_UPT_find_proc_info.c:67: warning: implicit declaration of function 'ia64_find_unwind_table'
nclude/tdep-ia64/libunwind_i.h
e2d5cdd22da48a5bbf772090b55590ef70b63999 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> ppc32: include `compiler.h' for UNUSED in ucontext_i.h
rc/ppc32/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
EADME
onfigure.ac
nclude/libunwind-sh.h
nclude/libunwind.h.in
nclude/tdep-sh/dwarf-config.h
nclude/tdep-sh/jmpbuf.h
nclude/tdep-sh/libunwind_i.h
nclude/tdep/dwarf-config.h
nclude/tdep/libunwind_i.h.in
rc/Makefile.am
rc/coredump/_UCD_access_reg_linux.c
rc/ptrace/_UPT_reg_offset.c
rc/sh/Gcreate_addr_space.c
rc/sh/Gget_proc_info.c
rc/sh/Gget_save_loc.c
rc/sh/Gglobal.c
rc/sh/Ginit.c
rc/sh/Ginit_local.c
rc/sh/Ginit_remote.c
rc/sh/Gis_signal_frame.c
rc/sh/Gregs.c
rc/sh/Gresume.c
rc/sh/Gstep.c
rc/sh/Lcreate_addr_space.c
rc/sh/Lget_proc_info.c
rc/sh/Lget_save_loc.c
rc/sh/Lglobal.c
rc/sh/Linit.c
rc/sh/Linit_local.c
rc/sh/Linit_remote.c
rc/sh/Lis_signal_frame.c
rc/sh/Lregs.c
rc/sh/Lresume.c
rc/sh/Lstep.c
rc/sh/gen-offsets.c
rc/sh/init.h
rc/sh/is_fpreg.c
rc/sh/offsets.h
rc/sh/regname.c
rc/sh/siglongjmp.S
rc/sh/unwind_i.h
7d77ef4d82b3eca8ca3a869cd313428026a122a7 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Enable coredump library build on ARM by default

The ARM coredump library compiles, ship it!
onfigure.ac
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.
onfigure.ac
nclude/libunwind-mips.h
rc/coredump/_UCD_access_reg_linux.c
rc/mips/Gget_save_loc.c
rc/mips/Ginit.c
rc/mips/Gregs.c
rc/mips/getcontext.S
rc/mips/init.h
rc/mips/offsets.h
rc/mips/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.
rc/arm/unwind_i.h
rc/hppa/unwind_i.h
rc/ia64/unwind_i.h
rc/mips/unwind_i.h
rc/ppc32/unwind_i.h
rc/ppc64/unwind_i.h
rc/x86/unwind_i.h
rc/x86_64/unwind_i.h
ests/Gperf-simple.c
ests/Gperf-trace.c
58354c94d7472f479cd282c4a8a3a8fb536f5b05 17-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Nuke HAVE_BACKTRACE

We do not really need to care if the system provides `backtrace()',
since we will want to test the one provided in libunwind, not the one
that is provided by the system. The `backtrace()' calls should already
be aliased to `unw_backtrace()', but if that is not working for whatever
reason, we can call `unw_backtrace()' explicitly.
onfigure.ac
ests/Gperf-trace.c
ests/Makefile.am
848ad53a47e8fbef24a6bf1b624d4ad9fb352fb8 16-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Call snprintf() from signal handler only if required in test-async-sig

snprintf() is not guaranteed to be safely callable from a signal
handler, so avoid calling it in the default non-verbose case.
ests/test-async-sig.c
7263a97cedae620a233420b35e35173005bfef54 17-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Roll `test-nocalloc' into `Ltest-nocalloc.c'

We are building only a UNW_LOCAL_ONLY build of `test-nocalloc', and the
"generic" build would not be very interesting. Roll the whole test into
`Ltest-nocalloc.c'.
ests/Gtest-nocalloc.c
ests/Ltest-nocalloc.c
ests/Makefile.am
aeb1afc65de3f395d760f7b8b7c70eb5545aef7e 17-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Call `unw_backtrace()' explicitly in test-flush-cache.c
ests/test-flush-cache.c
643fc92e9106cd5a2e52b10a3e4b686111545726 17-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Rename `rs-race' to `Lrs-race'

Only build a "local-only" version of `rs-race'. The "generic" build is
not very entertaining, as the `unw_set_caching_policy()' calls
manipulate the `unw_local_addr_space' in libunwind-$arch.so, while the
`backtrace()' calls use the address space object from libunwind.so
behind the scenes.
ests/Lrs-race.c
ests/Makefile.am
ests/rs-race.c
0d7738ed4f7dae1b6b77d1a4dd25c5ea765de81f 17-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Cleanup dynamically allocated memory before exit in tests

Cleanup dynamically allocated memory before exit in tests in a few
places where missing. While such cleanups right before exit do not
usually make much sense (as the operating system would cleanup anyway,
so manual cleanups only burn CPU cycles), we will want to catch any
potential problems in libunwind related to the cleanups. This also stops
valgrind complaining about unreleased memory.
ests/Gtest-bt.c
ests/Gtest-trace.c
ests/test-coredump-unwind.c
ests/test-proc-info.c
ests/test-ptrace.c
438d9de675771faaceaec362fbf4cf37eb06e295 14-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Remove unneeded `config.h' inclusion in Gtest-nomalloc
ests/Gtest-nomalloc.c
be230add88815880a41f826ba22d4fcd96547459 14-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Rename `test-varargs' to `Ltest-varargs'

This testcase only uses the local-only `unw_backtrace()' from libunwind,
and a "generic" build of this test case would not be interesting.
ests/Ltest-varargs.c
ests/Makefile.am
ests/test-varargs.c
939a5e195e98c09628aeb635626873ee2f919fa4 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Annotate potentially unused variable in tests/test-coredump-unwind.c

tests/test-coredump-unwind.c: In function 'handle_sigsegv':
test-coredump-unwind.c:216:15: warning: variable 'uc' set but not used [-Wunused-but-set-variable]
ests/test-coredump-unwind.c
7673df21ffea216bcdee9efc551cfc4462ea35e9 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Annotate potentially unused variable in tests/Gtest-trace.c

tests/Gtest-trace.c: In function 'sighandler':
tests/Gtest-trace.c:179:15: warning: unused variable 'uc' [-Wunused-variable]
ests/Gtest-trace.c
0c838c4d4406ddfcc38c9cbaa088ab60570d4cc0 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Annotate potentially unused variable in tests/Gtest-bt.c

tests/Gtest-bt.c: In function 'sighandler':
tests/Gtest-bt.c:158:15: warning: unused variable 'uc' [-Wunused-variable]
ests/Gtest-bt.c
23fdda6a28d31abfcda42567cc455bd46a4fc0d0 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Workaround volatileness warning in tests/ia64-test-setjmp.c

tests/ia64-test-setjmp.c:76: warning: function return types not compatible due to 'volatile'
ests/ia64-test-setjmp.c
074e328d4636c7cea4af6e2910953b49929ed946 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Avoid -Wunused-value warning in tests/Gia64-test-stack.c

tests/Gia64-test-stack.c: In function 'do_unwind_tests':
tests/Gia64-test-stack.c:91: warning: value computed is not used
ests/Gia64-test-stack.c
68b20804e4e7098bd81bc42e2efd733b7cec8374 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Clear out `ip' to avoid -Wuninitialized warning in tests/test-coredump-unwind.c

This one is for architectures that we have not specifically added
support for in `tests/test-coredump-unwind.c'.

tests/test-coredump-unwind.c: In function 'handle_sigsegv':
test-coredump-unwind.c:238:10: warning: 'ip' is used uninitialized in this function [-Wuninitialized]
ests/test-coredump-unwind.c
d3fd3dc3ca842a7ec2f796fc84117a71738209b5 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Default to non-verbose mode in Ltest-cxx-exceptions
ests/Ltest-cxx-exceptions.cxx
cc6cd621ea76e65a07d6047b8706e0f3d769f8f0 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: kludge out unused variable in unw_get_save_loc() stub
rc/hppa/Gget_save_loc.c
fc38a5339da4901399e74fad101f0b48ac9275a1 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: properly check dwarf_get() return value in unw_step()
rc/hppa/Gstep.c
6023ccf6677fa030c001fcccc903c6ded9ffc47e 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> PPC: remove unused `PAGE_START' macro from Ginit.c
rc/ppc32/Ginit.c
rc/ppc64/Ginit.c
0941dedb705cdffa87835855004336c6cf3895e4 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Remove unused src/x86_64/Lis_signal_frame.c
rc/x86_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]
rc/ia64/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").
rc/mi/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.
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/arm/Gglobal.c
rc/arm/Ginit_local.c
rc/arm/Ginit_remote.c
rc/hppa/Gglobal.c
rc/hppa/Ginit_local.c
rc/hppa/Ginit_remote.c
rc/hppa/get_accessors.c
rc/ia64/Gglobal.c
rc/ia64/Ginit_local.c
rc/ia64/Ginit_remote.c
rc/mi/Gget_accessors.c
rc/mi/Gset_caching_policy.c
rc/mips/Gglobal.c
rc/mips/Ginit_local.c
rc/mips/Ginit_remote.c
rc/ppc/Ginit_local.c
rc/ppc/Ginit_remote.c
rc/ppc32/Gglobal.c
rc/ppc64/Gglobal.c
rc/x86/Gglobal.c
rc/x86/Ginit_local.c
rc/x86/Ginit_remote.c
rc/x86_64/Gglobal.c
rc/x86_64/Ginit_local.c
rc/x86_64/Ginit_remote.c
c2d6f85a0ac0562f9edaaefd584376af89412a17 06-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Use __sync builtin atomics on all architectures if available

We can use the __sync builtin atomics also on other architectures than
IA64. GCC 4.7 documentation notes that these builtins are ``legacy'' --
adding support for the newer GCC __atomic atomics should be fairly easy.
onfigure.ac
nclude/libunwind_i.h
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.
nclude/libunwind_i.h
rc/mi/flush_cache.c
rc/mi/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.
nclude/compiler.h
rc/mi/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.
rc/mi/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).
rc/mi/mempool.c
0aa60f4f15288feacd8f34bd21fb9e979912d133 05-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Remove unneeded `atomic_ops.h' inclusion in `dwarf.h'
nclude/dwarf.h
dc680c0b52a4113cf9cf5b924714d79fb1654ee2 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Pull attribute macros from `libunwind_i.h' to new header `compiler.h'

Pull attribute macros from `libunwind_i.h' to new header `compiler.h',
to allow the macros to also be used in the tests.
akefile.am
nclude/compiler.h
nclude/libunwind_i.h
80e852cb38970f76ed59059012cc29c6369ef7f8 17-Sep-2012 Konstantin Belousov <kib@freebsd.org> Do not allow the reference to the local var to outlive the local var scope.
ests/test-ptrace.c
d0cbc51955b900749e1ae1f51d7c45d51d3bbd23 17-Sep-2012 Konstantin Belousov <kib@freebsd.org> x86_64: stop unwinding when %rbp location is NULL
rc/x86_64/Gstep.c
e891591bcbbc6eca063776a118b3da7dc2f8b299 22-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> ppc32: fixup cross build failure
rc/ppc32/ucontext_i.h
rc/ptrace/_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>
onfigure.ac
rc/coredump/libunwind-coredump.pc.in
rc/ptrace/libunwind-ptrace.pc.in
ef4d2e636114ad742c1e1d302ae6ec5d18c177ae 15-Sep-2012 Arun Sharma <asharma@fb.com> Merge ../libunwind.test1
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]
onfigure.ac
rc/Makefile.am
rc/coredump/libunwind-coredump.pc.in
rc/libunwind-generic.pc.in
rc/ptrace/libunwind-ptrace.pc.in
rc/setjmp/libunwind-setjmp.pc.in
rc/unwind/libunwind.pc.in
ec262e127b6af3f1150b1d39a2cffed308f3104d 10-Sep-2012 Patrick Marlier <patrick.marlier@gmail.com> siglongjmp documentation fix

Hi,

I noticed a glitch in the documentation of libunwind-setjmp.
Attached the patch.

Thanks.
--
Patrick Marlier
oc/libunwind-setjmp.man
oc/libunwind-setjmp.tex
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.
rc/ptrace/_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.
rc/ptrace/_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.
rc/ptrace/_UPT_access_reg.c
f8cfe8388a58b3020a2cb3314fc3421b5b3101bb 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> configure: rename configure.in to configure.ac

According to the gnu autoconf manual, configure.ac is now preferred.
onfigure.ac
onfigure.in
f796a6dfe9a70de368c3434d3d3821e45a7ed130 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc64: add FRAME_POINTER & NIP to regname.
rc/ppc64/regname.c
0abc36eb1884a9c6ebd3f7a655d2140fd31ed2fc 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc64: be explicit in access_reg range check
rc/ppc64/Ginit.c
64e8a3d9096f3149d0b17296d2c974ed5659bcba 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> UPT: Add reg offsets for ppc32/64
rc/ptrace/_UPT_reg_offset.c
43118f3f0a5a16c04732a88bc63ed9a655772a7e 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> configure: use AC_ARG_ENABLE(arg, text, , custom-act)

Instead of explicitly specifying "[enable_$arg=$enablearg]", use an
empty parameter to get autoconf's default (which is identical).
onfigure.in
00087cffaeb4ac5175a0af2f2607342b4f3408a4 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> configure: use AC_ARG_ENABLE's defaults when possible

Allows the shortening of the AC_ARG_ENABLE calls.
onfigure.in
09ecaf3e59e68423195d9222f39f2081bdbe940f 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> configure: avoid using a shell function in autoconf

AC_DEFUN exsists for the purpose of creating functions in autoconf
scripts, use it instead of a shell function.
onfigure.in
b45c27b6ee5803e25f397bb068e1137ecb7d3c55 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc64: remove tests/ppc64-test-wchar

It is not clear what is special about wchar on PPC64, and no one can
remember why this was added.

Removing.
ests/Makefile.am
ests/ppc64-test-wchar.c
3430823b2ef266416eddbefba791ef0e7446a2cd 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> configure: use AS_HELP_STRING for configure args instead of manual formating

Using AS_HELP_STRING makes the output of `./configure --help` more readable.
onfigure.in
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.
onfigure.in
rc/Makefile.am
ests/Makefile.am
92af07ee1906c50db33cf8b246736c6cdc4919c4 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc32: ppc64: test altivec support by running the compiler.
onfigure.in
fa56db394d6ae5287cbb3794aa894fa0730c1010 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc32: add UNUSED attribute to dmy_ctxt
rc/ppc32/ucontext_i.h
4ddca1acf156868708b05952e2ca27d66852778e 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc32: remove unused dmy_vrregset
rc/ppc32/ucontext_i.h
9d42e1c3819d2fb13e27511bdc333a564073a836 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> ppc32: ppc64: use AC_COMPILE_IFELSE to test __powerpc64__ macro for ppc64

powerpc64 compilers on RHEL 6.3 (and my own built locally) do not
default to 32bit. Actually check for the bit mode.
onfigure.in
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
rc/x86_64/Gglobal.c
rc/x86_64/Lglobal.c
6ed1db2ddc6a987e44c0f9e15e73eeac33074880 09-Sep-2012 Arun Sharma <asharma@fb.com> Silence a compiler warning.
rc/coredump/_UCD_access_mem.c
58db35ecebec318cf3da185f7f820e6a14d9525f 09-Sep-2012 Arun Sharma <asharma@fb.com> Silence a compiler error.
rc/coredump/_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
nclude/libunwind_i.h
rc/coredump/_UCD_create.c
rc/coredump/_UCD_internal.h
rc/mi/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.
rc/Makefile.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
rc/dwarf/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
rc/arm/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.
rc/coredump/_UCD_access_reg_linux.c
24a0c1f26582a9563600a679928647d56d8b8148 31-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Provide manual page for `unw_backtrace()'
oc/Makefile.am
oc/unw_backtrace.man
oc/unw_backtrace.tex
eca102fd503aed642cbb8d64fcc1a2e3a24422be 31-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Remove AC_FUNC_MEMCMP check from configure.in

As far as I can tell, AC_FUNC_MEMCMP is useless for us. It checks for
some obscure `memcmp' bugs on some ancient systems, and gives us a
chance to provide a working `memcmp'. Since we're not shipping with a
local copy of a `memcmp', it makes no difference whether or not the test
fails. And when cross-compiling, the test automatically fails, as it
tries to compile and run a test program:

checking for working memcmp... no

Quoting autoconf docs: ``This macro is obsolescent, as current systems
have a working memcmp. New programs need not use this macro.''
onfigure.in
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]; \
~~~~~ ~~~~~^
rc/dwarf/Gexpr.c
1c1dbbe2966b0dd8c2cf259b0ff61d0f99f6c2df 23-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Do not print garbage proc info in tests/Gtest-bt.c

Check the return value of the unw_get_proc_info() call to avoid printing
garbage if the call fails.
ests/Gtest-bt.c
8203c955c8bde94bba609d20abb39c576acf3e38 31-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Change test-varargs to check libunwind backtracing

test-varargs is checking how `backtrace()' provided by the system
behaves when varargs are used. Let's make the test more useful by
changing it to test the `backtrace()' provided by libunwind.

Change the testcase to return 0/1 for success/failure, and add it to the
set of checks, so that it gets run on `make check'. Also call
`unw_backtrace()' explicitly so that we do not need to bother with
`execinfo.h' and `backtrace()' prototype.
onfigure.in
ests/Makefile.am
ests/test-varargs.c
ffbe29940e04461ad4916cd60fccf695e397bf45 28-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Check correct variable for offset in tests/Gtest-init.cxx

Checking `off' for positiveness does not make any sense, check `offset'
instead.
ests/Gtest-init.cxx
6470a67461bfea2334404368e295ad09ad9b21f4 28-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Rename `backtrace' to `do_backtrace' in tests/Gtest-init.cxx

Rename `backtrace' to `do_backtrace' in tests/Gtest-init.cxx for sanity;
the `backtrace' name is already defined in various other places.
ests/Gtest-init.cxx
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.
rc/dwarf/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.
rc/dwarf/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.
rc/ppc/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'
rc/ppc32/Gstep.c
rc/ppc64/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'
rc/hppa/init.h
aed6c8b994f256afee66146f7a4b4e003b7f7d5f 30-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Check __builtin___clear_cache() at configuration time

Fixup commit 39b83981 ("Flush icache with __builtin___clear_cache() in
tests when compiling with GCC") to fix compilation with older GCC
versions that do not provide __builtin___clear_cache().
onfigure.in
ests/Gtest-dyn1.c
ests/Makefile.am
ests/flush-cache.S
ests/flush-cache.h
ests/ia64-test-dyn1.c
a15874f2cbcbfffd20b8bad61ca4e37b655b1cbe 14-Feb-2012 Tommi Rantala <tt.rantala@gmail.com> Annotate unused argument in mark_as_used() to avoid -Wextra compiler noise

include/libunwind_i.h: In function 'mark_as_used':
include/libunwind_i.h:187:39: warning: unused parameter 'v' [-Wunused-parameter]
nclude/libunwind_i.h
7e5cab6dacfaead42c483ba9cb2dc202bde703b5 15-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Add missing newline to debug message in _UCD_access_reg_linux.c
rc/coredump/_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.
rc/coredump/_UCD_access_mem.c
rc/coredump/_UCD_access_reg_freebsd.c
rc/coredump/_UCD_access_reg_linux.c
rc/coredump/_UCD_find_proc_info.c
rc/coredump/_UCD_get_proc_name.c
rc/dwarf/Gparser.c
rc/ia64/Gscript.c
18c26d4a7eae02abcae817b97bb8571b1c2f4b8e 12-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Place `inline' at beginning of declaration of invalidate_edi()

../include/libunwind_i.h:319:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration]
nclude/libunwind_i.h
39b83981594d2e49a83e4aaedcab8395c01ddd03 11-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Flush icache with __builtin___clear_cache() in tests when compiling with GCC

When compiling with GCC, use the builtin instruction cache flushing
mechanism in all tests where it is needed.

Quoting GCC docs: ''If the target does not require instruction cache
flushes, __builtin___clear_cache has no effect. Otherwise either
instructions are emitted in-line to clear the instruction cache or a
call to the __clear_cache function in libgcc is made.''.
ests/Gtest-dyn1.c
ests/flush-cache.S
ests/ia64-test-dyn1.c
5fedf3407c7c161d12ba4f600cbce12fef780ad7 11-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Avoid -Wunused-value warning in tests/Gtest-exc.c

Gtest-exc.c: In function 'a':
Gtest-exc.c:100:15: warning: value computed is not used [-Wunused-value]
ests/Gtest-exc.c
5b55e556ca00ee02083b340d29346b9d55105233 10-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> test-resume-sig-rt: test unw_resume() in presence of "realtime" signal frame

Introduce a new test case that is derived from test-resume-sig, but
using the SA_SIGINFO sigaction() flag. This case is referred in the
linux kernel sources as "realtime" signal handler, and is handled
differently in the kernel on many architectures and in libunwind as
well.
gitignore
ests/Gtest-resume-sig-rt.c
ests/Gtest-resume-sig.c
ests/Ltest-resume-sig-rt.c
ests/Makefile.am
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().
rc/arm/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.
rc/arm/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.
rc/arm/Gcreate_addr_space.c
rc/hppa/Gcreate_addr_space.c
rc/mips/Gcreate_addr_space.c
rc/ppc/Gcreate_addr_space.c
rc/x86/Gcreate_addr_space.c
rc/x86_64/Gcreate_addr_space.c
ff0c6ccf6b526cbf3a17230541ba0793ac391d0b 07-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Remove unneeded length modifier from suppressed match in sscanf() format in tests/crasher.c

GCC is complaining about the `%*jx' match in sscanf() format string.
Replace it with `%*x'; sscanf() will identically match an unsigned
hexadecimal integer without the length modifier.

crasher.c: In function 'write_maps':
crasher.c:30:9: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat]
ests/crasher.c
2d750952a5849356eb1c1c42f9e33a4546fc0cd5 07-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Use constants for ELF magic bytes in _UCD_create.c
rc/coredump/_UCD_create.c
9a6d92123002c2a249777f5a252e8b82fd3e9a41 03-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Fix plain return from main() in tests/test-async-sig.c

test-async-sig.c: In function 'main':
test-async-sig.c:185:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
ests/test-async-sig.c
7b811137215918f46ddb64d2ede349a8d0aa217e 07-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> MIPS: implement dwarf_to_unw_regnum() macro without table
nclude/tdep-mips/dwarf-config.h
rc/mips/Gglobal.c
1dc66bd1817e5664326f468ed0b56eb3a24d1ccd 07-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> ARM: implement dwarf_to_unw_regnum() macro without table
nclude/tdep-arm/dwarf-config.h
rc/arm/Gglobal.c
6a5da54b8ac724fc68001a1e07430d910d9e8141 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Allow for architecture specific dwarf_to_unw_regnum()

For a few of the supported architectures we can use one-to-one mapping
from the dwarf to the libunwind register numbers. Allow the
architectures to define their own dwarf_to_unw_regnum() macro to do this
easily.
nclude/dwarf_i.h
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.
rc/ppc32/Gglobal.c
rc/ppc64/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
rc/mips/unwind_i.h
56f07a8e550dab4734524e3f03ac98c9fbd52fc6 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Stop using nonportable echo arguments in tests

echo arguments are not portable, so use printf when we need to print
tabs or newlines.
ests/check-namespace.sh.in
ests/perf-startup
96cc0e83166ac85373a52e5abb9c51f3d287e1d4 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Run `autoupdate' to stop using obsoleted macros in `configure.in'
onfigure.in
757c81cca9a3e69736d089d41d71c7743de61dab 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Update .gitignore
gitignore
f42a8de0fa4b99c04e38a35bb5fd48a1ba9188b8 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Annotate unused parameters in tests

Compiling the tests with -Wextra results to lots of warnings for unused
parameters. Annotate these cases with the `unused' attribute to avoid
the warnings.
ests/Gtest-bt.c
ests/Gtest-concurrent.c
ests/Gtest-dyn1.c
ests/Gtest-init.cxx
ests/Gtest-resume-sig.c
ests/Gtest-trace.c
ests/rs-race.c
ests/test-async-sig.c
ests/test-coredump-unwind.c
ests/test-init-remote.c
ests/test-mem.c
ests/test-proc-info.c
ests/test-ptrace-misc.c
ests/test-setjmp.c
ests/test-static-link-loc.c
ests/test-strerror.c
47a99b6f0007c69959d7d56e52243c1780102d80 21-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Eliminate unused parameters in tests
ests/Gtest-nocalloc.c
ests/Gtest-nomalloc.c
ests/mapper.c
ests/test-ptrace.c
ests/test-varargs.c
6f374ccb5a3da0af7c6f39ef9ea06eacfe8542c6 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Ignore _fbss, _fdata, _ftext and _gp symbols on MIPS
ests/check-namespace.sh.in
a63c209fed74b161b36b80340aa0f1b9f5114e16 07-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Add PPC namespace checking

PPC is the only architecture that has the get_func_addr() symbol
exported, so add specific checks for this architecture.
ests/check-namespace.sh.in
d139d7e78ebc02a4bf86624a010198eb47df5e92 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: include `mempool.h' in `libunwind_i.h'

dwarf/Gfde.c: In function '_Uhppa_dwarf_extract_proc_info_from_fde':
dwarf/Gfde.c:335: warning: implicit declaration of function 'mempool_alloc'
nclude/tdep-hppa/libunwind_i.h
d1e46149958d539ecb258a9e2b73cb63c708ef7b 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: add `global_cache' member to unw_addr_space struct

dwarf/Gparser.c: In function 'get_rs_cache':
dwarf/Gparser.c:522: error: 'struct unw_addr_space' has no member named 'global_cache'
nclude/tdep-hppa/libunwind_i.h
971216f8d4f09e73a94b78c1cba8bbb6123078e4 01-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: fix tdep_put_unwind_info() macro

In file included from mi/Lput_dynamic_unwind_info.c:4:
mi/Gput_dynamic_unwind_info.c:48:40: error: macro "tdep_put_unwind_info" passed 3 arguments, but takes just 2
nclude/tdep-hppa/libunwind_i.h
201bb8733d385c86b9d78ee061db071b92d03938 18-Aug-2012 Arun Sharma <asharma@fb.com> Use libtool to build libunwind-ptrace
rc/Makefile.am
ests/Makefile.am
04c77cced4975d2d4f8e1fd76b49e5884d9cbae4 10-Aug-2012 Konstantin Belousov <kostikbel@gmail.com> Fix for test suite build in the separate directory.
Avoid manually coding the rule to build crasher, instead fuddle
the compiler so that even -O2 optimization does not eliminate call
to b().

First, put calls to both a() and b() in the b() into non-tail-recursive
position. Second, as recommended in gcc manual, use asm volatile("");
to prevent further prevent inlining, besides attribute((noinline).
And third, call b() by alias, which current gcc optimizer cannot see
through.

Also, do not dereference NULL in a, and mark the memory access as volatile.
[ Minor portability improvements: asharma@fb.com ]
ests/Makefile.am
ests/crasher.c
538f63d796fd7cddb7d585972babf93ca906f1c6 12-Aug-2012 Arun Sharma <asharma@fb.com> Fix test-ptrace in automated mode

Tested via:
./test-ptrace
./test-ptrace -v /bin/ls /usr
ests/test-ptrace.c
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>
rc/elfxx.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>
rc/elfxx.c
4ab9e5dd10e7b9653651343ac4cfe79bfe4e4ee3 08-Aug-2012 Martin Milata <mmilata@redhat.com> MiniDebugInfo test: tests/run-coredump-unwind-mdi

Test that creates MiniDebugInfo-containing binary and then checks if it
can recover the procedure names from its coredump.

Signed-off-by: Martin Milata <mmilata@redhat.com>
ests/Makefile.am
ests/run-coredump-unwind
ests/run-coredump-unwind-mdi
ests/test-coredump-unwind.c
7d5a1970215bf8537026c425d38d22465e4a07ee 08-Aug-2012 Martin Milata <mmilata@redhat.com> Add liblzma detection to configure script

Signed-off-by: Martin Milata <mmilata@redhat.com>
onfigure.in
rc/Makefile.am
2dbc26dde881af0a0130a492e04ab0493820da3e 08-Aug-2012 Martin Milata <mmilata@redhat.com> Make coredump test also test unw_get_proc_name

Signed-off-by: Martin Milata <mmilata@redhat.com>
ests/run-coredump-unwind
ests/test-coredump-unwind.c
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>
rc/elfxx.c
707b1dba99323c80ed9730870f6eab949f5b9b98 05-Aug-2012 Arun Sharma <asharma@fb.com> Fix a SIGSEGV in test-ptrace.c

./test-ptrace -v resulted in a SIGSEGV.
ests/test-ptrace.c
32202619c42f58a9dac6eee3b9a4c231f1ce394a 05-Aug-2012 Arun Sharma <asharma@fb.com> Fix a test failure

The test contains hints to users of unw_backtrace() and friends
on how to ensure correctness in a multi-threaded program
ests/Gtest-nocalloc.c
814bd79fb1814eb5bbeb2fdb652d5ae08f1edd28 04-Aug-2012 Arun Sharma <asharma@fb.com> Fix some compiler warnings
rc/setjmp/siglongjmp.c
ests/test-coredump-unwind.c
5e854a4103240925b5e1d14352521a9c07746ba9 31-Jul-2012 Tommi Rantala <tt.rantala@gmail.com> Fix typo in unw_get_proc_name documentation
oc/unw_get_proc_name.man
oc/unw_get_proc_name.tex
4bf1b7195223ea68c7ed6a24f4f826be02d8bec0 31-Jul-2012 Tommi Rantala <tt.rantala@gmail.com> Use unw_context_t instead of ucontext_t in tests/Gtest-trace.c and tests/Gtest-bt.c

At least on ARM unw_context_t and ucontext_t are not the same types, so
use unw_context_t.

See also commit 24112f6d9b87554fe18b1ca0f939f30c76ac38fa ("Fix some test
failures on x86_64 on distros with small default stacks.")

Gtest-trace.c: In function 'do_backtrace':
Gtest-trace.c:66:3: warning: initialization from incompatible pointer type [enabled by default]
Gtest-trace.c:67:3: warning: passing argument 2 of '_Uarm_init_local' from incompatible pointer type [enabled by default]
../include/libunwind-common.h:239:1: note: expected 'struct unw_context_t *' but argument is of type 'struct ucontext_t *'

Gtest-bt.c: In function 'do_backtrace':
Gtest-bt.c:65:3: warning: initialization from incompatible pointer type [enabled by default]
Gtest-bt.c:66:3: warning: passing argument 2 of '_Uarm_init_local' from incompatible pointer type [enabled by default]
../include/libunwind-common.h:239:1: note: expected 'struct unw_context_t *' but argument is of type 'struct ucontext_t *'
ests/Gtest-bt.c
ests/Gtest-trace.c
9158e522db2f3d5675438b535000ce862259f14d 31-Jul-2012 Tommi Rantala <tt.rantala@gmail.com> Fix IP vs. PC confusion in tests on ARM

The intention in the test cases is to print the "instruction pointer"
value at certain places, and on ARM we will want to get the Program
Counter in these cases. IP is a scratch register, and not very
interesting.
ests/Gtest-trace.c
ests/test-coredump-unwind.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'
rc/ia64/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'
rc/dwarf/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'
rc/coredump/_UCD_find_proc_info.c
rc/coredump/_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.
rc/Makefile.am
rc/ia64/mk_Gcursor_i.c
rc/ia64/mk_cursor_i
a06f189baf4080374729299516b3b9f8ce60dd25 31-Jul-2012 Tommi Rantala <tt.rantala@gmail.com> Rip out AC_TYPE_SIGNAL and sighandler_t check

AC_TYPE_SIGNAL is an obsolete autoconf macro, and we were not using
sighandler_t or RETSIGTYPE for anything anyways.
onfigure.in
ests/Gtest-bt.c
ests/Gtest-trace.c
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>
rc/Makefile.am
ests/Makefile.am
0f6c8313b78b9bc292a36388b23436d0e71a8fd9 18-Jun-2012 Konstantin Belousov <kib@FreeBSD.org> Port crasher to FreeBSD.
ests/crasher.c
21266608cc278780bfe80b24eb370115499fa09c 12-Jun-2012 Arun Sharma <asharma@fb.com> Allow --enable-debug=no

Signed-off-by: David Lee <live4thee@gmail.com>
onfigure.in
0f9a540c8c67ec4bb2e03130feea00a0cc9bf30c 17-May-2012 Martin Milata <mmilata@redhat.com> coredump: add test

Program test-coredump-unwind was modified to map backing files based on
virtual addresses instead of segment numbers.

The crasher.c is a program that essentially calls some functions and
then writes to invalid address causing a crash. Before that, it detects
which executables are mapped to which virtual addresses and writes this
information to a file suitable for consumption by test-coredump-unwind.
The mapping information is obtained form /proc/self/maps, so currently
it only works on linux.

The test itself is a shell script, which first runs the program and then
runs test-coredump-unwind on the resulting core and address space
map file to check whether the stack trace obtained from the dump roughly
corresponds to what it should look like.

Signed-off-by: Martin Milata <mmilata@redhat.com>
gitignore
ests/Makefile.am
ests/crasher.c
ests/run-coredump-unwind
ests/test-coredump-unwind.c
61a173763ea4fdc46b34785fc343a483bf3f4c9e 23-May-2012 Konstantin Belousov <kib@FreeBSD.org> Fix test build on FreeBSD.
ests/test-coredump-unwind.c
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>
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/Makefile.am
rc/ia64/Gfind_unwind_table.c
rc/ptrace/_UPT_find_proc_info.c
rc/ptrace/_UPT_get_dyn_info_list_addr.c
ests/Makefile.am
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.
rc/x86_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.
rc/x86_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.
rc/x86_64/Gstep.c
3bb74aae3da540865b1208f78936c8975929cb11 23-Apr-2012 Konstantin Belousov <kib@freebsd.org> freebsd: Account for the possible ERESTART handling of the syscalls.
rc/x86_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.
rc/os-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.
rc/os-freebsd.c
0fac4c8109e23b5363fea3366e35ba17d9f7ea79 23-Apr-2012 Konstantin Belousov <kib@freebsd.org> freebsd: Consistently use symbolic name UNW_EUNSPEC for errors
rc/os-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>
rc/dwarf/Gparser.c
cbc66b62c085c369c8506da12f7dc5014baabfc8 10-Apr-2012 Arun Sharma <asharma@fb.com> mips: fix a linker error

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
rc/ptrace/_UPT_find_proc_info.c
9507a9b5018b8be16d2b62531715f1d1e2999f4a 29-Mar-2012 Arun Sharma <asharma@fb.com> ia64: move ia64 specific code out of dwarf

We still need to fixup the callers to pick dwarf_find_unwind_table
vs ia64_find_unwind_table in a target dependent way.
rc/Makefile.am
rc/dwarf/Gfind_unwind_table.c
rc/ia64/Gfind_unwind_table.c
rc/ia64/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 :)
rc/coredump/_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.
rc/coredump/_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.
rc/coredump/_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>
rc/ia64/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).
nclude/dwarf.h
rc/dwarf/Gparser.c
d04dc94cc2b0141f06ed9de1665ab89a3f549e0b 26-Mar-2012 Arun Sharma <asharma@fb.com> dwarf: ip == 0 should't terminate unwind
rc/dwarf/Gstep.c
rc/x86_64/Gstep.c
43e5ee28c00813fb53f6642304b33a49b70b6d62 26-Mar-2012 Arun Sharma <asharma@fb.com> Demote the debug level to reduce verbosity
rc/dwarf/Gfind_proc_info-lsb.c
0628a9872ca4ca5a93b3671e21f099a81e21c07a 24-Mar-2012 Arun Sharma <asharma@fb.com> Whitespace cleanup
rc/coredump/_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.
nclude/libunwind-coredump.h
rc/coredump/_UCD_create.c
rc/coredump/_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.
rc/coredump/_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.
nclude/libunwind-coredump.h
rc/coredump/_UCD_create.c
adbeb79155e703101eaf747f30e101788cfa7004 23-Mar-2012 Alexander Larsson <alexl@redhat.com> Fix build with --enable-debug

This just fixes a typo
rc/coredump/_UCD_access_reg_linux.c
46dfe3ecf5ee60eec08c063b5b58fc38a685440d 15-Mar-2012 Arun Sharma <asharma@fb.com> Fixup whitespace in Makefile.
ests/Makefile.am
cc7c74e691032b8c694d673dc1530c26ce801736 13-Mar-2012 Kostik Belousov <kostik@sirion> On FreeBSD, the structure is called prstatus.
onfigure.in
rc/coredump/_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.
rc/Makefile.am
rc/coredump/_UCD_access_reg.c
rc/coredump/_UCD_access_reg_freebsd.c
rc/coredump/_UCD_access_reg_linux.c
1e6959a769fefbed6c9eb5d54d71cf5c02d962ed 13-Mar-2012 Kostik Belousov <kostik@sirion> Shut down compiler warning about format mismatch.
rc/coredump/_UCD_create.c
e8eb5834505cb2ef5b7afbf44eead1bdbdb644ae 13-Mar-2012 Kostik Belousov <kostik@sirion> Handle byteswap.h and endian.h inclusion.
onfigure.in
rc/coredump/_UCD_create.c
7e5d2791f9218e5d00c1ce52c6ebe8474bf476c3 13-Mar-2012 Arun Sharma <asharma@fb.com> Update namespace checks for dwarf_find_unwind_tables
ests/check-namespace.sh.in
6da4dde70ed83e5dc5e9d03af342466ef4dd6145 13-Mar-2012 Arun Sharma <asharma@fb.com> Compile fix for platforms other than linux-i386
ests/test-coredump-unwind.c
f0bb806ecbbdc62f0e59716221212d75cc78e9f8 13-Mar-2012 Arun Sharma <asharma@fb.com> Move the test case to tests dir.
rc/coredump/example-core-unwind.c
ests/Makefile.am
ests/test-coredump-unwind.c
0f17b521716c8492f08f8671fd847fd3c26f8175 16-Feb-2012 Arun Sharma <asharma@fb.com> Fixup regnames on x64
rc/coredump/_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
onfigure.in
nclude/libunwind-coredump.h
rc/Makefile.am
rc/coredump/README
rc/coredump/_UCD_access_mem.c
rc/coredump/_UCD_access_reg.c
rc/coredump/_UCD_accessors.c
rc/coredump/_UCD_create.c
rc/coredump/_UCD_destroy.c
rc/coredump/_UCD_elf_map_image.c
rc/coredump/_UCD_find_proc_info.c
rc/coredump/_UCD_get_proc_name.c
rc/coredump/_UCD_internal.h
rc/coredump/_UCD_lib.h
rc/coredump/_UPT_access_fpreg.c
rc/coredump/_UPT_elf.c
rc/coredump/_UPT_get_dyn_info_list_addr.c
rc/coredump/_UPT_put_unwind_info.c
rc/coredump/_UPT_resume.c
rc/coredump/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>
rc/elfxx.c
rc/elfxx.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>
nclude/dwarf.h
rc/Makefile.am
rc/dwarf/Gfind_unwind_table.c
rc/dwarf/Lfind_unwind_table.c
rc/ptrace/_UPT_find_proc_info.c
rc/ptrace/_UPT_get_dyn_info_list_addr.c
rc/ptrace/_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>
nclude/libunwind_i.h
rc/ptrace/_UPT_create.c
rc/ptrace/_UPT_destroy.c
rc/ptrace/_UPT_find_proc_info.c
rc/ptrace/_UPT_get_dyn_info_list_addr.c
rc/ptrace/_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>
rc/elfxx.c
rc/elfxx.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.
rc/setjmp/siglongjmp.c
rc/x86/siglongjmp.S
1774384098bc52588eccf454c0d076857ad182eb 05-Feb-2012 Konstantin Belousov <kib@freebsd.org> FreeBSD also supports PT_GNU_STACK.
rc/x86/longjmp.S
rc/x86/siglongjmp.S
29dae2171e764b885553aa6c3b9a18448790fd12 05-Feb-2012 Konstantin Belousov <kib@freebsd.org> Style.
rc/os-freebsd.c
29b32cf142e5e1ad5f6cfa7145c774513d8f2534 05-Feb-2012 Konstantin Belousov <kib@freebsd.org> Fix silly mistakes in the definitions related to the FreeBSD offsets in
jmpbuf on x86.
nclude/tdep-x86/jmpbuf.h
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.
rc/arm/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.
rc/arm/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.
rc/Makefile.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>
rc/x86_64/Gtrace.c
cf2f3d3b755d3374cc2f77973339c44c18057130 02-Dec-2011 Arun Sharma <asharma@fb.com> Correct the inverted check

Typo when manually applying the previous commit.
rc/x86_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>
rc/x86_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 ]
rc/setjmp/longjmp.c
rc/setjmp/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>
rc/x86_64/Gos-linux.c
rc/x86_64/Gstash_frame.c
rc/x86_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
rc/setjmp/longjmp.c
rc/setjmp/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.
rc/arm/Gstep.c
786882ff8c0d1317558a4a805b2be319e64cb6a9 12-Nov-2011 Arun Sharma <asharma@fb.com> Remove unused variable segbase
rc/dwarf/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>
rc/dwarf/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>
rc/arm/Gis_signal_frame.c
d20df8b3183d1f179ffc30a5ceabb9d1375ac0ff 01-Nov-2011 Arun Sharma <asharma@fb.com> Fix up the breakage when host != target
onfigure.in
nclude/libunwind.h
nclude/libunwind.h.in
nclude/tdep/jmpbuf.h
nclude/tdep/libunwind_i.h
nclude/tdep/libunwind_i.h.in
rc/dwarf/Gfind_proc_info-lsb.c
851f14281c2fefb596c8e6b2e356c553a3f5cc87 30-Oct-2011 Arun Sharma <asharma@fb.com> Fix some compiler warnings
rc/os-linux.h
3977724e82d8bc977d6c239716940e858451a4de 26-Oct-2011 Ken Werner <ken.werner@linaro.org> Add missing <signal.h> include directive

The testcase tests/Gtest-dyn1.c uses the signal() function and should
therefore include the corresponding header file.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
ests/Gtest-dyn1.c
91494b732b28d14af47f5433c6dc904d5d27e0d0 25-Oct-2011 Ken Werner <ken.werner@linaro.org> Define GNU and processor specific values for the Phdr p_type field

Define GNU and processor specific values for the Phdr p_type field in case
they aren't defined by <elf.h> already.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
nclude/libunwind_i.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>
nclude/libunwind-arm.h
nclude/tdep-arm/libunwind_i.h
rc/arm/Gglobal.c
rc/arm/Ginit.c
rc/arm/Ginit_local.c
rc/arm/Gresume.c
rc/arm/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>
nclude/dwarf.h
rc/dwarf/Gfind_proc_info-lsb.c
rc/ptrace/_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>
nclude/dwarf.h
rc/dwarf/Gfind_proc_info-lsb.c
2c865b6ed3833ec591c7972f545b8ed5cadfd246 20-Oct-2011 Ken Werner <ken.werner@linaro.org> Include <sys/mman.h> to have MAP_ANONYMOUS defined

This change prevents libunwind_i.h from using a self-defined MAP_ANONYMOUS and
therefore avoids collisions in case the system header gets pulled in later.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
nclude/libunwind_i.h
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>
rc/x86_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.
rc/x86_64/Gtrace.c
9a311bf48b08dcf18c09f289c3b7bf2382282e61 14-Oct-2011 Ken Werner <ken.werner@linaro.org> [ARM] fix for the check-namespace test case

Add ARM specific symbols and ignore some symbols generated by the ARM Linux
default linker script.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
ests/check-namespace.sh.in
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>
rc/os-freebsd.c
rc/os-hpux.c
rc/os-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>
rc/arm/Gex_tables.c
c01ea3f6d682facedd68ced46a60ab9d1c6192b0 09-Sep-2011 Ken Werner <ken.werner@linaro.org> Have dwarf.h include pthread.h

This is required for the pthread_mutex_t type that is beeing used in the
dwarf_rs_cache structure.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
nclude/dwarf.h
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>
rc/ptrace/_UPT_find_proc_info.c
rc/ptrace/_UPT_get_dyn_info_list_addr.c
rc/ptrace/_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>
rc/setjmp/longjmp.c
42b67080ebd953d4b3bdb7fbdc3a0d4ca906982c 16-Oct-2011 Arun Sharma <asharma@fb.com> Fix linker errors with recent binutils

Without this, tests that called unw_getcontext() got a linker error

Signed-off-by: Arun Sharma <asharma@fb.com>
ests/Makefile.am
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>
rc/arm/Gget_save_loc.c
rc/hppa/Gget_save_loc.c
rc/ia64/Gget_save_loc.c
rc/mips/Gget_save_loc.c
rc/x86/Gget_save_loc.c
rc/x86_64/Gget_save_loc.c
ests/test-proc-info.c
962366dace4fed902ad5e89df1b34c13c3224b8b 23-Sep-2011 Arun Sharma <asharma@fb.com> Fixup compile errors on ia64.

Suggested-by: Harald Servat <harald.servat@bsc.es>
rc/ptrace/_UPT_get_dyn_info_list_addr.c
rc/ptrace/_UPT_internal.h
ac0acd06f319832eecb60936621b3f98363223a7 11-Sep-2011 Arun Sharma <asharma@fb.com> Bump up the library version
rc/Makefile.am
1d8e2c1ae568a1d684015350097d493b1b13c0c7 11-Sep-2011 Arun Sharma <asharma@fb.com> Explicitly specify the libraries

Without this linking fails with gold and newer versions of ld.
ests/Makefile.am
3bf76e8d19076ca38cdc10b5234036a10a2a7c25 05-Sep-2011 Arun Sharma <asharma@fb.com> Installed include files can't include config.h

config.h is not copied to $DESTDIR after make install. ms-abi users
will need to manually define it for now.
nclude/libunwind-x86_64.h
00abb7c056f2b921e76c9a44d44229056d3168e9 05-Sep-2011 Arun Sharma <asharma@fb.com> Reorder libraries in lib_LTLIBRARIES

This fixes a make install time problem.
rc/Makefile.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>
rc/arm/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>
rc/arm/Gstep.c
e3c87a62610ddbd44986f26fc0c8d1e90e66fa4a 28-Aug-2011 Arun Sharma <asharma@fb.com> Updates for 1.0

Drop the rc1
Fixup a typo in NEWS
EWS
onfigure.in
f195c9ad52d41088eb99bbbdfee75d628ab54700 19-Aug-2011 Sven Neumann <s.neumann@raumfeld.com> Skip a few tests on uCLibC

Without this, the build fails on platforms that don't implement
backtrace().
onfigure.in
ests/Makefile.am
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>
rc/arm/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>
rc/arm/Gex_tables.c
8ab8863e9f4412e1a339b0e4be73ef3b2371f28d 16-Aug-2011 Arun Sharma <asharma@fb.com> Bump up the package version.

Also updated the NEWS file.
EWS
EADME
onfigure.in
4dbc2bcb94960e9aa76696dfca5d662090496d4e 16-Aug-2011 Arun Sharma <asharma@fb.com> Fix a compiler warning

backtrace() needs execinfo.h
ests/Gperf-trace.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>
nclude/libunwind-arm.h
nclude/tdep-arm/ex_tables.h
rc/arm/Gex_tables.c
rc/arm/Gstep.c
rc/ptrace/_UPT_find_proc_info.c
rc/ptrace/_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>
rc/ptrace/_UPT_create.c
rc/ptrace/_UPT_find_proc_info.c
rc/ptrace/_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>
nclude/libunwind-arm.h
nclude/libunwind-dynamic.h
nclude/tdep-arm/ex_tables.h
nclude/tdep-arm/libunwind_i.h
rc/arm/Gex_tables.c
rc/arm/Ginit.c
rc/arm/Ginit_local.c
rc/arm/Gstep.c
rc/dwarf/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>
nclude/dwarf.h
rc/dwarf/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>
nclude/libunwind-arm.h
nclude/tdep-arm/ex_tables.h
rc/arm/Gex_tables.c
rc/arm/Gstep.c
264b101905c53993fd1294cca821cd01fb17e1c8 03-Jul-2011 Ken Werner <ken.werner@linaro.org> Move arm_exidx_entry and arm_exidx_table structs from ex_tables.h into libunwind-arm.h.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
nclude/libunwind-arm.h
nclude/tdep-arm/ex_tables.h
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>
rc/arm/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.
onfigure.in
nclude/libunwind-x86_64.h
nclude/tdep-x86_64/dwarf-config.h
rc/x86_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.
rc/Makefile.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.
rc/os-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.
rc/ptrace/_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.
onfigure.in
rc/ptrace/_UPT_internal.h
d2525ec9369525c4d089eeffc84b417fd9c9aea7 07-May-2011 Lassi Tuura <lat@cern.ch> Use single level hash table for fast trace.
rc/x86_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.
rc/x86_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>
nclude/tdep-arm/libunwind_i.h
rc/arm/Gresume.c
rc/arm/Gstep.c
rc/arm/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>
rc/arm/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>
rc/arm/Ginit.c
rc/arm/Gresume.c
rc/arm/unwind_i.h
288f18f7ae30fffa3254e19d769cbe3e8e8ca741 07-Apr-2011 Ken Werner <ken.werner@linaro.org> ARM: tests/Gtest-dyn1.c workaround for GCC bug.

Temporarily workaround for a GCC bug that prevents code from obtaining the
thumb marker: https://bugs.launchpad.net/gcc-linaro/+bug/721531.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
ests/Gtest-dyn1.c
3b917f2d16c1e02e7d3a610ed0bebe51d4f5f610 06-Apr-2011 Ken Werner <ken.werner@linaro.org> ARM: tests/Gtest-dyn1.c fixes.

Define an appropriate fdesc struct and its corresponding accessors that take
care of the thumb marker on ARM. Call the __clear_cache built-in instead of
flush_cache if the GNU compiler is used.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
ests/Gtest-dyn1.c
a624812e2aef371b3901c44cc3201e5afdb01b60 06-Apr-2011 Ken Werner <ken.werner@linaro.org> ARM: tests/Gtest-trace.c - IP printing

Print the instruction pointer on ARM as well.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
ests/Gtest-trace.c
d589e205068843548d57116e2e228c6f552a12f4 06-Apr-2011 Ken Werner <ken.werner@linaro.org> Add the appropriate libraries to the *_LDADD variables.

The test-async-sig.c, test-flush-cache.c and Ltest_resume_sig.c define
UNW_LOCAL_ONLY and therefore only need LIBUNWIND_local. Gtest-dyn1.c is
calling '_U_dyn_cancel' and test-trace.c is using 'unw_backtrace' which
are in LIBUNWIND_local.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
ests/Makefile.am
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.
nclude/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/mi/backtrace.c
rc/x86_64/Ginit.c
rc/x86_64/Ginit_local.c
rc/x86_64/Gos-freebsd.c
rc/x86_64/Gos-linux.c
rc/x86_64/Gtrace.c
rc/x86_64/init.h
rc/x86_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>
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/mi/backtrace.c
rc/x86_64/getcontext.S
15f182828d88ea51d419d94b3daabb7a69181c78 06-Apr-2011 Arun Sharma <asharma@fb.com> Use __thread instead of pthread_getspecific()
rc/x86_64/Gtrace.c
171e3e51f4abc737a0ea562d605e6f21cf093c5f 01-Apr-2011 Ken Werner <ken.werner@linaro.org> Add tests/[GL]perf-trace to the .gitignore file.

Prevents 'git status' from listing the tests/[GL]perf-trace.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
gitignore
e4593e2493923f93dfa6c92ee5327b4ce577a818 01-Apr-2011 Ken Werner <ken.werner@linaro.org> Increase alternate signal stack size.

Creating an alternate signal stack with a size of SIGSTKSZ (usually 8k) is
not enough on some targets because unw_cursor_t is bigger than that already.
Since the size of unw_cursor_t is part of the ABI the UNW_TDEP_CURSOR_LEN
can't be changed without breaking existent code. Therefore size of the
alternate signal stack has been increased to 1 MiB.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
ests/Gtest-bt.c
ests/Gtest-trace.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>
nclude/tdep-arm/ex_tables.h
rc/Makefile.am
rc/arm/Gex_tables.c
rc/arm/Gstep.c
rc/arm/Lex_tables.c
rc/arm/ex_tables.c
d86155f72e0a2db73a6cf4b873d400536ed06486 06-Apr-2011 Arun Sharma <asharma@fb.com> Add a test to catch calls to calloc from libunwind

We'd like to avoid calls to all malloc related functions
so libunwind is still usable from such allocators.

Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
gitignore
ests/Gtest-nocalloc.c
ests/Ltest-nocalloc.c
ests/Makefile.am
4dc222cf8af663b4557b56281737f2c2f1115827 05-Apr-2011 Arun Sharma <asharma@fb.com> Undo parts of 2f9b04e9c29999d18906e37b37dcea9676df194f

Linking to local unwind library seems to be unrelated to
failures seen earlier.
ests/Makefile.am
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.
nclude/libunwind-arm.h
nclude/libunwind-hppa.h
nclude/libunwind-ia64.h
nclude/libunwind-mips.h
nclude/libunwind-ppc32.h
nclude/libunwind-ppc64.h
nclude/libunwind-x86.h
nclude/libunwind-x86_64.h
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/mi/backtrace.c
rc/x86_64/Gtrace.c
ests/Gtest-trace.c
ests/check-namespace.sh.in
50bc12afba900c478d5d760966ef5b6f32229c99 01-Apr-2011 Lassi Tuura <lat@cern.ch> Export unw_backtrace() and alias backtrace() to it.
nclude/libunwind-common.h.in
rc/mi/backtrace.c
ests/check-namespace.sh.in
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).
rc/mi/backtrace.c
ests/Makefile.am
27d0dbfecb25c3bacaaaebf47b5ee2072a334aa6 25-Mar-2011 Arun Sharma <asharma@fb.com> Ensure tests pass on 32 bit x86.
ests/Gtest-trace.c
3b9fd99cb78383e0ce8cd1a31e3b824a30ef965e 25-Mar-2011 Lassi Tuura <lat@iki.fi> Assign copyright as requested by the author.
rc/x86_64/Gstash_frame.c
rc/x86_64/Gtrace.c
ests/Gtest-trace.c
f1ea02be58c2127cc655ef3fd6a385a1bd22cdcd 25-Mar-2011 Lassi Tuura <lat@iki.fi> Reset 'used' to zero after expanding frame cache hash table.
rc/x86_64/Gtrace.c
741a5a2149b111d6d180cb789031b9da9ef0b621 25-Mar-2011 Arun Sharma <asharma@fb.com> Add some performance tests for fast backtracing.
ests/Gperf-trace.c
ests/Lperf-trace.c
ests/Makefile.am
7ff83c051e33de1adbcbc20bf63ea368c2745a70 25-Mar-2011 Arun Sharma <asharma@fb.com> Fix up compilation and test failures
gitignore
nclude/libunwind-arm.h
nclude/libunwind-common.h.in
nclude/libunwind-hppa.h
nclude/libunwind-ia64.h
nclude/libunwind-mips.h
nclude/libunwind-ppc32.h
nclude/libunwind-ppc64.h
nclude/libunwind-x86.h
rc/mi/backtrace.c
ests/Gtest-trace.c
ests/Makefile.am
ests/check-namespace.sh.in
44a14d1364abff3dc7ec49f35b7220542c4cf2b1 21-Mar-2011 Lassi Tuura <lat@cern.ch> Integrate fast trace into backtrace().
nclude/libunwind-arm.h
nclude/libunwind-common.h.in
nclude/libunwind-hppa.h
nclude/libunwind-ia64.h
nclude/libunwind-mips.h
nclude/libunwind-ppc32.h
nclude/libunwind-ppc64.h
nclude/libunwind-x86.h
nclude/libunwind-x86_64.h
rc/mi/backtrace.c
rc/x86_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.
nclude/dwarf.h
nclude/libunwind-arm.h
nclude/libunwind-hppa.h
nclude/libunwind-ia64.h
nclude/libunwind-mips.h
nclude/libunwind-ppc32.h
nclude/libunwind-ppc64.h
nclude/libunwind-x86.h
nclude/libunwind-x86_64.h
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/Makefile.am
rc/arm/init.h
rc/dwarf/Gparser.c
rc/hppa/init.h
rc/mips/init.h
rc/ppc32/init.h
rc/ppc64/init.h
rc/x86/init.h
rc/x86_64/Ginit_local.c
rc/x86_64/Gos-linux.c
rc/x86_64/Gstash_frame.c
rc/x86_64/Gstep.c
rc/x86_64/Gtrace.c
rc/x86_64/Lstash_frame.c
rc/x86_64/Ltrace.c
rc/x86_64/init.h
ests/Gtest-trace.c
ests/Ltest-trace.c
ests/Makefile.am
ests/check-namespace.sh.in
6c1a58fd06eea3a45c6de38eb5d1f79f636bb8d5 25-Mar-2011 Arun Sharma <asharma@fb.com> Remove the unused arm_extbl_test_LDADD from Makefile.am
ests/Makefile.am
28f33c8ce0b654cf31d6beda9a612870662f3c56 22-Mar-2011 Lassi Tuura <lat@cern.ch> Auto-detect whether to use msync() or mincore() for address validation.
onfigure.in
nclude/tdep-x86_64/libunwind_i.h
rc/x86_64/Gglobal.c
rc/x86_64/Ginit.c
f6436849788aa5f3ddc71a946b11c55e207c8a7f 23-Mar-2011 Ken Werner <ken.werner@linaro.org> Add test-static-link to the .gitignore file.

Prevents 'git status' from listing the tests/test-static-link.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
gitignore
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>
rc/arm/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>
nclude/tdep-arm/ex_tables.h
rc/arm/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>
nclude/tdep-arm/ex_tables.h
rc/arm/Ginit_local.c
rc/arm/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>
rc/arm/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>
nclude/tdep-arm/ex_tables.h
rc/arm/ex_tables.c
6e25c11505d9e661c72af78c4a900412ba23125e 23-Mar-2011 Ken Werner <ken.werner@linaro.org> Remove the arm-extbl-test.

This test case relies on old libunwind internals such as the arm_stackframe.
Since the ARM extbtl-parser now operates on the DWARF model directly the
arm-extbl-test isn't of any particular use anymore.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
gitignore
ests/Makefile.am
ests/arm-extbl-test.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>
nclude/tdep-arm/ex_tables.h
nclude/tdep-arm/libunwind_i.h
rc/arm/Ginit_local.c
rc/arm/Gstep.c
rc/arm/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>
onfigure.in
rc/Makefile.am
ests/Makefile.am
0613d4c6800dbd47c26c90eb49883f45bd1fd77c 22-Mar-2011 Arun Sharma <asharma@fb.com> Fixup trailing whitespace

Signed-off-by: Arun Sharma <asharma@fb.com>
rc/arm/Gis_signal_frame.c
ests/Makefile.am
ests/arm-extbl-test.c
57695518b3d1bc2e024f794187ad34afc2387efc 22-Mar-2011 Arun Sharma <asharma@fb.com> Replace libuwind-elf32.la with $(LIBUNWIND_ELF)

This was needed to fix build errors on x86_64.

Signed-off-by: Arun Sharma <asharma@fb.com>
ests/Makefile.am
48703860877f3143b7709d92990a043de8fd33c8 15-Mar-2011 Zachary T Welch <zwelch@codesourcery.com> Add test of backtracing using ARM-specific tables

Uses .ARM.exidx and .ARM.extbl sections to produce a backtrace.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
gitignore
ests/Makefile.am
ests/arm-extbl-test.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>
nclude/tdep-arm/libunwind_i.h
rc/arm/Ginit_local.c
rc/arm/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>
nclude/tdep-arm/ex_tables.h
nclude/tdep-arm/libunwind_i.h
rc/Makefile.am
rc/arm/ex_tables.c
rc/elfxx.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>
rc/arm/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>
rc/os-linux.h
13cd3b0c261f880b51133624549a062c77cd5fbb 02-Mar-2011 Zachary T Welch <zwelch@codesourcery.com> Fix test-ptrace argument parsing.

Avoids an endless loop when passing unknown options.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
Signed-off-by: Ken Werner <ken.werner@linaro.org>
ests/test-ptrace.c
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>
rc/Makefile.am
ec633a1911e365ba6016fa9fcbd81cad72f7afdb 02-Mar-2011 Ken Werner <ken.werner@linaro.org> Use UNW_OBJ instead of UNWI_ARCH_OBJ to rename unwi_unwind_method on ARM.

This results in different unwi_unwind_method symbol names for the local and
generic versions. It allows to statically link against both libraries.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
nclude/tdep-arm/libunwind_i.h
c2cc122a62e3188ebb638119238524c3f992c0c4 02-Mar-2011 Ken Werner <ken.werner@linaro.org> Explicitly add dependent shared libraries.

This adds support for linkers that do not pull in the dependent shared
libraries of libunwind-$(arch).la and libunwind-setjmp.la implicitly.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
ests/Makefile.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.
rc/Makefile.am
c0a9d0c7c1858f934aac0046d8e508ec218bc56b 24-Jan-2011 Arun Sharma <asharma@fb.com> Fix the mismatch between the macro parameter and the name used in the body.
Thanks to David Lee <live4thee@gmail.com> for noticing.
nclude/libunwind_i.h
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>
rc/elfxx.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>
rc/elfxx.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>
rc/Makefile.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>
onfigure.in
rc/Makefile.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>
rc/Makefile.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>
onfigure.in
rc/Makefile.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>
rc/Makefile.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>
rc/Makefile.am
f7ed9c569b2e429563c6ac0021d9599a09741355 09-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Improve top-level Makefile rules

Use automake's '+=' to simplify include_HEADERS rules. Move most
EXTRA_DIST files to noinst_HEADERS, eliminating duplication of headers
listed by include_HEADERS. Add MIPS and PPC32 headers that were not
being distributed previously.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
7e767a2838719e00951385eeab680df872dd983f 09-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Improve test LDADD settings.

Eliminates unused libraries from test program linking. Substitutes
'$(top_builddir)' for '..' to clarify library locations.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
ests/Makefile.am
717239a9362810d85c9b80f0c51e977573081b47 09-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Conditionalize -static-libcxa test

The -static-libcxa test only applies for the Intel compiler, but the
check could pass for some versions of GCC. It would be accepted with
a warning in the past, but it produces an error with GCC 4.6.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.in
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
oc/Makefile.am
rc/Makefile.am
ests/Makefile.am
3ac945b7ee32288bda667067095ad15498a14845 29-Oct-2010 Zachary T Welch <zwelch@codesourcery.com> Improve debug-frame configure option default

Ensure that --enable-debug-frame is set automatically when building
libunwind for an ARM target. Other targets continue to have
--disable-debug-frame as the default setting.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.in
574873ca6ea2b8350f153751b0b2c298c053c06f 29-Oct-2010 Zachary T Welch <zwelch@codesourcery.com> Improve configure check reporting.

Adds numerous AC_MSG_CHECKING and AC_MSG_RESULT pairings for
configuration tests that were previously unreported. Relocates
the debug configuration to the same part of the file as the command
line option declaration for associative clarity. Makes it easier
to confirm the resultant configuration matches original intentions.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.in
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>
rc/arm/Gcreate_addr_space.c
10afcf38968ad1c5a6c28fb33b9132799eec2c46 29-Oct-2010 Zachary T Welch <zwelch@codesourcery.com> Remove duplicate check for PTRACE_CONT

This symbol was being checked twice during configuration.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.in
c9e378b281b50dab8be50de88e7a365bdc801ac5 29-Oct-2010 Zachary T Welch <zwelch@codesourcery.com> Add .gitignore file

Improves quality of 'git status'. Use 'git ls-files -o' to see all
untracked files.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
gitignore
92345bf752b5956130e962775f1306c93d5bb777 25-Oct-2010 Zachary T Welch <zwelch@codesourcery.com> Fix PTRACE_SINGLESTEP typo.

Use correct spelling of PTRACE_SINGLESTEP symbol, so test suite
coverage works as intended.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.in
982d590ddb778f0d301fe2e5647abd9135a2f9bc 05-Aug-2010 Arun Sharma <aruns@google.com> Add Gtest-nomalloc.c to EXTRA_DIST so we pass "make check"
ests/Makefile.am
7909c71e5d99d359c6246457adb2ac61cc43a878 04-Aug-2010 Sven Neumann <s.neumann@raumfeld.com> [PATCH] Add files to EXTRA_DIST so that 'make dist' works again
akefile.am
rc/Makefile.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>
rc/x86/Ginit.c
rc/x86_64/Ginit.c
b3757e7792fdd92b49e2c8936e384009add4fee3 29-May-2010 Konstantin Belousov <kostik@pooma.home> Restore the linking when --enable-debug-frame is not specified
rc/ptrace/_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>
nclude/tdep-arm/libunwind_i.h
rc/arm/Gglobal.c
rc/arm/Gstep.c
rc/arm/getcontext.S
rc/arm/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>
nclude/libunwind-common.h.in
rc/dwarf/Gfind_proc_info-lsb.c
rc/dwarf/Gparser.c
rc/ptrace/_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>
onfigure.in
nclude/dwarf.h
rc/dwarf/Gfind_proc_info-lsb.c
ests/check-namespace.sh.in
298e575f2cbb4616004717812f28879b2633a6ac 17-May-2010 Konstantin Belousov <kostik@pooma.home> Fix freebsd build
rc/os-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>
rc/ptrace/_UPT_find_proc_info.c
rc/ptrace/_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>
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/elfxx.c
rc/os-freebsd.c
rc/os-hpux.c
rc/os-linux.c
rc/ptrace/_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>
rc/dwarf/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>
rc/ptrace/_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
rc/x86_64/Gos-linux.c
rc/x86_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.
rc/x86/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
rc/x86_64/Gos-linux.c
215afa30b782970479e956b7bb96dca7cd9325ea 29-Apr-2010 Arun Sharma <aruns@google.com> Add unwind descriptors to getcontext.S
rc/x86/getcontext-freebsd.S
rc/x86/getcontext-linux.S
rc/x86_64/getcontext.S
ests/run-ptrace-mapper
c140d8598d86c699ec619f3652aedbbddb142b69 25-Apr-2010 Arun Sharma <aruns@google.com> Undo commit f252f5ff4e51af90fd6629f122f72556db94ccb7 for now.

Seems to introduce a couple of test breakages.
rc/x86_64/Gstep.c
d3c4bc42952a1aad0297b6f86569178814275a83 25-Apr-2010 Arun Sharma <aruns@google.com> Fix a compiler warning
rc/x86_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.
onfigure.in
rc/x86_64/Ginit_local.c
d4fbc8326a91d246af29ff17131a12ed7ae87140 20-Apr-2010 Lassi Tuura <lat@cern.ch> Detect end of stack in x86-64 rbp-based walk.
rc/x86_64/Gstep.c
92cc7fd78a5a79c4bb5f85bfb7d7fb025df9cd5a 20-Apr-2010 Lassi Tuura <lat@cern.ch> Remove obsolete code for 'old way' of handling x86-64 signal frames.
rc/x86_64/Gos-linux.c
f252f5ff4e51af90fd6629f122f72556db94ccb7 20-Apr-2010 Lassi Tuura <lat@cern.ch> Recognise and unwind through PLT.
rc/x86_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>
nclude/dwarf.h
rc/arm/Ginit_local.c
rc/arm/Ginit_remote.c
rc/arm/init.h
rc/dwarf/Gparser.c
rc/hppa/Ginit_local.c
rc/hppa/Ginit_remote.c
rc/hppa/init.h
rc/mips/Ginit_local.c
rc/mips/Ginit_remote.c
rc/mips/init.h
rc/ppc/Ginit_local.c
rc/ppc/Ginit_remote.c
rc/ppc32/init.h
rc/ppc64/init.h
rc/x86/Ginit_local.c
rc/x86/Ginit_remote.c
rc/x86/init.h
rc/x86_64/Ginit_local.c
rc/x86_64/Ginit_remote.c
rc/x86_64/init.h
4c553ceb2c3fcde6248b05953abc34e162917c4a 20-Apr-2010 Lassi Tuura <lat@cern.ch> Identify end-of-stack by undefined return address location.
rc/dwarf/Gparser.c
dac2d001afb1fa7040ca7d8ae57032f684d7023e 20-Apr-2010 Lassi Tuura <lat@cern.ch> Identify signal frames by augmentation attribute.
nclude/dwarf.h
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/dwarf/Gfde.c
rc/dwarf/Gparser.c
rc/x86_64/Gos-linux.c
rc/x86_64/Gstep.c
250382c56d2c84fc3976cf8a4c834433bb68990d 20-Apr-2010 Lassi Tuura <lat@cern.ch> Use wider format when printing addresses in debug format.
rc/dwarf/Gfde.c
rc/dwarf/Gfind_proc_info-lsb.c
58f290e1ce5950beac3767acbde08fcb0e1ca03f 21-Apr-2010 Konstantin Belousov <kostik@pooma.home> Add config.h.
rc/x86_64/Ginit.c
2709abc88376efe80d7d5ef6d9d4e740d5c9afcb 21-Apr-2010 Konstantin Belousov <kostik@pooma.home> msync() also may be called on unaligned address.
rc/x86/Ginit.c
rc/x86_64/Ginit.c
44544132422ef87047490be3041da0bfebf27d69 21-Apr-2010 Konstantin Belousov <kostik@pooma.home> Account for possible unaligned access.
rc/x86/Ginit.c
rc/x86_64/Ginit.c
74677edb23a4b9ae5bd61c4db3d853d875084895 20-Apr-2010 Konstantin Belousov <kostikbel@gmail.com> Reverse local change
ests/Makefile.am
ee99dbec879212406d813b1bae56b988b4ab1e00 20-Apr-2010 Konstantin Belousov <kostikbel@gmail.com> Use mincore instead of msync when available
onfigure.in
rc/x86/Ginit.c
rc/x86_64/Ginit.c
ests/Makefile.am
75b76d1f45a78e82d8506e90ef6969a8b725ce04 16-Apr-2010 Konstantin Belousov <kostik@pooma.home> Save FPU context for i386.
rc/x86/getcontext-freebsd.S
b1c68e060ca8b75c511d7c056fe951cdc83b0b1b 16-Apr-2010 Konstantin Belousov <kostik@pooma.home> Arrange the FreeBSD ucontext offset definitions in ascending order.
rc/x86_64/ucontext_i.h
a67654e86f915051e6a3f1220facfb3619ffb837 14-Apr-2010 Giuseppe Scrivano <gscrivano@gnu.org> [PATCH] Reduce scope of the eh_frame_end local variable
rc/ptrace/_UPT_find_proc_info.c
1d9c5a356d72993d8e9f5ac70811a723ea156403 14-Apr-2010 Arun Sharma <aruns@google.com> Fix compiler warnings on x86_64 Linux
rc/x86_64/Gos-linux.c
5a70fab4513e7215cc0a94b40905d5a2279be9bb 15-Apr-2010 Arun Sharma <aruns@google.com> Fix compiler warnings on x86 Linux
rc/x86/Gos-linux.c
127acf8e97047f0c5faf31114b1fea370c0c6389 13-Apr-2010 Konstantin Belousov <kostik@pooma.home> Use correct offset name and value for ucontext offset in struct sigframe
rc/x86/Gos-freebsd.c
rc/x86/offsets.h
0d311ea1617fd0ebff52dfacc85746fcc165bb10 13-Apr-2010 Konstantin Belousov <kostik@pooma.home> Add abort() after sigreturn calls
rc/x86/Gos-freebsd.c
34b064bf2233ec8c9223786f4bc714585bbce4f7 13-Apr-2010 Konstantin Belousov <kostik@pooma.home> Fix typo.
rc/x86/Gos-freebsd.c
1e77c66a51102090f429087fccc28cb6c383cce5 13-Apr-2010 Konstantin Belousov <kostik@pooma.home> Fix FreeBSD/x86_64 sigcontext restore
rc/x86_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.
rc/os-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
rc/x86/getcontext-freebsd.S
ae7eebb839491b9d313923e38414b83c1fddcbf4 13-Apr-2010 Konstantin Belousov <kostikbel@gmail.com> Separate getcontext implementation for x86
rc/Makefile.am
rc/x86/getcontext-freebsd.S
rc/x86/getcontext-linux.S
rc/x86/getcontext.S
66e49bdd415ec6c3d6479e2fc2a59a50b5f16d93 13-Apr-2010 Konstantin Belousov <kostikbel@gmail.com> Save %eax for i386
rc/x86/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
rc/unwind/SetGR.c
ests/Ltest-cxx-exceptions.cxx
ests/Makefile.am
eb8857a324ba9d2c721351ab57e62e47d153909f 12-Apr-2010 Giuseppe Scrivano <gscrivano@gnu.org> Silence a compiler warning
rc/x86/Gos-linux.c
843190597c5a482ad7f8ae5483a4f716db3c0719 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Remove unneeded include.

Noted by: Arun Sharma
rc/os-freebsd.c
21f0e90ce85da99c2897d5e2163e8183436becdc 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Rework 69001646fa8, store sigframe address into sigcontext_addr.
rc/x86/Gos-freebsd.c
rc/x86_64/Gos-freebsd.c
42bc15c72c7292f71b12b345e932301f10c91e68 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Provide proper register offsets in the gregset for FreeBSD/i386
rc/ptrace/_UPT_reg_offset.c
f10f8519164c472ee9392f7f037cfd56ba821d53 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Add slightly more debug output
rc/x86/Gstep.c
8d6b00b0821fefb17deb31cfd1ad2b76fb4887d9 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Remove no more needed check.
onfigure.in
e33fa9f73c8eefafc2c1b580e78a5c87bcc4dc44 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Ditch using the libutil, it is not async-signal safe.
rc/os-freebsd.c
69001646fa81d4692ee4b3a5ce942aa2d957bbe0 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Store the ucontext_t pointer to properly handle resume across signal frames.
rc/x86/Gos-freebsd.c
rc/x86_64/Gos-freebsd.c
f01a04371287037ca884ec16b4316edc2a08458c 11-Apr-2010 Konstantin Belousov <kostik@pooma.home> Convince gcc that x86_64_sigreturn cannot return, as declared.
rc/x86_64/Gos-freebsd.c
a688d6c4c9c82d504e08606002b081da42f531e0 10-Apr-2010 Konstantin Belousov <kostik@pooma.home> Remove unused variable.
rc/ptrace/_UPT_access_fpreg.c
dd1c7b6c1a4fc4c6f833b3f3ef21cde1eebcf03b 10-Apr-2010 Konstantin Belousov <kostik@pooma.home> Declare mxcsr as XMM
rc/x86/Gos-freebsd.c
53f7e650e0fb641af08a0f40c9fae1fd037caab9 10-Apr-2010 Konstantin Belousov <kostik@pooma.home> For FreeBSD/i386, add real offset values for FPU context fields.
rc/x86/offsets.h
6f7b335e89e1b7f9c539fc0ebb3f789e34d0b7e4 10-Apr-2010 Konstantin Belousov <kostik@pooma.home> Add my copyrights to several files that contain essential modifications
rc/os-freebsd.c
rc/ptrace/_UPT_access_fpreg.c
rc/ptrace/_UPT_access_mem.c
rc/ptrace/_UPT_access_reg.c
rc/x86/getcontext.S
rc/x86_64/getcontext.S
rc/x86_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).
rc/x86/getcontext.S
117ccd246de163dddd451cf98019e0fa90c6272a 09-Apr-2010 Konstantin Belousov <kostik@pooma.home> Move all XMM offsets into one place.
rc/x86/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.
rc/x86/Gos-freebsd.c
rc/x86/offsets.h
2c50c95cde4e2a7f69b7f14ff48934f34003aabd 09-Apr-2010 Konstantin Belousov <kostik@pooma.home> Correct arguments for Debug().
Shut up warning by using the cast.
rc/x86/Gos-freebsd.c
d1676f192e687ba220c655789f3a53bcbd20c52e 08-Apr-2010 Arun Sharma <aruns@google.com> Fix warnings on 32 bit x86
rc/x86/Gos-linux.c
caa6095aec43541bdbca1ad58d6f65b3de53a1ef 08-Apr-2010 Arun Sharma <aruns@google.com> Fix compile errors on Linux
rc/x86/Gos-linux.c
rc/x86_64/Gos-linux.c
ad6b2f94b9cd9515f8bf1a09ea9160afb80706e3 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Fix tests for PTRACE_* and PT_*.

Submitted by: Arun Sharma
onfigure.in
979af4502fe19b0d98459633731d004a4a010a0e 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Move local_resume to os-specific file.
rc/x86/Gos-freebsd.c
rc/x86/Gos-linux.c
rc/x86/Gresume.c
rc/x86_64/Gos-freebsd.c
rc/x86_64/Gos-linux.c
rc/x86_64/Gresume.c
rc/x86_64/unwind_i.h
0dbeeeb08dc9a7e46281954e9225a84d4629a3db 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Move uc_addr to os-specific file
rc/x86/Ginit.c
rc/x86/Gos-freebsd.c
rc/x86/Gos-linux.c
rc/x86/unwind_i.h
rc/x86_64/Ginit.c
rc/x86_64/Gos-freebsd.c
rc/x86_64/Gos-linux.c
rc/x86_64/unwind_i.h
79d012348df333f191fcb10789dad12b655f2baa 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Move get_scratch_loc() to os-specific file.
rc/x86/Gos-freebsd.c
rc/x86/Gos-linux.c
rc/x86/Gregs.c
rc/x86/unwind_i.h
aeee03dd7429ebfe8ff5a5b16abe646cef52534d 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Reduce diffs to master
rc/x86/Gstep.c
rc/x86_64/Gstep.c
ccc0ae665baa67ae3df8595ab7bb0ef8cbc0e5c4 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> More move of osdep code.
rc/x86_64/Gos-freebsd.c
rc/x86_64/Gstep.c
a40641f326a5360af03e1788ef1c48568761a5be 05-Apr-2010 Konstantin Belousov <kostik@pooma.home> Trim spaces
rc/x86_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
nclude/libunwind-common.h.in
rc/Makefile.am
rc/x86/Gis_signal_frame.c
rc/x86/Gos-linux.c
rc/x86/Gstep.c
rc/x86/Lis_signal_frame.c
rc/x86/Los-linux.c
rc/x86_64/Gis_signal_frame.c
rc/x86_64/Gos-linux.c
rc/x86_64/Gstep.c
rc/x86_64/Los-linux.c
ests/check-namespace.sh.in
459b2a5ba89c3ae0002e741cadbc723e4b1dd0a6 04-Apr-2010 Konstantin Belousov <kostik@pooma.home> Normalize test code
ests/test-async-sig.c
980ccffe9e83b2987d33f17280e8f1284c8c2f5b 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Merge remote branch 'origin/master' into freebsd

Conflicts:
src/x86/Gis_signal_frame.c
8fa95f347e8abe90952f873ac202c3107ed84c1b 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Simplify the check for ptrace operations.
onfigure.in
601919e2f8f71cf6e99082fd30bd54790ff78f7b 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Update FreeBSD notes.
EADME
7169958221f50227342dc7972c2ed9917b5b8141 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Add some notes about FreeBSD.
EADME
574d32a8296567752507e45816a43346d6113137 04-Apr-2010 Konstantin Belousov <kostik@pooma.home> malloc.h is not needed.
ests/Gtest-dyn1.c
6e07e94d5dc29425d4f28995e7fed11ac618810d 04-Apr-2010 Konstantin Belousov <kostik@pooma.home> Revert "Test for malloc.h."

This reverts commit 22b17269cf508711b0ab209b50f6a65882672bc8.
onfigure.in
ests/Gtest-dyn1.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>
rc/x86/Gis_signal_frame.c
22b17269cf508711b0ab209b50f6a65882672bc8 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Test for malloc.h.
onfigure.in
ests/Gtest-dyn1.c
bd2798805a68eac5491a4b096659a05e61e83580 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Reformat os-freebsd.c.
rc/os-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.
rc/setjmp/longjmp.c
rc/setjmp/siglongjmp.c
31ece3eaa120d09b36ad785b93f85f08fbbbfe6a 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Fix setcontext for amd64 freebsd
rc/x86_64/setcontext.S
ad97600f75be7ad9fd807fd8f820a6d7226c195d 31-Mar-2010 Konstantin Belousov <kostik@pooma.home> Correct the configure check for -ldl.

Submitted by: Arun Sharma <aruns@google.com>
onfigure.in
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.
rc/ptrace/_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.
rc/dwarf/Gparser.c
8a75ba971a295ce7e6b7b73b90272fb9c04e5b2f 13-Mar-2010 Konstantin Belousov <kostik@pooma.home> Signal trampoline on amd64 for ia32 is special.
rc/x86/Gis_signal_frame.c
e51429280bd0238b1486a391eaca838944391ac7 13-Mar-2010 Konstantin Belousov <kostik@pooma.home> Handle error return from is_signal_frame
rc/x86/Gstep.c
e9cd30040e2794ee586ff853b360b47881824fda 13-Mar-2010 Konstantin Belousov <kostik@pooma.home> Move x86 porting further.
nclude/tdep-x86/libunwind_i.h
rc/x86/Gis_signal_frame.c
rc/x86/Gregs.c
rc/x86/Gresume.c
rc/x86/Gstep.c
rc/x86/getcontext.S
rc/x86/offsets.h
71c4161247638cb521fcfbe466c7a77f3f680295 13-Mar-2010 Konstantin Belousov <kostik@pooma.home> Remove extra empty line
nclude/tdep-x86_64/jmpbuf.h
rc/x86/Gresume.c
bdee34d766d8f5b5a0680cb296cb7e1e49e7cc1e 13-Mar-2010 Konstantin Belousov <kostik@pooma.home> Jump buffer indices for FreeBSD/x86.
nclude/tdep-x86/jmpbuf.h
d3ddc9b96b57ff2d535178487669d081f8fecbb7 11-Mar-2010 Arun Sharma <aruns@google.com> Cap the runtime for rs-race
ests/rs-race.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.
rc/x86_64/setcontext.S
rc/x86_64/ucontext_i.h
ests/Gtest-resume-sig.c
24112f6d9b87554fe18b1ca0f939f30c76ac38fa 11-Mar-2010 Arun Sharma <aruns@google.com> Fix some test failures on x86_64 on distros with small default stacks.
ests/Gtest-bt.c
a6b23dcb0c42198ad01764a27a084fd49116a544 10-Mar-2010 Konstantin Belousov <kostik@pooma.home> Add partial implementation for is_signal_frame for i386.
rc/x86/Gis_signal_frame.c
54f8b2fdbe814d79cf52231ba38175c92b5c3c23 10-Mar-2010 Konstantin Belousov <kostikbel@gmail.com> Fill real offsets for freebsd
rc/x86/offsets.h
d7377096400e73db989ebb6b0985a84754a413ca 10-Mar-2010 Konstantin Belousov <kostikbel@gmail.com> Close #if
ests/Gtest-bt.c
47dcc89457137caea648147d9578d75781bea750 10-Mar-2010 Konstantin Belousov <kostik@pooma.home> Remove unneeded braces
rc/x86/getcontext.S
3b026a7ed8e4c03e7d0177ac198b2649427f80d1 10-Mar-2010 Konstantin Belousov <kostik@pooma.home> Fix i386 distinctions between freebsd and linux for mcontext.
ests/Gtest-bt.c
bb41eba56c44306e5bc2dcf8eeba574bd5a3702f 09-Mar-2010 Konstantin Belousov <kostikbel@gmail.com> FreeBSD/i386 port. get/setcontext need further work
rc/x86/Gcreate_addr_space.c
rc/x86/Ginit.c
rc/x86/getcontext.S
rc/x86/offsets.h
c61e0b932cccc2b56068a527575cb09dfabfa32b 09-Mar-2010 Konstantin Belousov <kostikbel@gmail.com> Add sys/types.h for x86.
nclude/libunwind-x86.h
71cbdc697fade0d253f41ffdc6f286c0ea684560 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Provide real values for jmpbuf offsets for FreeBSD
nclude/tdep-x86_64/jmpbuf.h
nclude/x86_64/jmpbuf.h
9f79621a298719b22744f6637269f0d4ef314c39 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Enough for now for ptrace backend
rc/ptrace/_UPT_find_proc_info.c
752ce15c4fbe0e08c2d19df18caa86887732b3c8 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Preliminary version of freebsd syscall unwinder
nclude/tdep-x86_64/libunwind_i.h
rc/ptrace/_UPT_find_proc_info.c
rc/x86_64/Gis_signal_frame.c
rc/x86_64/Gstep.c
c1b1c10cfceccec0cc707b0100e053892bb203f7 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Fix memory leak on error
rc/os-freebsd.c
4b3ca293bf941ee2122afc9e7ccef92de55899a0 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Fix PT_SYSCALL ignoring of ip
ests/test-ptrace.c
89e1df2d328e96f15539af223f808ebc9dce82b0 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Fix _UI_siglongjmp_cont name
rc/x86_64/longjmp.S
rc/x86_64/siglongjmp.S
0f1c0f5f664004f0e812e7c2d939bc21fc5e89df 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Fix resume.
rc/x86_64/Gresume.c
rc/x86_64/getcontext.S
rc/x86_64/ucontext_i.h
43ed5b3e56279999382b10acf9f3dfaab3257aef 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Add required assembler magic.
rc/x86_64/getcontext.S
rc/x86_64/longjmp.S
rc/x86_64/setcontext.S
rc/x86_64/siglongjmp.S
5f5b1a5daa9f746b40e85103961734110dacc07c 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> tdep_get_elf_image should be public
rc/os-freebsd.c
ad932154a687d381482b66b01b4aaf11fe690969 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Port test-ptrace
onfigure.in
ests/test-ptrace.c
093855f12a00d4eacf548db6095235f970f88305 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Remove unneeded includes of sys/types.h
nclude/dwarf.h
rc/dwarf/Lexpr.c
rc/dwarf/Lfde.c
rc/dwarf/Lfind_proc_info-lsb.c
rc/dwarf/Lparser.c
rc/dwarf/Lpe.c
rc/dwarf/Lstep.c
rc/mi/Ldestroy_addr_space.c
rc/mi/Ldyn-extract.c
rc/mi/Lfind_dynamic_proc_info.c
rc/mi/Lget_accessors.c
rc/mi/Lget_fpreg.c
rc/mi/Lget_proc_info_by_ip.c
rc/mi/Lget_proc_name.c
rc/mi/Lget_reg.c
rc/mi/Lput_dynamic_unwind_info.c
rc/mi/Lset_caching_policy.c
rc/mi/Lset_fpreg.c
rc/mi/Lset_reg.c
rc/mi/backtrace.c
rc/setjmp/longjmp.c
rc/x86_64/Gis_signal_frame.c
rc/x86_64/Lcreate_addr_space.c
rc/x86_64/Lget_proc_info.c
rc/x86_64/Lget_save_loc.c
rc/x86_64/Lglobal.c
rc/x86_64/Linit.c
rc/x86_64/Linit_local.c
rc/x86_64/Linit_remote.c
rc/x86_64/Lis_signal_frame.c
rc/x86_64/Lregs.c
rc/x86_64/Lresume.c
rc/x86_64/Lstep.c
64b5391b7b77c52ea33b9a46196ce2c3845ec2a7 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Include sys/types.h once
nclude/libunwind-x86_64.h
da357e3c2e34c4d9d51e22d778a6dcea6eccef56 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Revert "sys/types.h"

This reverts commit 5976f1a5b33ba1af3e7dbc663ffbebca3b944024.
ests/Lperf-simple.c
53095e6b3e4a6738e814c8f40cf546dca96a061f 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Code for resume
rc/Makefile.am
rc/x86/offsets.h
rc/x86_64/Gresume.c
rc/x86_64/offsets.h
c64723835c0c855fde5bec3d7528db64fe539015 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Support walk over freebsd sigframes
nclude/tdep-x86_64/libunwind_i.h
rc/x86/offsets.h
rc/x86_64/Gis_signal_frame.c
rc/x86_64/Gregs.c
rc/x86_64/Gstep.c
d0d5f9979b3b870c882587ce6c4c4c01cbfcfe31 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Correct rsp offset
rc/x86_64/Gis_signal_frame.c
rc/x86_64/ucontext_i.h
efd0655ff49cd32a24e3f85ff4a6e2565aab62ca 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Silence warning about symbol redefinition.
rc/elf32.h
rc/elf64.h
59d38aaccd53c13d962f07dbcb44b3ec5513c5ca 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Properly handle -ldl and -lutil
onfigure.in
ests/Makefile.am
d7eea914485d5d5d3c7b29a74a68541240b6a090 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Cast caddr_t argument for ptrace
rc/ptrace/_UPT_access_fpreg.c
200147d0f2cdc5479375bb4fdeac8b717f67c3d6 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Handle fpu state
rc/x86_64/getcontext.S
rc/x86_64/setcontext.S
rc/x86_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.
rc/x86_64/ucontext_i.h
63ae8ca8947c67aaa402abbe46a12d118366e1df 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Correct assignments, remove unneeded includes.
rc/os-freebsd.c
4de09a9c1569e17132973b801f77bcab8d927480 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Implement freebsd-specific vm walker.
rc/os-freebsd.c
81f2de00830e7d68add0c12b68a3c67778acaf6d 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Add implementation of unw_is_signal_frame for freebsd.
rc/x86_64/Gis_signal_frame.c
1ba7599250d8bb2be1a4a21c1181d6a87db5e597 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Add FreeBSD stub.
rc/x86_64/Gis_signal_frame.c
2646e0fde8a5721ec7356dce38e5341b3080ca62 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Add freebsd stub
rc/Makefile.am
rc/os-freebsd.c
5976f1a5b33ba1af3e7dbc663ffbebca3b944024 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> sys/types.h
ests/Lperf-simple.c
d7f51410753f67c0ae1caa5fbdb428f7718b99ec 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> MAP_ANONYMOUS
ests/mapper.c
3eabce18b1e70c3b26975024e450977dfb4b84b9 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Include sys/types.h when needed.
nclude/dwarf.h
rc/dwarf/Lexpr.c
rc/dwarf/Lfde.c
rc/dwarf/Lfind_proc_info-lsb.c
rc/dwarf/Lparser.c
rc/dwarf/Lpe.c
rc/dwarf/Lstep.c
rc/mi/Ldestroy_addr_space.c
rc/mi/Ldyn-extract.c
rc/mi/Lfind_dynamic_proc_info.c
rc/mi/Lget_accessors.c
rc/mi/Lget_fpreg.c
rc/mi/Lget_proc_info_by_ip.c
rc/mi/Lget_proc_name.c
rc/mi/Lget_reg.c
rc/mi/Lput_dynamic_unwind_info.c
rc/mi/Lset_caching_policy.c
rc/mi/Lset_fpreg.c
rc/mi/Lset_reg.c
rc/mi/backtrace.c
rc/setjmp/longjmp.c
rc/x86_64/Gcreate_addr_space.c
rc/x86_64/Gis_signal_frame.c
rc/x86_64/Gresume.c
rc/x86_64/Lcreate_addr_space.c
rc/x86_64/Lget_proc_info.c
rc/x86_64/Lget_save_loc.c
rc/x86_64/Lglobal.c
rc/x86_64/Linit.c
rc/x86_64/Linit_local.c
rc/x86_64/Linit_remote.c
rc/x86_64/Lis_signal_frame.c
rc/x86_64/Lregs.c
rc/x86_64/Lresume.c
rc/x86_64/Lstep.c
29c110265f50c14b8611a3f14be3941b23952125 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> _NSIG.
rc/setjmp/siglongjmp.c
c7ffca11ae3b77343a9158ff5037cdf2e84136ae 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> FreeBSD way to name registers.
rc/x86_64/Ginit.c
8ccebc9307edda6c2315cc81f0381192b2db9df1 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> MAP_ANONYMOUS
nclude/libunwind_i.h
78cb28b4a6a01dabb4ff50bcc2edb8772627e5d4 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> PT_CONTINUE.
onfigure.in
rc/ptrace/_UPT_resume.c
d4a4ddd23d5a059c0b1a637fee5de78b6158eecd 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Provide access to the general regs on FreeBSD.
onfigure.in
rc/ptrace/_UPT_access_reg.c
rc/ptrace/_UPT_reg_offset.c
cf6ae3548f96fa90da32b96529897cb6257355c1 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Code to read/write user memory on FreeBSD
onfigure.in
rc/ptrace/_UPT_access_mem.c
d11456ffbf6dd6f556eb3bc64e8a368e7e3381c5 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Code to read/write fpregs on FreeBSD
onfigure.in
rc/ptrace/_UPT_access_fpreg.c
rc/ptrace/_UPT_internal.h
905034ce728e84b2a1652ac4b44a2d8a5147a0d1 05-Mar-2010 Konstantin Belousov <kostik@pooma.home> Initial attempt at the build infrastructure for FreeBSD.
onfigure.in
nclude/libunwind_i.h
nclude/tdep/dwarf-config.h
rc/Makefile.am
rc/ptrace/_UPT_internal.h
46ea10680d689fed15e2bbeed534c0c52059e0ec 03-Mar-2010 Arun Sharma <aruns@google.com> Update documentation on building from git
EADME
3468a6b33d96549d1b01ef0c0fa42eb93fd3645d 23-Feb-2010 Arun Sharma <aruns@google.com> Change MS_SYNC to MS_ASYNC

Hopefully this makes the address validation a bit cheaper.
rc/x86/Ginit.c
rc/x86_64/Ginit.c
752076789fdeec16827ddd846485182d4c3cd11f 22-Feb-2010 Stefan Demharter <stefan.demharter@gmx.net> Be gcc compatible for C++ exceptions on 32 bit platforms.
nclude/unwind.h
rc/unwind/RaiseException.c
rc/unwind/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.
rc/os-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
nclude/libunwind-x86.h
rc/Makefile.am
rc/x86/getcontext.S
rc/x86/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.
rc/x86/Ginit.c
rc/x86_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.
rc/dwarf/Gparser.c
ests/Makefile.am
ests/rs-race.c
890a630d76ca4af8cb9758e3c74d00897dbcb544 20-Nov-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Fix tests/Gtest-concurrent.c to test all caching policies

Greetings,

Attached patch is rather on the obvious side: setting caching policy and
than doing nothing is pointless; we'd better acutally test that it works!

Tested on Linux/x86_64.

Thanks,
--
Paul Pluzhnikov
ests/Gtest-concurrent.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
rc/dwarf/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
rc/dwarf/Gparser.c
f88e949d16a3ce5f9c4ad1c2ee9b5b0e298b8f59 12-Nov-2009 Arun Sharma <aruns@google.com> Set UNW_TDEP_SP on x86 to ESP

This is similar to what has been done on other archs and resolves an out of
bounds array access elsewhere.
nclude/libunwind-x86.h
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.
rc/dwarf/Gparser.c
3067acf17287d7357925213d5f11b79a48bbdf9d 18-Oct-2009 Arun Sharma <aruns@google.com> Remove duplicate calls to mark_as_used
nclude/libunwind_i.h
4ab26bcdaafce0e7f34dfaafd14c7837d8bb5435 17-Oct-2009 Arun Sharma <aruns@google.com> Fix compiler warnings seen with --disable_block_signals
nclude/libunwind_i.h
570c09a2afe255ce30b64e3298218ffbcff73e80 16-Oct-2009 Belisko Marek <marek.belisko@gmail.com> Fix another compiler warning.
ests/Gtest-dyn1.c
491d576529a3b01208accb37627a075d7ce07093 16-Oct-2009 Arun Sharma <aruns@google.com> Fix compiler warnings on x86_64
nclude/libunwind_i.h
rc/dwarf/Gfind_proc_info-lsb.c
rc/dwarf/Gstep.c
rc/x86_64/Gresume.c
rc/x86_64/unwind_i.h
af9daf66afde3c92b2c7c4f171bf3414c623892c 16-Oct-2009 Arun Sharma <aruns@google.com> Fix the naming of the sigprocmask parameters.
nclude/libunwind_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.
rc/dwarf/Gfind_proc_info-lsb.c
rc/os-linux.c
rc/os-linux.h
ests/Gtest-bt.c
fc2934aadeff468b751113d56093429fd6bc4832 30-Sep-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Make the remaining sigprocmask calls conditional on --enable-block-signals
rc/dwarf/Gfind_proc_info-lsb.c
rc/ia64/Gtables.c
b7e3444fea7f19f05e1fe033b96efad394ab9b4a 25-Sep-2009 Paul Pluzhnikov <ppluzhnikov@google.com> When libunwind is configured with --enable-block-signals=no,
we must block recursion via sighandlers by "external" means.
ests/test-async-sig.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.
nclude/dwarf.h
rc/dwarf/Gparser.c
9aa0d6d6805b3b4a852f7e478364301bb31230ae 21-Sep-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Allow caller to block signals.

Greetings,

Here is the second part, actually implementing the configure option.

Thanks,
--
Paul Pluzhnikov

commit cf823ed0d4d2447aa91af0e3cb5fbb6a6cba5068
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date: Mon Sep 21 11:37:38 2009 -0700

New configure option to allow caller to block signals.
onfigure.in
nclude/libunwind_i.h
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.
rc/arm/Gglobal.c
rc/dwarf/Gparser.c
rc/hppa/Gglobal.c
rc/ia64/Gglobal.c
rc/ia64/Gscript.c
rc/mips/Gglobal.c
rc/ppc32/Gglobal.c
rc/ppc64/Gglobal.c
rc/x86/Gglobal.c
rc/x86_64/Gglobal.c
35e6a1a108f39a8ab5c3825f85e41b7b08021322 28-Aug-2009 Arun Sharma <aruns@google.com> This avoids a C++ syntax error with a (non-gcc?) compiler.

Signed-off-by: Lassi Tuura <lat@cern.ch>
nclude/libunwind-dynamic.h
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>
rc/Makefile.am
rc/ia64/unwind_GetIPInfo.c
b483ea3f0e16760c75045042f25372a50527d30f 13-Apr-2009 Arun Sharma <aruns@google.com> Multilib support.

This is useful when packaging for multiple target architectures.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
akefile.am
onfigure.in
nclude/libunwind.h
nclude/tdep/dwarf-config.h
nclude/tdep/jmpbuf.h
nclude/tdep/libunwind_i.h
6aec15799d0572a484065aed3d97317df0702b17 13-Apr-2009 Arun Sharma <aruns@google.com> Fix ppc32 build.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
onfigure.in
rc/ptrace/_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
rc/unwind/GetIPInfo.c
aaed432328fb0892e0042616d3939d743d474469 13-Apr-2009 Arun Sharma <aruns@google.com> Remove more autogenerated files.
NSTALL
onfig/compile
onfig/config.guess
onfig/config.sub
onfig/depcomp
onfig/install-sh
onfig/ltmain.sh
onfig/missing
onfig/mkinstalldirs
nclude/config.h.in
nclude/stamp-h.in
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>
onfigure.in
nclude/unwind.h
rc/Makefile.am
rc/ia64/unwind_GetIPInfo.c
rc/unwind/GetIPInfo.c
ests/check-namespace.sh.in
18a0a81ffce18acd28f2e27f97c2a64aacf3b798 18-Mar-2009 Arun Sharma <aruns@google.com> Update the tag to -beta.
onfigure.in
9607c6407c3d0f8cff7b985f9f2b8aa96ffc00f6 18-Mar-2009 Arun Sharma <aruns@google.com> Fixup CONFIG_DEBUG_FRAME support.
onfigure.in
nclude/config.h.in
rc/dwarf/Gfind_proc_info-lsb.c
1227c41d20be7e31ce8b5284b27d1d75009cd3eb 17-Mar-2009 Arun Sharma <aruns@google.com> Disable C++ exception support by default on x86.
onfigure.in
ests/check-namespace.sh.in
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>
nclude/libunwind_i.h
rc/dwarf/Gparser.c
rc/ia64/Gparser.c
rc/ia64/Gscript.c
rc/ia64/Gstep.c
rc/ia64/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>
nclude/tdep-x86/libunwind_i.h
rc/x86/Ginit.c
rc/x86/Ginit_local.c
rc/x86/Ginit_remote.c
rc/x86/Gresume.c
rc/x86/Gstep.c
5822fca27a6861e07c3f74c3abd90cb020304d01 16-Mar-2009 Arun Sharma <aruns@google.com> Enable Intel C++ compatibility only when C++ exceptions are enabled.
rc/Makefile.am
0bce5f0016c181fbdc9e24db3535929d1a261457 16-Mar-2009 Arun Sharma <aruns@google.com> Remove auto generated files.
akefile.in
clocal.m4
onfigure
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
83cef8b8f51eb46b23f6e72493d070c95a544919 16-Mar-2009 Arun Sharma <aruns@google.com> Don't check C++ ABI when it's not enabled.
onfigure.in
ests/check-namespace.sh.in
576b59e4b15ddf2f2d3f17036b9c2f43c7504777 15-Mar-2009 Arun Sharma <aruns@google.com> Verify that we don't call malloc when unwinding locally.
ests/Gtest-nomalloc.c
ests/Ltest-nomalloc.c
ests/Makefile.am
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.
onfigure.in
rc/dwarf/Gfind_proc_info-lsb.c
638302ed73dd5fcce770e0ddaa159a9593aae36a 16-Jun-2008 David Mosberger-Tang <davidm@koala.mostang.com> Rerun autoreconf.
rc/Makefile.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>
nclude/libunwind-x86_64.h
rc/Makefile.am
rc/x86_64/Gresume.c
rc/x86_64/getcontext.S
rc/x86_64/offsets.h
rc/x86_64/setcontext.S
rc/x86_64/ucontext_i.h
ests/check-namespace.sh.in
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>
nclude/tdep-x86_64/libunwind_i.h
rc/x86_64/Ginit.c
rc/x86_64/Ginit_local.c
rc/x86_64/Ginit_remote.c
rc/x86_64/Gis_signal_frame.c
rc/x86_64/Gresume.c
rc/x86_64/Gstep.c
183d28a0668f100a181cc665ea702985d2ee717e 16-Jun-2008 David Mosberger-Tang <davidm@koala.mostang.com> Rebuild autoconf files with autoreconf.
akefile.in
clocal.m4
onfigure
oc/Makefile.in
rc/Makefile.in
ests/Makefile.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>
onfigure.in
rc/Makefile.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>
rc/arm/unwind_i.h
rc/ptrace/_UPT_find_proc_info.c
ests/flush-cache.S
6f282a00f55d0bc11f131da5d3591a1a4030a9f9 21-Apr-2008 Bruna Moreira <bruna.moreira@openbossa.org> [ARM] This patch fix some testsuite issues on ARM:

- Gtest-bt: like on x86/-64, the stack size passed to sigaltstack() is
too small for ARM thus causing segmentation fault due to stack
overflow.

- Gtest-dyn1: code size definition of dynamic function (template()) on
testcase is too big for ARM architecture so memcpy() reads invalid
memory causing random crashes (segmentation fault). A better
solution would be to compile the function in a separate binary,
mmap() it and memcpy() from it instead, so maximum size is known for
sure.

- check-name-space.in: fix some "bashisms", it causes the script to
fail to run on N8XX's busybox shell.

Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br>
Signed-off-by: Bruna Moreira <bruna.moreira@indt.org.br>
ests/Gtest-bt.c
ests/Gtest-dyn1.c
ests/check-namespace.sh.in
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>
rc/x86_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
clocal.m4
onfigure
onfigure.in
oc/Makefile.in
nclude/dwarf.h
nclude/dwarf_i.h
nclude/libunwind-arm.h
nclude/libunwind-mips.h
nclude/remote.h
nclude/tdep-arm/dwarf-config.h
nclude/tdep-arm/jmpbuf.h
nclude/tdep-arm/libunwind_i.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-mips/dwarf-config.h
nclude/tdep-mips/jmpbuf.h
nclude/tdep-mips/libunwind_i.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
rc/Makefile.am
rc/Makefile.in
rc/arm/Gcreate_addr_space.c
rc/arm/Gget_proc_info.c
rc/arm/Gget_save_loc.c
rc/arm/Gglobal.c
rc/arm/Ginit.c
rc/arm/Ginit_local.c
rc/arm/Ginit_remote.c
rc/arm/Gis_signal_frame.c
rc/arm/Gregs.c
rc/arm/Gresume.c
rc/arm/Gstep.c
rc/arm/Lcreate_addr_space.c
rc/arm/Lget_proc_info.c
rc/arm/Lget_save_loc.c
rc/arm/Lglobal.c
rc/arm/Linit.c
rc/arm/Linit_local.c
rc/arm/Linit_remote.c
rc/arm/Lis_signal_frame.c
rc/arm/Lregs.c
rc/arm/Lresume.c
rc/arm/Lstep.c
rc/arm/gen-offsets.c
rc/arm/getcontext.S
rc/arm/init.h
rc/arm/is_fpreg.c
rc/arm/offsets.h
rc/arm/regname.c
rc/arm/siglongjmp.S
rc/arm/unwind_i.h
rc/dwarf/Gexpr.c
rc/dwarf/Gfde.c
rc/dwarf/Gfind_proc_info-lsb.c
rc/dwarf/Gpe.c
rc/mi/Gfind_dynamic_proc_info.c
rc/mi/backtrace.c
rc/mi/dyn-info-list.c
rc/mi/flush_cache.c
rc/mips/Gcreate_addr_space.c
rc/mips/Gget_proc_info.c
rc/mips/Gget_save_loc.c
rc/mips/Gglobal.c
rc/mips/Ginit.c
rc/mips/Ginit_local.c
rc/mips/Ginit_remote.c
rc/mips/Gis_signal_frame.c
rc/mips/Gregs.c
rc/mips/Gresume.c
rc/mips/Gstep.c
rc/mips/Lcreate_addr_space.c
rc/mips/Lget_proc_info.c
rc/mips/Lget_save_loc.c
rc/mips/Lglobal.c
rc/mips/Linit.c
rc/mips/Linit_local.c
rc/mips/Linit_remote.c
rc/mips/Lis_signal_frame.c
rc/mips/Lregs.c
rc/mips/Lresume.c
rc/mips/Lstep.c
rc/mips/elfxx.c
rc/mips/gen-offsets.c
rc/mips/getcontext.S
rc/mips/init.h
rc/mips/is_fpreg.c
rc/mips/offsets.h
rc/mips/regname.c
rc/mips/siglongjmp.S
rc/mips/unwind_i.h
rc/ptrace/_UPT_reg_offset.c
rc/setjmp/longjmp.c
rc/setjmp/siglongjmp.c
rc/unwind/FindEnclosingFunction.c
rc/unwind/RaiseException.c
rc/unwind/unwind-internal.h
ests/Makefile.in
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.
rc/dwarf/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.
rc/mi/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>
nclude/libunwind-x86.h
rc/x86/Gget_save_loc.c
rc/x86/Gregs.c
rc/x86/is_fpreg.c
rc/x86/regname.c
32145b680d9f62d619eb61a2316c6b1b1415fc57 10-Dec-2007 David Mosberger-Tang <davidm@koala.mostang.com> Merge ../libunwind-v0.98
4759b8eaf80224cf52a8178c66b2d0811d90b8a4 10-Dec-2007 David Mosberger-Tang <davidm@koala.mostang.com> Mark tests/perf-startup executable. Suggested by Mark Wielaard.
ests/perf-startup
79c943b92217da79102c4e5abff91fa5fb2dd86c 10-Dec-2007 David Mosberger-Tang <davidm@koala.mostang.com> Make tests/perf-startup executable. Suggested by Mark Wielaard.
ests/perf-startup
5ffab805cb9496f61ade676ee9b5e68cf9d520ae 15-Nov-2007 David Mosberger-Tang <davidm@koala.mostang.com> Merge ../libunwind-v0.98

Conflicts:

README
configure
configure.in
826374cee51b25b4e92b162f61762945b308559a 15-Nov-2007 David Mosberger-Tang <davidm@koala.mostang.com> Merge ../libunwind-v0.98

Conflicts:

configure
configure.in
src/ia64/Ginit.c
3550b501b1aa0b3705b62582eb709a08eefcfca2 15-Nov-2007 David Mosberger-Tang <davidm@koala.mostang.com> Update mailing-list info.
UTHORS
EADME
onfigure
onfigure.in
3899ab70393f1793b4b804d8504721f4ecef2279 14-Nov-2007 David Mosberger-Tang <davidm@panda.mostang.com> Update NEWS file and rerun "autoreconf".
akefile.in
EWS
clocal.m4
onfigure
onfigure.in
oc/Makefile.in
nclude/config.h.in
rc/Makefile.in
ests/Makefile.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.
rc/ia64/Ginit.c
253f3e57386cea5b4877a92d11038f9b6ad0444d 18-Oct-2007 Curt Wohlgemuth <curtw@cup.hp.com> [Linux] Fix potentially overlapping memory-copy to use memmove() instead
of memcpy().
rc/os-linux.h
87247220a9df26ea90822b0206e4e5c560c9c7ec 16-Oct-2007 David Mosberger-Tang <davidm@koala.mostang.com> Update mailing-list info in README. Thanks to Curt Wohlgemut for pointing
this out.
EADME
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>
rc/x86/init.h
9ea6af8ed5ee7b07f8de6d774bc6df2b7320f0e8 08-Oct-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> [PPC32] Make PPC32 unwinding work for real.
nclude/libunwind-ppc32.h
rc/ppc32/Gglobal.c
rc/ppc32/Ginit.c
rc/ppc32/Gstep.c
rc/ppc32/init.h
rc/ppc32/regname.c
rc/ppc32/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.
rc/hppa/getcontext.S
rc/hppa/setcontext.S
rc/hppa/siglongjmp.S
rc/ia64/Ginstall_cursor.S
rc/ia64/Linstall_cursor.S
rc/ia64/dyn_info_list.S
rc/ia64/getcontext.S
rc/ia64/longjmp.S
rc/ia64/setjmp.S
rc/ia64/siglongjmp.S
rc/ia64/sigsetjmp.S
rc/ppc/longjmp.S
rc/ppc/siglongjmp.S
rc/ppc32/setcontext.S
rc/ppc64/setcontext.S
rc/x86/longjmp.S
rc/x86/siglongjmp.S
rc/x86_64/longjmp.S
rc/x86_64/setcontext.S
rc/x86_64/siglongjmp.S
ests/flush-cache.S
ests/ia64-dyn-asm.S
ests/ia64-test-nat-asm.S
ests/ia64-test-rbs-asm.S
ests/ia64-test-readonly-asm.S
ests/ia64-test-stack-asm.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.
onfigure
onfigure.in
rc/ppc32/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
nclude/libunwind-ppc32.h
nclude/tdep-ppc32/dwarf-config.h
nclude/tdep-ppc32/jmpbuf.h
nclude/tdep-ppc32/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
rc/Makefile.am
rc/Makefile.in
rc/ppc/Gcreate_addr_space.c
rc/ppc/Gget_proc_info.c
rc/ppc/Gget_save_loc.c
rc/ppc/Ginit_local.c
rc/ppc/Ginit_remote.c
rc/ppc/Gis_signal_frame.c
rc/ppc/Lcreate_addr_space.c
rc/ppc/Lget_proc_info.c
rc/ppc/Lget_save_loc.c
rc/ppc/Linit_local.c
rc/ppc/Linit_remote.c
rc/ppc/Lis_signal_frame.c
rc/ppc/longjmp.S
rc/ppc/siglongjmp.S
rc/ppc32/Gglobal.c
rc/ppc32/Ginit.c
rc/ppc32/Gregs.c
rc/ppc32/Gresume.c
rc/ppc32/Gstep.c
rc/ppc32/Lglobal.c
rc/ppc32/Linit.c
rc/ppc32/Lregs.c
rc/ppc32/Lresume.c
rc/ppc32/Lstep.c
rc/ppc32/Make-arch.in
rc/ppc32/get_func_addr.c
rc/ppc32/init.h
rc/ppc32/is_fpreg.c
rc/ppc32/regname.c
rc/ppc32/setcontext.S
rc/ppc32/ucontext_i.h
rc/ppc32/unwind_i.h
rc/ppc64/Gcreate_addr_space.c
rc/ppc64/Gget_proc_info.c
rc/ppc64/Gget_save_loc.c
rc/ppc64/Ginit_local.c
rc/ppc64/Ginit_remote.c
rc/ppc64/Gis_signal_frame.c
rc/ppc64/Gstep.c
rc/ppc64/Lcreate_addr_space.c
rc/ppc64/Lget_proc_info.c
rc/ppc64/Lget_save_loc.c
rc/ppc64/Linit_local.c
rc/ppc64/Linit_remote.c
rc/ppc64/Lis_signal_frame.c
rc/ppc64/Make-arch.in
rc/ppc64/init.h
rc/ppc64/longjmp.S
rc/ppc64/siglongjmp.S
rc/ptrace/_UPT_reg_offset.c
ests/flush-cache.S
6d75df39b5dd602be2bc3b8edc8b745d6224fd71 27-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Regenerate Makefile.in.
rc/Makefile.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.
EADME
rc/Makefile.am
rc/ppc64/siglongjmp.S
rc/ptrace/_UPT_find_proc_info.c
ests/flush-cache.S
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
EADME
rc/ppc64/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.
nclude/libunwind_i.h
nclude/tdep-ppc64/libunwind_i.h
rc/Makefile.am
rc/Makefile.in
rc/elfxx.c
rc/elfxx.h
rc/hppa/Ginit.c
rc/ia64/Ginit.c
rc/ppc64/Ginit.c
rc/ppc64/get_func_addr.c
rc/ptrace/_UPT_get_proc_name.c
rc/x86/Ginit.c
rc/x86_64/Ginit.c
03e05b41386fd5797cb8cd62eff7f0ba77c4e07e 22-Aug-2007 David Mosberger-Tang <davidm@panda.mostang.com> Fix two minor compiler-warnings.
rc/os-linux.h
75f34ccb7dcdfd2b96e370824b3fd723b2f22b49 22-Aug-2007 David Mosberger-Tang <davidm@panda.mostang.com> Update documentation and regenerate manual-pages.
oc/Makefile.am
oc/Makefile.in
oc/_U_dyn_cancel.man
oc/_U_dyn_cancel.tex
oc/_U_dyn_register.man
oc/_U_dyn_register.tex
oc/libunwind-dynamic.man
oc/libunwind-dynamic.tex
oc/libunwind-ia64.man
oc/libunwind-ia64.tex
oc/libunwind-ptrace.man
oc/libunwind-ptrace.tex
oc/libunwind-setjmp.man
oc/libunwind-setjmp.tex
oc/libunwind.man
oc/libunwind.tex
oc/unw_create_addr_space.man
oc/unw_create_addr_space.tex
oc/unw_destroy_addr_space.man
oc/unw_destroy_addr_space.tex
oc/unw_flush_cache.man
oc/unw_flush_cache.tex
oc/unw_get_accessors.man
oc/unw_get_accessors.tex
oc/unw_get_fpreg.man
oc/unw_get_fpreg.tex
oc/unw_get_proc_info.man
oc/unw_get_proc_info.tex
oc/unw_get_proc_info_by_ip.man
oc/unw_get_proc_info_by_ip.tex
oc/unw_get_proc_name.man
oc/unw_get_proc_name.tex
oc/unw_get_reg.man
oc/unw_get_reg.tex
oc/unw_getcontext.man
oc/unw_getcontext.tex
oc/unw_init_local.man
oc/unw_init_local.tex
oc/unw_init_remote.man
oc/unw_init_remote.tex
oc/unw_is_fpreg.man
oc/unw_is_fpreg.tex
oc/unw_is_signal_frame.man
oc/unw_is_signal_frame.tex
oc/unw_regname.man
oc/unw_regname.tex
oc/unw_resume.man
oc/unw_resume.tex
oc/unw_set_caching_policy.man
oc/unw_set_caching_policy.tex
oc/unw_set_fpreg.man
oc/unw_set_fpreg.tex
oc/unw_set_reg.man
oc/unw_set_reg.tex
oc/unw_step.man
oc/unw_step.tex
7aca85a85d0ae0e9ebb1b568e0a49a21f4b32845 16-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Update html-versions of man-pages for Savannah-based home page.
oc/Makefile.am
oc/Makefile.in
oc/libunwind.trans
7fdd022ccfbaaa8688f36e26544c866892a83706 10-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Update autoconf files.
oc/Makefile.am
oc/Makefile.in
rc/Makefile.in
25739eec8667ae3a78a62b44a912a7fbcda3d43d 10-Aug-2007 David Mosberger-Tang <davidm@panda.mostang.com> [IA64] Fix ia64-test-setjmp.c. With MAP_SHARED the kernel will try to
find a 1MiB-aligned region, which isn't what we want here.
ests/ia64-test-setjmp.c
bcca3ddcc0d48a50639b2d985e09d6ac6de030d0 08-Aug-2007 Arun Sharma <aruns@google.com> [x86-64] Fix cross-compilation. setcontext.S can only be built natively.
rc/Makefile.am
7c289a617b76fa76c7246d986aa047eeacdcd4ae 07-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Delete explanation of how to build libunwind on ia64 with v7 of the
Intel compiler. I don't think anybody is still likely to need
building with such an old compiler.
EADME
297315675e0e7c112b93d733879e514e141df859 07-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Recreate autoconf files.
akefile.in
onfigure
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
955d1272a76637e15aaef462f12bfde44521b483 07-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Update NEWS and README files a bit.
EWS
EADME
a1e7ee48365a76804361e891c4b4d1f13c78c20a 07-Aug-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> Just a small patch to build system, it helps if you build in a power
without altivec.
onfigure.in
ests/Makefile.am
5c95d139dfa3de77e38877965192430600602f3d 07-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Cleanup some files from previous patch and rerurn autoconf tools.
rc/Makefile.am
rc/Makefile.in
rc/x86_64/gen-offsets.c
rc/x86_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.
rc/x86_64/offsets.h
fad8b04c9f874c996da59c319b931270e2b8bec9 07-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Rebuilt configure and Makefile.in files.
akefile.in
onfigure
oc/Makefile.in
nclude/config.h.in
rc/Makefile.in
ests/Makefile.in
b33021e4b2f3a92141c01eb24b98bc51a97c498d 02-Aug-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> Add PPC64 support.
akefile.am
onfigure.in
nclude/libunwind-ppc64.h
nclude/tdep-ppc64/dwarf-config.h
nclude/tdep-ppc64/jmpbuf.h
nclude/tdep-ppc64/libunwind_i.h
rc/Makefile.am
rc/ppc64/Gcreate_addr_space.c
rc/ppc64/Gget_proc_info.c
rc/ppc64/Gget_save_loc.c
rc/ppc64/Gglobal.c
rc/ppc64/Ginit.c
rc/ppc64/Ginit_local.c
rc/ppc64/Ginit_remote.c
rc/ppc64/Gis_signal_frame.c
rc/ppc64/Gregs.c
rc/ppc64/Gresume.c
rc/ppc64/Gstep.c
rc/ppc64/Lcreate_addr_space.c
rc/ppc64/Lget_proc_info.c
rc/ppc64/Lget_save_loc.c
rc/ppc64/Lglobal.c
rc/ppc64/Linit.c
rc/ppc64/Linit_local.c
rc/ppc64/Linit_remote.c
rc/ppc64/Lis_signal_frame.c
rc/ppc64/Lregs.c
rc/ppc64/Lresume.c
rc/ppc64/Lstep.c
rc/ppc64/Make-arch.in
rc/ppc64/init.h
rc/ppc64/is_fpreg.c
rc/ppc64/longjmp.S
rc/ppc64/regname.c
rc/ppc64/setcontext.S
rc/ppc64/siglongjmp.S
rc/ppc64/ucontext_i.h
rc/ppc64/unwind_i.h
rc/ptrace/_UPT_reg_offset.c
ests/Makefile.am
ests/ppc64-test-altivec-utils.c
ests/ppc64-test-altivec.c
ests/ppc64-test-wchar.c
a6393c0be170fc341ef92623b469211493c69efd 07-Jun-2007 David Mosberger-Tang <davidm@koala.mostang.com> Merge ../libunwind-v0.98
899ffbaa394138741d92c3aa0f1c4bf954ac9409 07-Jun-2007 David Mosberger-Tang <davidm@koala.mostang.com> Update NEWS file.
EWS
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>
rc/ia64/Gcreate_addr_space.c
0fa6b58f5dfdf5dc92707d7029b9d3b190c53fae 16-May-2007 Nurdin Premji <npremji@redhat.com> 2007-03-20 Nurdin Premji <npremji@redhat.com>

* tests/mapper.c: Change alarm timeout to 80, as per discussion
at:
http://lists.gnu.org/archive/html/libunwind-devel/2007-03/msg00005.html
ests/mapper.c
565ffdb75c36b7ba190610b5033f4986fd87e3b9 16-May-2007 Jan Kratochvil <jan.kratochvil@redhat.com> 2007-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>

* tests/ia64-test-setjmp.c (doit): New forward declaration.
(doit_pointer): New function pointer variable initialized to DOIT.
(doit): Self-call made by an unoptimizable volatile indirect call.
ests/ia64-test-setjmp.c
5f3d29562d53b5e144787fbf1abe598c6822b20d 16-May-2007 David Mosberger-Tang <davidm@koala.mostang.com> * tests/test-async-sig.c: Move "const" definition to separate area to keep
things a bit neater looking.
* tests/test-ptrace.c: Likewise.

Signed-off-by: David Mosberger-Tang <dmosberger@gmail.com>
ests/test-async-sig.c
ests/test-ptrace.c
a72abd4e46eb6e92747412fb036d0fb8279350ac 16-May-2007 Jan Kratochvil <jan.kratochvil@redhat.com> 2007-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>

* tests/test-ptrace.c (target_pid_kill): New function.
(target_pid, main): TARGET_PID made static, for target_pid_kill ().
(main): Register target_pid_kill () for atexit(3).

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

* tests/Gtest-dyn1.c, tests/test-async-sig.c, tests/test-ptrace.c:
Fixed lockups on broken libunwind (as ppc64 is).

2007-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>

* tests/test-async-sig.c (do_backtrace): Limit maximum backtrace depth
to 100 iterations; it workarounds FC6 DWARF-broken glibc.

2006-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>

* tests/test-ptrace.c (main): Check for too many unexpected child
signals, such as the common `SIGSEGV'.
ests/Gtest-dyn1.c
ests/test-async-sig.c
ests/test-ptrace.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
clocal.m4
oc/Makefile.in
rc/Makefile.in
ests/Makefile.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>
rc/Makefile.am
rc/x86_64/gen-offsets.c
rc/x86_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>
rc/x86_64/Gresume.c
rc/x86_64/gen-offsets.c
rc/x86_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>
rc/dwarf/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>
rc/dwarf/Gparser.c
be02d9ac0d97879fc9b75a9067fa6480bfb588ac 16-Aug-2006 Arun Sharma <arun.sharma@google.com> dwarf.h needs atomic_ops.h. So include it.
nclude/dwarf.h
b3f25f65af04014385ebc4aee8d7d993cb3c0ca8 11-Aug-2006 David Mosberger-Tang <davidm@koala.localdomain> [dwarf] Include <config.h> in dwarf.h since it's testing HAVE_ATOMIC_OPS_H.

Reported by Arun Sharma.
nclude/dwarf.h
62bacfcf1f889725c73fb0b8937365961a81801d 11-Aug-2006 David Mosberger-Tang <davidm@koala.localdomain> [x86-64] Minor reformatting for GNU-style and use memset() in lieu of bzero().
rc/x86_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>
nclude/tdep-x86_64/libunwind_i.h
rc/x86_64/Ginit.c
rc/x86_64/Gis_signal_frame.c
96969f8494d61e4352d43ddf619bdc014f95d981 28-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Merge ../libunwind-v0.98
bde67706ed88b7e48495539a402e8b1709ad30d6 28-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Delete some backup files that accidentally made it into git.
rc/ia64/Lregs.c~
rc/ia64/Lscript.c~
rc/ia64/Lunw_get_reg.c~
df88260f5ff73b84b3bfb9c3799f9c4f140e8df1 28-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Merge ../libunwind-v0.98
bd17671300ac9b46fcacc5175b97635f7f2680ea 28-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Delete obsolete BitKeeper files.
itKeeper/etc/config
itKeeper/etc/gone
itKeeper/etc/ignore
itKeeper/etc/logging_ok
63a6a95489e436ad14bb5ae062554347c58cdba7 28-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Delete obsolete BitKeeper files, add LICENSE file.
itKeeper/etc/config
itKeeper/etc/gone
itKeeper/etc/ignore
itKeeper/etc/logging_ok
ICENSE
1fdb08e5fc427b54b54214e3b3fbdda73d369f4d 27-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Various fixes to get x86 to compile and work again.

include/dwarf.h: Declare dwarf_reg_state_pool and dwarf_cie_info_pool.
include/dwarf_i.h: Include libunwind_i.h instead of tdep.h.
Make dwarf_to_unw_regnum() a macro so it doesn't get compiled
into an object file merely because it include dwarf_i.h (important
when optimization is turned off).
(dwarf_read_encoded_pointer_inlined): New function.
include/tdep-x86/libunwind_i.h: Add include of "mempool.h".
include/tdep-x86_64/libunwind_i.h: Add include of "mempool.h".
nclude/dwarf.h
nclude/dwarf_i.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/libunwind_i.h
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>
nclude/libunwind-hppa.h
nclude/libunwind-ia64.h
nclude/libunwind-x86.h
nclude/libunwind-x86_64.h
rc/dwarf/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>
rc/x86/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>
rc/x86_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.
rc/x86_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.
rc/x86_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
rc/dwarf/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>
rc/x86_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>
rc/dwarf/Gparser.c
8cdd8bfed8f21bb632faf69cca023c9762d78ab1 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> [x86-64] Make even UNW_LOCAL_ONLY accessors go through validation.

Signed-off-by: Arun Sharma <arun.sharma@google.com>
nclude/tdep-x86_64/libunwind_i.h
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>
nclude/dwarf.h
rc/dwarf/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).
rc/dwarf/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.
rc/dwarf/Gparser.c
036cbfa020895c63b17081b5ad3cccf1dd3601da 27-Jul-2006 Arun Sharma <aruns@sharma.corp.google.com> Fix x86 compilation.

x86 needs the global_cache just like the x86-64 version.

Signed-off-by: Andrey.Veskov@intel.com
Signed-off-by: Arun Sharma <arun.sharma@google.com>
nclude/tdep-x86/libunwind_i.h
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>
nclude/dwarf.h
nclude/tdep-x86_64/libunwind_i.h
rc/dwarf/Gparser.c
rc/dwarf/Gstep.c
rc/x86_64/init.h
1a0af36731309401f251123d398621ce363a6e98 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Fix forgotten copyright year update.
rc/mi/Gget_fpreg.c
rc/mi/Gset_fpreg.c
03395a1c4b120d6bdc1e0618d36b3d8fda1866f3 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Turn back on execute-permission on script files.
cripts/kernel-diff.sh
cripts/make-L-files
6a89d402366d5f40eecf482197ee5f45566eed3b 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Fix missed "tdep.h" -> "libunwind_i.h" conversions.
rc/mi/Gget_fpreg.c
rc/mi/Gset_fpreg.c
rc/mi/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..
rc/ptrace/_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.
rc/setjmp/setjmp_i.h
rc/setjmp/siglongjmp.c
3c109eef98eb828881858f7b2942e42759c002d0 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Update ChangeLog to point to GIT log instead of Bitkeeper log.
hangeLog
69d85f7c14ce01489ec4281ebba543dd04e696de 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Restore mi/Ldyn-remote.c.
rc/mi/Ldyn-remote.c
37be21c01ebe23402d4b5f1391e7a83da34e8c32 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Restore more files wiped out by Bitkeeper->CVS->GIT transition.
hangeSet
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/rse.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/dwarf-config.h
nclude/tdep-x86_64/libunwind_i.h
cripts/kernel-diff.sh
9e927e70871ecebee06b6d208bcbc1bb2ec9a655 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Restore tests/perf-startup.

Another file that got wiped out during the Bitkeeper->CVS->GIT translation.
ests/perf-startup
236e370dc5c8738c24e696cd4329167def8d8077 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Remove three Emacs backup-files which accidentially got checked into git.
rc/ia64/Lregs.c~
rc/ia64/Lscript.c~
rc/ia64/Lunw_get_reg.c~
6daeeac60ac046af9487dadd5a6b38fce0ea8219 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Revert "Initial revision"

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

This reverts 06d223e924c0c16f2df3e1eeb92e4c44224969fd commit.
rc/hppa/Gcreate_addr_space.c
rc/hppa/Gget_save_loc.c
rc/hppa/Gglobal.c
rc/hppa/Ginit_remote.c
rc/hppa/Lcreate_addr_space.c
rc/hppa/Lget_save_loc.c
rc/hppa/Lglobal.c
rc/hppa/Linit_remote.c
rc/hppa/Lis_signal_frame.c
rc/hppa/Lresume.c
rc/setjmp/longjmp.c
rc/setjmp/setjmp_i.h
rc/setjmp/siglongjmp.c
rc/x86/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.
rc/os-linux.h
cbd8648b3326f88e189a6479af9fff526f709334 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Make libunwind compile with recent versions of GAS.

Don't test read-only access to F0 and F1 registers --- according to
the SCRA manual, those locations cannot even be expressed in SPILL
descriptors and newer versions of GAS (as well as IAS) won't accept
.spillreg directives targeting those registers.
ests/Gia64-test-readonly.c
ests/ia64-test-readonly-asm.S
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.
UTHORS
NSTALL
onfigure
oc/unw_strerror.man
oc/unw_strerror.tex
nclude/dwarf_i.h
nclude/ia64/jmpbuf.h
nclude/libunwind-ptrace.h
nclude/remote.h
nclude/x86/jmpbuf.h
nclude/x86_64/jmpbuf.h
rc/hppa/init.h
rc/ia64/longjmp.S
rc/mi/Gget_fpreg.c
rc/mi/Gset_fpreg.c
rc/mi/Ldestroy_addr_space.c
rc/mi/Lget_accessors.c
rc/mi/Lget_fpreg.c
rc/mi/Lget_reg.c
rc/mi/Lset_caching_policy.c
rc/mi/Lset_fpreg.c
rc/mi/Lset_reg.c
rc/mi/strerror.c
ests/forker.c
ests/ia64-test-stack.h
ests/run-check-namespace
ests/run-ia64-test-dyn1
ests/run-ptrace-mapper
ests/run-ptrace-misc
ests/test-strerror.c
bc09a82735e022717377b9867939ed727e44eb18 20-May-2005 hp.com!davidm <hp.com!davidm> ia64: Allow write-access to UNW_IA64_BSP and UNW_IA64_SP.

Writing UNW_IA64_BSP and UNW_IA64_SP can wreak havoc if not done
properly but can also be extremely useful when done correctly. For
example, the Linux kernel can use this to update a cursor with the
MIN_STATE info which is saved by firmware due to an MCA or INIT event.

BKrev: 428e03020AqYSMZEt1Q3cCPH0Bj2eA
2211958a9ce525a4230863d39a2c43a4fc5bc9e4 20-May-2005 hp.com!davidm <hp.com!davidm> UNW_IA64_SP and UNW_IA64_BSP are no longer read-only.

(Logical change 1.303)
oc/libunwind-ia64.tex
b47b9aa232a2b127a4fa8abe68c5272adf3e4cf5 20-May-2005 hp.com!davidm <hp.com!davidm> UNW_IA64_BSP and UNW_IA64_SP are no longer read-only.

(Logical change 1.303)
nclude/libunwind-ia64.h
11f48715703296a917d2cdc662adf7f586a3d608 20-May-2005 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.303)
oc/libunwind-ia64.man
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)
rc/ia64/Gregs.c
7c986f6190b1e48b203627ae714fd746d0954b1a 20-May-2005 hp.com!davidm <hp.com!davidm> ia64: Fix typo in kernel-files.txt.

BKrev: 428e01ddAjr7CJzIA23i8dwJQ5ueug
41db9a8a35fc2645087cc2fac1503144439a5361 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust for renaming of ia64 -> tdep-ia64.

(Logical change 1.302)
cripts/kernel-files.txt
4591d090c58b4da4e01174fcea1c0f652cc3e96f 20-May-2005 hp.com!davidm <hp.com!davidm> ia64: Use update_nat() instead of equivalent open code in tdep_access_reg().

BKrev: 428dfb26foOQZSriLQ73ORqI0P8TQQ
cf2a44ca4934c5c5a91959240d48b37937730c4b 20-May-2005 hp.com!davidm <hp.com!davidm> Use update_nat() instead of equivalent open code.

(Logical change 1.301)
rc/ia64/Gregs.c
2bc0aee8432818758c95a6f7c4666fb34e272cb2 20-May-2005 hp.com!davidm <hp.com!davidm> ia64: Allow r1 to be saved in an ABI-specific frame.

This makes core-dumps contain the proper (user-level) value for r1
when using libunwind in the kernel.

BKrev: 428df94ebHSJQTkoDgFiQ_XgzkMxhg
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)
rc/ia64/Gregs.c
5b1dfeca70bc1131e3b1cf808b9551efdb680701 20-May-2005 hp.com!davidm <hp.com!davidm> ia64: Remove some dead code.

BKrev: 428df06dTtluXFSTIb7fU0BDyt7ZMw
399f120c96dca0ec383e265888d826d8b75d5d0f 20-May-2005 hp.com!davidm <hp.com!davidm> Drop unused readonly variable.

(Logical change 1.299)
rc/ia64/Gregs.c
2c08119b533243bffb9e06248470e356fcdeb47c 20-May-2005 hp.com!davidm <hp.com!davidm> ia64: Drop early-out-on-zero-IP from unw_step()

The early-out causes problems in the kernel, which wants to unwind to the
end of the kernel-stack (i.e., until IP==0) and then access the user-level
state.

BKrev: 428de7a4kGcNmG2Tv5tDJMbQmqXO4w
3fa950e81889d7bd2ee434b13b35f3274e0163f1 20-May-2005 hp.com!davidm <hp.com!davidm> Remove early-out test when IP is zero.

(Logical change 1.298)
rc/ia64/Gstep.c
3b7eb494693676a5b9f4889fecdfcfbf792311a7 20-May-2005 hp.com!davidm <hp.com!davidm> ia64: Introduce rbs_get_base() to simplify Linux kernel integration.

In the Linux kernel, we want to track the size of all register-backing stores
so we can protect against illegal memory accesses. Enable this by introducing
an rbs_get_base() macro.

BKrev: 428de263-syBtG-G9-mlstg074gvtA
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)
rc/ia64/Grbs.c
7a8b0ba6176eb3f6636c30cc238e5204b268840c 20-May-2005 hp.com!davidm <hp.com!davidm> (rbs_get_base): New macro.

(Logical change 1.297)
nclude/tdep-ia64/libunwind_i.h
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)
rc/ia64/init.h
8236491807b1fb25477c30dba1b417ac92ea1163 20-May-2005 hp.com!davidm <hp.com!davidm> ia64: Add Linux kernel support to unw_init_local().

As a side-effect, this gets rid of an ugly hack where unw_init_local() used
to overwrite sc_rbs_base in the ucontext_t.

BKrev: 428ddc7flum3n06RgXZ5vnW9H6qEjA
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/init.h
6ad2531a1148a8c1baa38d125831a8066d059362 20-May-2005 hp.com!davidm <hp.com!davidm> Remove Ginit.c. Kernel doesn't use it anymore.

(Logical change 1.295)
cripts/kernel-files.txt
96c8c511fe2ec400fc454c2c9dd189c541afe337 20-May-2005 hp.com!davidm <hp.com!davidm> Move around a few more things to ease kernel-integration. No functional changes.

BKrev: 428dc9d01iJMLbH7c82d_DctwhahoQ
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)
rc/mi/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)
rc/ia64/Gparser.c
7894f0edc0db884f23afe515e37baa92c8fb8e9a 20-May-2005 hp.com!davidm <hp.com!davidm> (ia64_strloc): Move to Grbs.c.

(Logical change 1.295)
rc/ia64/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)
rc/ia64/Grbs.c
d5ab898cdf886486fa78171b247538ccde5e073e 20-May-2005 hp.com!davidm <hp.com!davidm> (SOS_MEMORY_SIZE): Move to here from src/mi/mempool.c.

(Logical change 1.295)
nclude/libunwind_i.h
c762d7645f6724f334bb1a33c0fef54f26099a36 20-May-2005 hp.com!davidm <hp.com!davidm> Shuffle around include files to make it easier to use libunwind in the Linux
kernel.
Fix x86 and x86-64 to build again.

BKrev: 428db2583bUUTrmj2-oB8ugdGh4INQ
c4a2f46b6a8fca6269ba46148c67f2aa18cbeebb 20-May-2005 hp.com!davidm <hp.com!davidm> Replace tdep.h symlink with tdep symlink.

(Logical change 1.294)
onfigure.in
9d94c8f62b05b598b496fd7da29e9e8896d2ab92 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/x86_64/jmpbuf.h -> include/tdep-x86_64/jmpbuf.h

}(Logical change 1.294)
nclude/x86_64/jmpbuf.h
e3ac62c5f1c547171696f1a311b7d6508ac304be 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/x86_64/jmpbuf.h -> include/tdep-x86_64/jmpbuf.h

(Logical change 1.294)
nclude/tdep-x86_64/jmpbuf.h
3a2c94524470e37df880437e2e3256e7c5a40a75 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/x86/jmpbuf.h -> include/tdep-x86/jmpbuf.h

}(Logical change 1.294)
nclude/x86/jmpbuf.h
f6d4c74bebc7af946e96cb192969a44b9276b0a5 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/x86/jmpbuf.h -> include/tdep-x86/jmpbuf.h

(Logical change 1.294)
nclude/tdep-x86/jmpbuf.h
e6cf7e84eb12f36431165874225584b4b51293ec 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/x86/dwarf-config.h -> include/tdep-x86/dwarf-config.h

}(Logical change 1.294)
nclude/x86/dwarf-config.h
d90772c868fbff33c0eeccecde36bb3aea9f29ae 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/x86/dwarf-config.h -> include/tdep-x86/dwarf-config.h

(Logical change 1.294)
nclude/tdep-x86/dwarf-config.h
56cea5b4a9e67accd352718ceed55862c5d685ff 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/ia64/script.h -> include/tdep-ia64/script.h

}(Logical change 1.294)
nclude/ia64/script.h
12f0ce1a3988bc81166ec05b473b8f245dff2daa 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/ia64/script.h -> include/tdep-ia64/script.h

(Logical change 1.294)
nclude/tdep-ia64/script.h
910087d5b56ebfba539e010ee8e906982db25ce4 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/ia64/jmpbuf.h -> include/tdep-ia64/jmpbuf.h

}(Logical change 1.294)
nclude/ia64/jmpbuf.h
e86e18224daa179374530fe64af7e5ad7dadefe8 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/ia64/jmpbuf.h -> include/tdep-ia64/jmpbuf.h

(Logical change 1.294)
nclude/tdep-ia64/jmpbuf.h
983d841e64a5b39c2fc532661898749273f3d6cc 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/hppa/jmpbuf.h -> include/tdep-hppa/jmpbuf.h

}(Logical change 1.294)
nclude/hppa/jmpbuf.h
f8a07dfb221824ce5d400d20d9c0e29f0997fce6 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/hppa/jmpbuf.h -> include/tdep-hppa/jmpbuf.h

(Logical change 1.294)
nclude/tdep-hppa/jmpbuf.h
400a917a7a550c83e9c3af1324f55d9efab2a845 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/hppa/dwarf-config.h -> include/tdep-hppa/dwarf-config.h

}(Logical change 1.294)
nclude/hppa/dwarf-config.h
c56b45e82e2cccbde443ba67717af5253ece1eb8 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/hppa/dwarf-config.h -> include/tdep-hppa/dwarf-config.h

(Logical change 1.294)
nclude/tdep-hppa/dwarf-config.h
2e35dd035cb30b65984beb7511277d9dd5260046 20-May-2005 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.294)
akefile.in
onfigure
rc/Makefile.in
d0cf8551fef5b6765152686d8be7e53fc86c095f 20-May-2005 hp.com!davidm <hp.com!davidm> Move target-specific headers into tdep-$(arch).

(Logical change 1.294)
akefile.am
180a1ececa292bf92cf665ab6253fb68727d576a 20-May-2005 hp.com!davidm <hp.com!davidm> Initial revision
nclude/libunwind_i.h
nclude/tdep-hppa/dwarf-config.h
nclude/tdep-hppa/jmpbuf.h
nclude/tdep-hppa/libunwind_i.h
nclude/tdep-ia64/jmpbuf.h
nclude/tdep-ia64/libunwind_i.h
nclude/tdep-ia64/rse.h
nclude/tdep-ia64/script.h
nclude/tdep-x86/dwarf-config.h
nclude/tdep-x86/jmpbuf.h
nclude/tdep-x86/libunwind_i.h
nclude/tdep-x86_64/dwarf-config.h
nclude/tdep-x86_64/jmpbuf.h
nclude/tdep-x86_64/libunwind_i.h
cripts/kernel-diff.sh
cripts/kernel-files.txt
3e8a50255cee6cceaa0019fa795e244783be1d89 20-May-2005 hp.com!davidm <hp.com!davidm> Include from tdep-$(arch) directory after the normal incliude directory.

(Logical change 1.294)
rc/Makefile.am
f9b7af51ed3e2facd519a9bfd243ea367a242d35 20-May-2005 hp.com!davidm <hp.com!davidm> Include <libunwind.h> instead of "internal.h" and "mempool.h".
(dwarf_reg_state_pool): Move to dwarf_i.h.
(dwarf_cie_info_pool): Likewise.

(Logical change 1.294)
nclude/dwarf.h
d3d722fb0a1435b2335ab30b26b1fedef5a265c5 20-May-2005 hp.com!davidm <hp.com!davidm> Include "tdep-ia64/rse.h" instead of "ia64/rse.h".
(ARRAY_SIZE): New macro.

(Logical change 1.294)
ests/Gia64-test-nat.c
32385d36fdb2b388363730b48c17dda0cab704bd 20-May-2005 hp.com!davidm <hp.com!davidm> Include "tdep-ia64/rse.h" instead of "ia64/rse.h".

(Logical change 1.294)
rc/ptrace/_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)
rc/ia64/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)
rc/ia64/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)
rc/setjmp/setjmp_i.h
3ad49031540831eaed9e6e637a74ceedf1fa5c30 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "tdep.h".
Include "mempool.h".
(dwarf_reg_state_pool): Move here from dwarf.h.
(dwarf_cie_info_pool): Likewise.
Include "libunwind_i.h" instead of "tdep.h".

(Logical change 1.294)
nclude/dwarf_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)
rc/ptrace/_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)
rc/dwarf/Gexpr.c
rc/dwarf/Gpe.c
rc/dwarf/Gstep.c
rc/mi/Gget_accessors.c
rc/mi/Gget_fpreg.c
rc/mi/Gget_proc_name.c
rc/mi/Gget_reg.c
rc/mi/Gset_caching_policy.c
rc/mi/Gset_fpreg.c
rc/mi/Gset_reg.c
rc/setjmp/siglongjmp.c
rc/x86/is_fpreg.c
rc/x86_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)
rc/mi/Gdyn-extract.c
rc/mi/Gdyn-remote.c
rc/mi/Gfind_dynamic_proc_info.c
rc/mi/Gget_proc_info_by_ip.c
rc/mi/init.c
rc/os-hpux.c
rc/os-linux.c
rc/ptrace/_UPT_internal.h
rc/unwind/unwind-internal.h
rc/x86/unwind_i.h
rc/x86_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)
rc/mi/mempool.c
ead43e854557b4bf1943ec14ec8d9721a9063658 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "internal.h".

}(Logical change 1.294)
nclude/ia64/rse.h
59f9f6a1aca88f97732e7428f7578a7e24955214 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "internal.h".

2005/05/19 08:11:38-07:00 hp.com!davidm
Rename: include/ia64/rse.h -> include/tdep-ia64/rse.h

(Logical change 1.294)
nclude/tdep-ia64/rse.h
5724bee8c27219ac277ea76d75dc70fa830eaac0 20-May-2005 hp.com!davidm <hp.com!davidm> Include "libunwind_i.h" instead of "internal.h".

(Logical change 1.294)
nclude/mempool.h
rc/elfxx.h
rc/ia64/regname.c
rc/mi/Gput_dynamic_unwind_info.c
rc/mi/dyn-cancel.c
rc/mi/dyn-info-list.c
rc/mi/dyn-register.c
rc/mi/flush_cache.c
rc/mi/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)
rc/hppa/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)
rc/dwarf/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)
rc/ia64/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)
rc/dwarf/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)
rc/ia64/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)
rc/elfxx.c
9e8ba174e620122448725ed166763d9da3ad8645 20-May-2005 hp.com!davidm <hp.com!davidm> Don't include <string.h> and <stdlib.h>.

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

(Logical change 1.294)
rc/ia64/Ginit.c
5e5db2dadafb5acaa7cd67f3d17209e85eb7923e 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust for renaming of file.
Drop include of <libunwind.h>.
Include "script.h" instead of "ia64/script.h".

}(Logical change 1.294)
nclude/tdep-ia64.h
0870c54c2a23b24d174647b7ae1c35ce876147d8 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust for renaming of file.
Drop include of <libunwind.h>.
Include "script.h" instead of "ia64/script.h".

2005/05/19 07:42:45-07:00 hp.com!davidm
Rename: include/tdep-ia64.h -> include/tdep-ia64/libunwind_i.h

(Logical change 1.294)
nclude/tdep-ia64/libunwind_i.h
ce46ac7167d71b9bf3e835a412b65a87ff492e5a 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust for renaming of file.
(tdep_put_unwind_info): Adjust for change of arguments.

}(Logical change 1.294)
nclude/tdep-x86.h
nclude/tdep-x86_64.h
bea50a5d413b31418dba16c9a2a28e31e0459468 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust for renaming of file.
(tdep_put_unwind_info): Adjust for change of arguments.

2005/05/19 07:42:45-07:00 hp.com!davidm
Rename: include/tdep-x86_64.h -> include/tdep-x86_64/libunwind_i.h

(Logical change 1.294)
nclude/tdep-x86_64/libunwind_i.h
47eca0fadfeee1d9110ff6d9790f189cc377c079 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust for renaming of file.
(tdep_put_unwind_info): Adjust for change of arguments.

2005/05/19 07:42:45-07:00 hp.com!davidm
Rename: include/tdep-x86.h -> include/tdep-x86/libunwind_i.h

(Logical change 1.294)
nclude/tdep-x86/libunwind_i.h
34e70b593713db1944ea9967b6905b7a16019fc2 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust for renaming of file.

}(Logical change 1.294)
nclude/tdep-hppa.h
dce55286abb63f565660f528d2a0032dae199e68 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust for renaming of file.

2005/05/19 07:42:45-07:00 hp.com!davidm
Rename: include/tdep-hppa.h -> include/tdep-hppa/libunwind_i.h

(Logical change 1.294)
nclude/tdep-hppa/libunwind_i.h
6980fa4f25c9a97335169410679b8e806fdb4f18 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust comment.

}(Logical change 1.294)
nclude/x86_64/dwarf-config.h
e5944788addf4bad3d3b83623a177f09a3ac1990 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust comment.

2005/05/19 08:13:00-07:00 hp.com!davidm
Rename: include/x86_64/dwarf-config.h -> include/tdep-x86_64/dwarf-config.h

(Logical change 1.294)
nclude/tdep-x86_64/dwarf-config.h
c4461866707afd551621ef465490874610ba3a8c 20-May-2005 hp.com!davidm <hp.com!davidm> Add include of <stdlib.h>.

}(Logical change 1.294)
nclude/internal.h
5135d044edb34f2d0caf1809845f7ad0f120f18d 20-May-2005 hp.com!davidm <hp.com!davidm> Add include of <stdlib.h>.

2005/05/19 07:42:56-07:00 hp.com!davidm
Rename: include/internal.h -> include/libunwind_i.h

(Logical change 1.294)
nclude/libunwind_i.h
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)
rc/ia64/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)
rc/ia64/Gscript.c
dca0c5af1a246e08ce79ca63090642732044393c 20-May-2005 hp.com!davidm <hp.com!davidm> (Logical change 1.294)
cripts/kernel-diff.sh
cripts/kernel-files.txt
da5e9ba2978cf0a9be75818789ee679748acfc86 20-May-2005 hp.com!davidm <hp.com!davidm> (ARRAY_SIZE): Rename from NELEMS.

(Logical change 1.294)
ests/Gia64-test-rbs.c
94daa871ecafd0dd2fe91e721465299f69024852 17-May-2005 hp.com!davidm <hp.com!davidm> Fix merge-conflict.

2005/05/17 14:14:24-07:00 hp.com!davidm
ia64: Fix AR.EC-handling for interrupt/signal-frames.

Call-frames created in response to an interruption are special because
CR.IFS contains only the current frame-marker, not the full function-state
(as normally saved in AR.PFS). Thus, in those frames we cannot use CR.IFS
(as pointed to by c->cfm_loc) to access AR.EC. Instead, we need to track
where AR.PFS was previously saved and use that location instead. We do
this now via the c->ec_loc member: by default, it is set to c->cfm_loc, but
the ABI-specific handlers can override this default-value with something
else (such as the previous c->cfm_loc).

BKrev: 428a61f3a7DlCyx8iAN6oWxAsLuqVw
4f8a2291b42a4a8c34b75bc97313f912b6dc6590 17-May-2005 hp.com!davidm <hp.com!davidm> Fix merge-conflict.

2005/05/17 14:14:23-07:00 hp.com!davidm
(check_static_to_scratch): Check contents of AR.EC.

(Logical change 1.293)
ests/Gia64-test-nat.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)
rc/ia64/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)
rc/ia64/Gstep.c
c3e9383d301b609d60f4df8d91446c12a2beebea 17-May-2005 hp.com!davidm <hp.com!davidm> (struct cursor): Add "ec_loc" member.

(Logical change 1.293)
nclude/tdep-ia64.h
3d881cd0cb0a1c4e9c223a978098f033b42f326f 17-May-2005 hp.com!davidm <hp.com!davidm> (save_static_to_scratch): Initialize ar.ec.

(Logical change 1.293)
ests/ia64-test-nat-asm.S
6a34a0f79c53c97ffa5dfd9657ea266a4fcde1c3 17-May-2005 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.292)
oc/libunwind-ia64.man
344132b06595b432a54fdf9f5758bd530c3a814d 17-May-2005 hp.com!davidm <hp.com!davidm> Merge wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind-v0.98
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2005/05/17 06:10:15-07:00 hp.com!davidm
ia64: Fix and clarify access to UNW_IA64_PR.

Access to the rotating portion of UNW_IA64_PR was busted. Also, libunwind
incorrectly attempted to rotate this portion when it should work like the
"move predicates" instructions and access them in unrotated form.

BKrev: 4289f0a1ct0tnWPxRhGJtsqeWkLfyA
0cae8247a870cfb8c370046640923423f4a62ea1 17-May-2005 hp.com!davidm <hp.com!davidm> Clarify that UNW_IA64_PR works like the "move predicates" instruction, i.e.,
it acesses the physical (unrotated) contents of p16-p63.

(Logical change 1.292)
oc/libunwind-ia64.tex
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)
rc/ia64/Gregs.c
e5426f4221b0eb98767d872fcd6ebb3ea9e06066 17-May-2005 hp.com!davidm <hp.com!davidm> Auto merged

2005/05/17 06:10:13-07:00 hp.com!davidm
(save_pr): Declare
(check_pr): New function.
(all_funcs): Mention save_pr/check_pr.
(random_word): New function.
(check_pr): Likewise.
(check_rotate_regs): Call check_pr().
(run_check): Use random_word() instead of random() to get a word full of
pseudo-random bits.

(Logical change 1.292)
ests/Gia64-test-nat.c
05feedabeaa8eb45bc75b40309f7d2c365ebf581 17-May-2005 hp.com!davidm <hp.com!davidm> (rotate_regs): Load up "pr" with first value. Preserve p63 across rotation.
(save_pr): New function.

(Logical change 1.292)
ests/ia64-test-nat-asm.S
8462f1f87def454ac16e97519d7672fd338d65e7 17-May-2005 hp.com!davidm <hp.com!davidm> (pr_ltop): Remove.
(pr_ptol): Remove.

(Logical change 1.292)
rc/ia64/regs.h
aac9a2c1b6e3b4345f122fb88aab16d7b35358a3 05-May-2005 hp.com!davidm <hp.com!davidm> (tests/Gtest-concurrent): Use a smallish stack to make it more likely that
all threads can be created.

BKrev: 4279e622XkyQMUhPQmclWMQOQfJEug
b0406d0a2a97b290a835ab94c13036119a0db23b 05-May-2005 hp.com!davidm <hp.com!davidm> (doit): Set stack-size attribute to increase likelihood that we're able
to create NTHREADS threads. With NTHREADS==128 and the stack-size
rlimit set to "unlimited", the test is otherwise likely to fail because
on ia64 it will default to using 32MB of stack per thread.

(Logical change 1.291)
ests/Gtest-concurrent.c
23884c98cbaf154fd1847936e586157ef119a7fe 03-May-2005 mostang.com!davidm <mostang.com!davidm> Rename: src/sigsetjmp.c -> src/setjmp/sigsetjmp.c

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

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

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

(Logical change 1.290)
rc/setjmp/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)
rc/dwarf/dwarf-eh.h
836ee627e02f0101ed2e359a759f854839f9936c 03-May-2005 mostang.com!davidm <mostang.com!davidm> Rename: src/dwarf/dwarf-eh.h -> include/dwarf-eh.h

(Logical change 1.290)
nclude/dwarf-eh.h
06d223e924c0c16f2df3e1eeb92e4c44224969fd 03-May-2005 mostang.com!davidm <mostang.com!davidm> Initial revision
nclude/dwarf-eh.h
nclude/hppa/dwarf-config.h
nclude/hppa/jmpbuf.h
rc/hppa/Gcreate_addr_space.c
rc/hppa/Gget_save_loc.c
rc/hppa/Gglobal.c
rc/hppa/Ginit_remote.c
rc/hppa/Lcreate_addr_space.c
rc/hppa/Lget_save_loc.c
rc/hppa/Lglobal.c
rc/hppa/Linit_remote.c
rc/hppa/Lis_signal_frame.c
rc/hppa/Lresume.c
rc/setjmp/longjmp.c
rc/setjmp/setjmp.c
rc/setjmp/setjmp_i.h
rc/setjmp/siglongjmp.c
rc/setjmp/sigsetjmp.c
rc/x86/longjmp.S
a5e8408d4774885c768caf030cfc1ec3314e8115 03-May-2005 mostang.com!davidm <mostang.com!davidm> Include <string.h> to get memset() declared.
(consume_some_stack_space): New function.
(main): Call consume_some_stack_space() before establishing the
rlimit. Otherwise, stack-expansion may bump into
the address-space rlimit.

(Logical change 1.290)
ests/test-mem.c
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)
rc/longjmp.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)
rc/setjmp/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)
rc/siglongjmp.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)
rc/setjmp/siglongjmp.c
fbab73e7e64f23fb231bdeb4315bacb0f9dfdd25 03-May-2005 mostang.com!davidm <mostang.com!davidm> Improve comment.

(Logical change 1.290)
nclude/x86/dwarf-config.h
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)
rc/x86/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)
rc/unwind/unwind-internal.h
411331eecbf864946857826c800d8cb340b7a70b 03-May-2005 mostang.com!davidm <mostang.com!davidm> Delete: src/hppa/Lget_reg.c

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

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

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

}(Logical change 1.290)
rc/hppa/Gget_proc_name.c
fdb6bee0688c782444963750fb4b577de9f13f0a 03-May-2005 mostang.com!davidm <mostang.com!davidm> Change "ia64_rse" prefix to "rse".

(Logical change 1.290)
nclude/ia64/rse.h
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)
rc/ptrace/_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)
rc/hppa/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)
rc/hppa/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)
rc/dwarf/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)
rc/ia64/Gglobal.c
rc/mi/init.c
rc/x86/Gglobal.c
rc/x86_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)
rc/ia64/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)
rc/ia64/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)
rc/setjmp/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)
rc/ia64/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)
rc/ptrace/_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)
rc/ia64/Gstep.c
bf832fc29e9e9141c1886d8d0d2123766a9aeb4c 03-May-2005 mostang.com!davidm <mostang.com!davidm> Adjust for "ia64_rse" to "rse" prefix change.

(Logical change 1.290)
rc/ia64/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)
rc/x86/Gresume.c
27f7d7d720ba0fdea7135f825f991459dba684fc 03-May-2005 mostang.com!davidm <mostang.com!davidm> (unw_tdep_proc_info_t): Drop dwarf_info member.

(Logical change 1.290)
nclude/libunwind-x86_64.h
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)
rc/x86_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)
rc/x86/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)
rc/hppa/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)
rc/hppa/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)
rc/x86_64/Gget_proc_info.c
e7fba77e9ddb5f24bb360d79613198fc6f619378 03-May-2005 mostang.com!davidm <mostang.com!davidm> (unw_dyn_info_format_t): Remove UNW_INFO_FORMAT_DWARF_FDE.
(UNW_DYN_DFI_FLAG_FDE_PE_MASK): Remove.
(UNW_DYN_DFI_FLAG_AUGMENTATION_HAS_SIZE): Remove.
(unw_dyn_dwarf_fde_info_t): Remove.
(unw_dyn_info_t): Remove dfi member.

(Logical change 1.290)
nclude/libunwind-dynamic.h
66ecac1b5f0193ce25c891b0348f60aab2b2a60b 03-May-2005 mostang.com!davidm <mostang.com!davidm> (unw_addr_space): If we have atomic_ops.h, declare cache_generation
to be of type AO_t.

2004/10/25 17:43:57+02:00 homeip.net!davidm
(DWARF_IS_REG_LOC): Define as 0 for the local-only case.

(Logical change 1.290)
nclude/tdep-x86_64.h
b1b84400b939ed346bfed08e9649433d6c9c86a2 03-May-2005 mostang.com!davidm <mostang.com!davidm> (tdep_uc_addr): Define as HIDDEN.

(Logical change 1.290)
rc/x86_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)
rc/x86/Gregs.c
adeb9b598452963f25808f5c338ea0c5f2eaf2b7 03-May-2005 mostang.com!davidm <mostang.com!davidm> (struct dwarf_cursor): Add members eh_args and eh_valid_mask so
we can track writes to exception-handling argument regs.

2004/11/17 02:43:39-08:00 mostang.com!davidm
(dwarf_cie_info_pool): New declaration.
(dwarf_cie_info_t): New type.
(dwarf_state_record): Drop cfa_is_sp member.
(dwarf_extract_proc_info_from_fde): Rename from dwarf_parse_fde.

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

(Logical change 1.290)
nclude/dwarf.h
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)
rc/ia64/Gresume.c
6ef1640a5f43bc84e6f7953e522a9e5eb3db4e64 03-May-2005 mostang.com!davidm <mostang.com!davidm> (main): Fix a typo in the argument-checking code.

(Logical change 1.290)
ests/test-proc-info.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)
rc/dwarf/Gfde.c
d9445c1f46f7f29ec8bed1de2aab3af72f50dfac 03-May-2005 mostang.com!davidm <mostang.com!davidm> (handler): get_bsp() returns an integer, not a pointer.
(main): Do some silly FP computations. On x86-64, this ensures
that the signal handler invocations will always be called
with the FPU-state saved as well. Without this, the first
signal was invoked without FPU-state, the second with, causing
a spurious failure.

2004/11/17 02:06:25-08:00 mostang.com!davidm
(get_bsp): New function.
(handler): Clean up & check for error returns.
(main): Also fail if we didn't get SIGUSR2.

(Logical change 1.290)
ests/Gtest-resume-sig.c
3ff39e9fc9189155c2caffbb7d261d3f7b6f9ed8 03-May-2005 mostang.com!davidm <mostang.com!davidm> (flush_cache): Provide dummy implementation for HPPA.

(Logical change 1.290)
ests/flush-cache.S
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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/x86/init.h
7fcb8006a996db6dec9de9c3831c3f32c12223b8 03-May-2005 mostang.com!davidm <mostang.com!davidm> (common_init): Adjust for ALWAYS_INLINE change.

(Logical change 1.290)
rc/ia64/init.h
229d2c4a623d0d3c7f1d275942741dc768b33faa 03-May-2005 mostang.com!davidm <mostang.com!davidm> (atomic_read): New macro to read the value of a variable
that can be updated atomically (for Linux kernel compat.).
(unwi_full_mask): Rename from unwi_full_sigmask and change type to
intrmask_t.
(intrmask_t): New type.
(define_lock): New macro.
(lock_init): Likewise.
(lock_acquire): Likewise.
(lock_release): Likewise.
(GET_MEMORY): Likewise.

2005/02/20 21:42:54-08:00 mostang.com!davidm
(ALWAYS_INLINE): Include "inline" keyword for compatibility with
Linux kernel.
(ARRAY_SIZE): Rename from NELEMS for improved Linux-kernel
compatibility.

2004/10/25 05:21:51-07:00 hp.com!davidm
(Debug): Make a debug level of N imply that we're printing when
UNW_DEBUG_LEVEL=N since that's more intuitive.

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

(Logical change 1.290)
rc/x86/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)
rc/hppa/siglongjmp.S
6dcb17c553e77711e0730b52f4434d085a2f3645 03-May-2005 mostang.com!davidm <mostang.com!davidm> (UNW_X86_ECX): ecx apparently is a scratch-register (at least
under Linux).

2004/11/17 02:43:39-08:00 mostang.com!davidm
(unw_tdep_proc_info_t): Remove dwarf_info member.

(Logical change 1.290)
nclude/libunwind-x86.h
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)
rc/x86_64/ucontext_i.h
1ee6b0ac74da477a52ce589bed83db3908dcc4f7 03-May-2005 mostang.com!davidm <mostang.com!davidm> (STACK_SIZE): SIGSTKSZ is also ridiculously small on x86-64 (at least
for SuSE LES 9) so use 128KB instead.
(do_backtrace): Also print backtrace obtained via backtrace().
(foo): Remove backtrace() call---now done in do_backtrace().

(Logical change 1.290)
ests/Gtest-bt.c
04fde4a63bb165e59f89e3aaa96dff0bddfc59a0 03-May-2005 mostang.com!davidm <mostang.com!davidm> (Logical change 1.290)
nclude/hppa/dwarf-config.h
nclude/hppa/jmpbuf.h
rc/hppa/Gcreate_addr_space.c
rc/hppa/Gget_save_loc.c
rc/hppa/Ginit_remote.c
rc/hppa/Lcreate_addr_space.c
rc/hppa/Lget_save_loc.c
rc/hppa/Lglobal.c
rc/hppa/Linit_remote.c
rc/hppa/Lis_signal_frame.c
rc/hppa/Lresume.c
rc/x86/longjmp.S
a0a5f89645359c31def73064702d465e47c12635 03-May-2005 mostang.com!davidm <mostang.com!davidm> (EXTRA_DIST): Mention include/hppa/jmpbuf.h and
include/hppa/dwarf-config.h.

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

(Logical change 1.290)
akefile.am
def37e7cb0fa1aa13fee39f92da9966ae5a9137b 03-May-2005 hp.com!davidm <hp.com!davidm> Update expected results for x86-64.

2004/12/04 17:00:04-08:00 hp.com!davidm
Gtest-exc is now working on PA Linux.

2004/12/02 18:37:47-08:00 hp.com!davidm
Update introduction.
Add PARISC Linux "expected results" section.

2004/11/30 22:44:47-08:00 mostang.com!davidm
Updated expected results for x86 and x86-64.

2004/11/17 02:43:39-08:00 mostang.com!davidm
Update x86 Linux test-suite status.

(Logical change 1.290)
EADME
02c9034eb214248646be46cb344b7a6e7b67f661 03-May-2005 hp.com!davidm <hp.com!davidm> Tweak such that GCC v4 doesn't optimize it to the point where the
test fails (it managed to unravel the recursion in f1).

(Logical change 1.290)
ests/Gperf-simple.c
2f63c6c54eaa093c14d6303462282f76443b33db 03-May-2005 hp.com!davidm <hp.com!davidm> Regenerate.

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

(Logical change 1.290)
ests/Makefile.in
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)
rc/Makefile.in
67acfdaa6c26ed4b879a9592ab75f7b0dd81fc62 03-May-2005 hp.com!davidm <hp.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
e65e1fcd8b96616723d3cbf08371888bcdc42864 03-May-2005 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.290)
clocal.m4
oc/Makefile.in
b09eae12032b0f47c14f63a1e35f6d48d3a41a9c 03-May-2005 hp.com!davidm <hp.com!davidm> On PA-Linux, allow for _Uhppa_setcontext symbol.

2004/12/02 18:37:47-08:00 hp.com!davidm
Allow _U${plat}_get_elf_image symbol on HPPA, too.

2004/12/02 00:40:45-08:00 mostang.com!davidm
Add support for hppa.

2004/11/30 22:44:47-08:00 mostang.com!davidm
Add rules for x86-64.

(Logical change 1.290)
ests/check-namespace.sh.in
9fea3da3885dab206965f45a8cea299d2d97682f 03-May-2005 hp.com!davidm <hp.com!davidm> Merge with v0.98.5.

2005/05/03 02:08:34-07:00 hp.com!davidm
(tests/Gtest-concurrent): Fail gracefully if we're unable to create the
desired number of threads. Note: unless strict accounting is
enabled (/proc/sys/vm/overcommit_memory == 2), the program may fail
with a SIGSEGV if it runs out of (stack) memory.

2005/04/07 19:22:33-07:00 hp.com!davidm
Make libunwind more friendly to GCC v4.

2005/04/07 19:20:22-07:00 hp.com!davidm
ia64: Fix two typos in Gscript.c which showed when compiling
without atomic-ops support.

2005/04/07 12:19:38-07:00 hp.com!davidm
ia64: cache proc-info even for procedures which are never stepped over

This was an oversight that caused exception-handling to run a bit
slower than possible. Specifically, the last procedure in an
exception-handling chain never got cached because it has only it's
proc-info inspected (to find the personality routine); the frame
was never stepped over (i.e., no script was ever built) and the info
never got into the cache. This patch fixes the problem.

2005/03/31 14:45:30-08:00 hp.com!davidm
(tests/Gtest-exc): Make it buildable with the Intel compiler.

2005/03/31 13:29:44-08:00 hp.com!davidm
Merge wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind-v0.98
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2005/03/07 10:13:14-08:00 hp.com!davidm
Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2005/03/07 10:08:26-08:00 hp.com!davidm
x86-64: Make it work better.

2005/03/07 10:02:17-08:00 hp.com!davidm
Fix a couple of missed NELEMS -> ARRAY_SIZE renames.

2005/03/07 10:00:19-08:00 hp.com!davidm
Fix a warning that shows with GCC v3.4.

2005/02/25 15:47:17-08:00 mostang.com!davidm
Fix forgotten ALWAYS_INLINE adjustment.

2005/02/24 23:39:35-08:00 hp.com!davidm
Fix missing NELEMS -> ARRAY_SIZE rename.

2005/02/24 23:32:42-08:00 mostang.com!davidm
Merge bk://unwind@bkbits.net/libunwind
into kangaroo.mostang.com:/home/davidm/src/unwind/libunwind

2005/02/24 23:28:02-08:00 hp.com!davidm
Fix merge-conflict.

2005/02/23 14:40:45-08:00 mostang.com!davidm
Abstract locking primitives some more to enable use of libunwind
inside the Linux kernel.

2005/02/23 13:10:06-08:00 mostang.com!davidm
ia64: Change "ia64_rse" prefix to "rse" in order to stay clear
of Linux kernel conflict.

2005/02/23 12:55:46-08:00 mostang.com!davidm
Fix a few missed ALWAYS_INLINE adjustments.

2005/02/20 21:42:55-08:00 mostang.com!davidm
Make it easier to use libunwind inside Linux-kernel: rename
NELEMS to ARRAY_SIZE and make ALWAYS_INLINE include the "inline"
keyword.

2005/02/18 22:20:58-08:00 hp.com!davidm
Merge wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind-v0.98
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/12/15 15:40:09-08:00 hp.com!davidm
ia64: Make ia64 build again.

2004/12/15 15:38:34-08:00 hp.com!davidm
Fix library dependencies so it's possible to do a successful "make
check" even when the GCC-based libunwind.so is installed in /lib.

2004/12/15 15:36:37-08:00 hp.com!davidm
Put separate copies of the ELF-reading code into each library that
needs it. Anything else if fragile or inefficient.

2004/12/08 17:27:12-08:00 hp.com!davidm
Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/12/06 10:40:50-08:00 mostang.com!davidm
x86: Make longjmp() work. Unfortunately, siglongjmp() doesn't
work yet since there aren't enough exception-handling
argument registers available to make that work easily.
Will need to come up with something clever to make that
work. Perhaps we can always use sigreturn() to atomically
do a setcontext() with signal-mask restoration.

2004/12/04 17:03:37-08:00 mostang.com!davidm
Regenerate src/Makefile.in.

2004/12/04 17:00:06-08:00 hp.com!davidm
hppa: Implement a useful setcontext() (but call it _Uhppa_setcontext())
and use it to make Gtest-exc work.

2004/12/02 23:56:58-08:00 hp.com!davidm
Fix merge conflict.

2004/12/02 23:51:02-08:00 hp.com!davidm
test-ptrace: Improve label-printing and allow nesting up to 64 deep.

2004/12/02 18:37:48-08:00 hp.com!davidm
hppa: Fix it enough so it actually starts to be useful.

2004/12/02 00:40:46-08:00 mostang.com!davidm
hppa: Initial support for (32-bit) PA-RISC Linux. It should be good
enough to get tests/Gtest-bt working.

2004/11/30 22:53:53-08:00 mostang.com!davidm
Regenerate "configure".

2004/11/30 22:44:48-08:00 mostang.com!davidm
x86-64: Fix it up some more. Make check has no unexplained failures
anymore (see README for details).

2004/11/30 21:47:49-08:00 mostang.com!davidm
x86: Fix comment-typo.

2004/11/23 16:59:58-08:00 mostang.com!davidm
x86/-64: First cut at supporting libunwind-ptrace for x86 and
x86-64.

2004/11/23 12:49:55-08:00 mostang.com!davidm
x86: Fill in save-locations by hand if DWARF-info is unavailable for
a signal-frame. This should help when running on old Linux
kernels which do not provide the vDSO.

2004/11/23 18:01:10-08:00 mostang.com!davidm
x86-64: Provide a minimal unw_resume() implementation and fix
an off-by-one error that was present in x86 and ia64
forever (at least on ia64 the error was harmless, but it's
still a bug...).

2004/11/23 16:17:37-08:00 mostang.com!davidm
x86-64: Fix unwinding across signal-frames on platforms that fail to
provide unwind-info for the signal trampoline. This makes
Gtest-bt work on SuSE LES 9.

2004/11/22 10:22:37-08:00 mostang.com!davidm
x86-64: Make it build again.

2004/11/17 02:43:40-08:00 mostang.com!davidm
Fairly major overhaul of DWARF2 unwinder. The major change is that
the auxiliary DWARF-info is maintained in a separate structure
(dwarf_cie_info, I may rename this to dwarf_aux_info) rather than
in an unw_dyn_info_t. The latter seemed promising at the beginning,
but it's become clear that it was a bad idea so it's time to remove
it.

2004/11/17 02:06:25-08:00 mostang.com!davidm
tests/Gtest-resume-sig: Clean it up some more and make it more robust.

2004/11/16 15:14:56-08:00 hp.com!davidm
Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/11/16 14:09:02-08:00 hp.com!davidm
Manual merge with v0.98.3.

2004/11/05 00:14:10-08:00 hp.com!davidm
Fix merge conflict with v0.98.2.

2004/11/03 13:57:00-08:00 hp.com!davidm
Manual merge with v0.98.2.

2004/11/03 11:45:24-08:00 hp.com!davidm
Merge wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind-v0.98
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/10/25 17:43:58+02:00 homeip.net!davidm
x86: Add Debug statement for return-value.
Define DWARF_IS_REG_LOC for the local-only case.

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

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

2004/10/25 05:21:53-07:00 hp.com!davidm
Improve Debug() support for ia64 a bit and make Debug (N, ...) get printed when
UNW_DEBUG_LEVEL==N.

2004/10/21 16:06:28+02:00 homeip.net!davidm
Fix _UPT_get_dyn_info_list_addr() so it doesn't fail just because
a /proc/PID/maps file contains a mapping of something other than
a regular file. Reported and fix proposed by Todd L. Miller.

2004/10/21 11:15:44+02:00 homeip.net!davidm
Merge bk://unwind@bkbits.net/libunwind
into mosberger.homeip.net:/home/davidm/src/unwind/libunwind

2004/10/21 11:15:12+02:00 homeip.net!davidm
dwarf: Fix some rather serious bugs in the DWARF expression evaluator.

2004/10/19 23:24:57-07:00 mostang.com!davidm
Fix some minor typos.

2004/10/19 23:15:02-07:00 mostang.com!davidm
dwarf: Fix Gstep() so it doesn't fail just because the IP didn't
change. This makes tests/{G,L}test-exc work on x86.

2004/10/19 23:11:08-07:00 mostang.com!davidm
tests/Gtest-exc.c: Fix test-case so it works as was intended.

2004/10/19 23:06:24-07:00 mostang.com!davidm
Use -fexceptions when compiling libunwind with GCC.
Switch version to 0.99-alpha.

BKrev: 427740adF-X3amNLHAfKa4B063DYxQ
e6446885f44866668ba7c5649c09386876e92a57 03-May-2005 hp.com!davidm <hp.com!davidm> Initial revision
rc/hppa/Gis_signal_frame.c
rc/hppa/Gresume.c
rc/hppa/getcontext.S
rc/hppa/offsets.h
rc/hppa/regname.c
rc/hppa/setcontext.S
rc/ptrace/_UPT_elf.c
rc/x86_64/longjmp.S
rc/x86_64/setcontext.S
30dec34c3a0bf851cdf41153528659ad347c0ccb 03-May-2005 hp.com!davidm <hp.com!davidm> Include "config.h" and <ia64intrin.h> if we have them.

2004/10/19 23:11:07-07:00 mostang.com!davidm
(got_here): New global variable.
(raise_exception): Fix off-by-2 error so that we _really_ step
to the outermost a() frame.
(get_bsp): New function.
(__builtin_ia64_bsp): Remove.
(a): Print stack and bsp addresses as we recurse.
When resuming execution in outermost a() frame (n==depth),
clear "result" and set "got_here" so we know we landed in
the right place.
(main): Don't accept arguments that cause "depth" to be < 1.
When returning from a(), also check "got_here". If
the check failed, print result, got_here, and nerrors
for diagnostic purposes.

(Logical change 1.290)
ests/Gtest-exc.c
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)
rc/x86_64/siglongjmp.S
05246dbab78434bdffa7384ee23dcdb156f32a59 03-May-2005 hp.com!davidm <hp.com!davidm> Fix missing NELEMS -> ARRAY_SIZE rename.

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

(Logical change 1.290)
ests/Gia64-test-nat.c
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)
rc/hppa/regname.c
df5acdd24a9eff7a03a6a67cd19d3063544bb197 03-May-2005 hp.com!davidm <hp.com!davidm> Fix missing NELEMS -> ARRAY_SIZE adjustment.

(Logical change 1.290)
rc/x86/regname.c
rc/x86_64/regname.c
09c959ad300b39d5f8fc8ac78cc39375701ea9f6 03-May-2005 hp.com!davidm <hp.com!davidm> Fix merge conflict.

2005/02/24 23:28:02-08:00 hp.com!davidm
Fix merge-conflict.

2004/11/16 14:09:01-08:00 hp.com!davidm
Manual merge.

2004/11/05 00:14:10-08:00 hp.com!davidm
Fix merge conflict.

2004/11/03 13:57:00-08:00 hp.com!davidm
Merge.

2004/10/19 23:06:23-07:00 mostang.com!davidm
(pkg_minor): Switch to 99.
(pkg_extra): Switch to -alpha.
(CFLAGS): Add -fexceptions if we're compiling with GCC. It's
needed to get the proper unwind tables on platforms
with DWARF unwind info (well, at least on x86 it's needed).

(Logical change 1.290)
onfigure.in
95c9a4a21e52f01ffa725cbe78344cfeead5aa74 03-May-2005 hp.com!davidm <hp.com!davidm> Fix merge conflict.

2004/12/02 23:51:00-08:00 hp.com!davidm
(do_backtrace): Also print the symbol offset. Increase nesting-level
tolerance to 64 so we can test programs with deeply nested
call-chains without triggering spurious warnings.


2004/11/30 22:44:47-08:00 mostang.com!davidm
(do_backtrace): Print IP if unw_get_proc_info() fails.

2004/11/23 18:01:09-08:00 mostang.com!davidm
(do_backtrace): Fix "start_ip might be used uninitialized" warning.

(Logical change 1.290)
ests/test-ptrace.c
e02ef902df0dd7a8c4b8d916d57b50415b3878bd 03-May-2005 hp.com!davidm <hp.com!davidm> Fix merge conflict.

2004/11/30 22:53:53-08:00 mostang.com!davidm
Regenerate.

2004/11/16 14:09:01-08:00 hp.com!davidm
Manual merge.

2004/11/05 00:14:10-08:00 hp.com!davidm
Fix merge conflict.

2004/11/03 13:56:59-08:00 hp.com!davidm
Merge.

2004/10/19 23:06:23-07:00 mostang.com!davidm
Regenerate.

(Logical change 1.290)
onfigure
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)
rc/hppa/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)
rc/ia64/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)
rc/ptrace/_UPT_get_dyn_info_list_addr.c
83b02fa05b0b228a86e1055466447de312ff44a0 03-May-2005 hp.com!davidm <hp.com!davidm> Add missing include of <string.h> to get strerror() declared.

(Logical change 1.290)
ests/ia64-test-setjmp.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)
rc/hppa/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)
rc/x86_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)
rc/elfxx.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)
rc/ia64/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)
rc/hppa/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)
rc/hppa/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)
rc/ia64/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)
rc/hppa/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)
rc/x86_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)
rc/hppa/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)
rc/mi/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)
rc/hppa/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)
rc/Makefile.am
f6b74c9cbe663a40962b2144721fea9885cb4fd1 03-May-2005 hp.com!davidm <hp.com!davidm> (ia64_get_cached_proc_info): Drop duplicate "ia64_" prefix.
(ia64_cache_proc_info): New function/macro.

(Logical change 1.290)
nclude/ia64/script.h
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)
rc/ia64/Gscript.c
847e0a4b1868f73aad650be605a798d4ba4e9554 03-May-2005 hp.com!davidm <hp.com!davidm> (dwarf_misaligned_value_t): Move "attribute" declaration to the type
to make newer versions of GCC happy.

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

2004/12/02 00:40:45-08:00 mostang.com!davidm
Make it possible for dwarf-config.h to define its own version of
dwarf_to_unw_regnum().

2004/11/23 16:59:56-08:00 mostang.com!davidm
(dwarf_to_unw_regnum): Make it a macro so we don't have a
dependency just because of including the file when --enable-debug
is on (and inlining is off).
(dwarf_read_encoded_pointer_inlined): Move from Gpe.c to here
and rename from dwarf_read_encoded_pointer().

(Logical change 1.290)
nclude/dwarf_i.h
c0e81195b7e1fc1db66b4c324ba0d356ef7a0032 03-May-2005 hp.com!davidm <hp.com!davidm> (doit): Fail gracefully if we fail to create all NTHREADS threads.

(Logical change 1.290)
ests/Gtest-concurrent.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)
rc/hppa/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)
rc/x86_64/init.h
9fa361ed372422e9cf784d618a92ff05b4857556 03-May-2005 hp.com!davidm <hp.com!davidm> (bar): Fix missing initialization warned on by GCC v4.

(Logical change 1.290)
ests/test-ptrace-misc.c
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)
rc/ptrace/_UPT_reg_offset.c
c224ec66c5f914d142ee946f18e1b2805cc3d9b7 03-May-2005 hp.com!davidm <hp.com!davidm> (UNW_HPPA_EH3): Fix comment-typo.

2004/12/02 18:37:47-08:00 hp.com!davidm
(unw_tdep_fpreg_t): Make it a union of "double" and two 32-bit words.
(unw_tdep_getcontext): Fix typo.

2004/12/02 00:40:45-08:00 mostang.com!davidm
(_U_TDEP_QP_TRUE): New macro.
(UNW_TDEP_CURSOR_LEN): Increase from 127 to 511 to accommodate
DWARF cursor-size.
(unw_word_t): Change from uint64_t to uint32_t since user-land
PA-Linux is only 32 bits.
(hppa_regnum_t): Add register names UNW_HPPA_EH0, UNW_HPPA_EH1,
UNW_HPPA_EH2, UNW_HPPA_EH3, UNW_HPPA_CFA, and
UNW_HPPA_EH.
(UNW_TDEP_NUM_EH_REGS): New macro.
(unw_tdep_getcontext): Point it at UNW_ARCH_OBJ(getcontext).

(Logical change 1.290)
nclude/libunwind-hppa.h
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)
rc/hppa/getcontext.S
5b20c6e0824749d5c9f1c3e8d98f1cf753992040 03-May-2005 hp.com!davidm <hp.com!davidm> (Logical change 1.290)
rc/hppa/setcontext.S
rc/ptrace/_UPT_elf.c
rc/x86_64/longjmp.S
rc/x86_64/setcontext.S
f60827dc5c8803008fd8289b79c709ac5c773105 03-May-2005 hp.com!davidm <hp.com!davidm> (LIBUNWIND_local): New macro.
(LIBUNWIND): Mention $(LIBUNWIND_local).
(test_setjmp_LDADD): Likewise.
(ia64_teset_setjmp_LDADD): Likewise.

(Logical change 1.290)
ests/Makefile.am
e12a9960510d34b56cf024ddbc488e26bfd6aeb6 03-May-2005 hp.com!davidm <hp.com!davidm> (HPPA_SCF_LINUX_SIGFRAME): Remove (PA-Linux appears to use only
real-time signal frames).
(tdep_big_endian): Fix typo.

2004/12/02 00:40:45-08:00 mostang.com!davidm
Include "elf32.h" and "dwarf.h".
(struct unw_addr_space): If we have atomic-ops, define cache_generation
to be of type AO_t.
(struct cursor): Define it primarily in terms of the DWARF cursor.
Add sigcontext_format and sigcontext_addr members.
Add DWARF-location accessors.

(Logical change 1.290)
nclude/tdep-hppa.h
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)
rc/dwarf/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)
rc/dwarf/Gexpr.c
7aade965b47391730237dcfda8c4ebbb2e897d84 03-May-2005 homeip.net!davidm <homeip.net!davidm> (DWARF_IS_REG_LOC): Define as 0 for the local-only case.

(Logical change 1.290)
nclude/tdep-x86.h
38d99eee0ad2de0f214eda6366eafe7fb34e123b 20-Apr-2005 hp.com!davidm <hp.com!davidm> Update for v0.98.5 release.

(Logical change 1.289)
EWS
cf49fe8be4f78a8ff52d7f7ebe9886ebb606ce4d 20-Apr-2005 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.289)
onfigure
oc/unw_create_addr_space.man
db7dcaea5b3284ae9de9b317f50a3a69c7dc6430 20-Apr-2005 hp.com!davidm <hp.com!davidm> Prepare for v0.98.5 release.

BKrev: 4266ca64K5IAauiPBgcX-B0bF1Ldsg
07af27ee75b4beaf43e87d6b3c7b5b62528a1e75 20-Apr-2005 hp.com!davidm <hp.com!davidm> (pkg_extra): Change to .5.

(Logical change 1.289)
onfigure.in
2f9b0ab27dad4bda587c5c1012e017d75720c81f 20-Apr-2005 hp.com!davidm <hp.com!davidm> Fix typo: function returns unw_addr_space_t, not int.

(Logical change 1.288)
oc/unw_create_addr_space.tex
7be9f146536b54af64ab8b793f4cb8a5633f59af 20-Apr-2005 hp.com!davidm <hp.com!davidm> Fix typo in man-page for unw_create_addr_space().

BKrev: 4266c35d-aqzL23eo1PCA0eMWAfc5A
4479427266c75d9e753b076db0600d6a7c41a76c 20-Apr-2005 hp.com!davidm <hp.com!davidm> ia64: Fix off-by-one bug reported by Todd L Miller.

The rationale for this fix is as follows: for the ALIAS directive, RLEN
specifies the number if instructions for which the region behaves like
the aliased code. For example, if RLEN=1 then the code follows the
aliased region for 1 instruction and the valid WHEN values should be 0
and 1. However, with the unpatched code, we would have allowed for -1
and 0, which is wrong.

BKrev: 4266c3228pjJqd72q34L-r8z1RXTaA
8efd6d24da6718383fca227a419a6d8ab26f960f 20-Apr-2005 hp.com!davidm <hp.com!davidm> (desc_alias): Fix off-by-one bug.

(Logical change 1.287)
rc/ia64/Gparser.c
5302bf48284ca7ecc3af277930616e03154b3d95 31-Mar-2005 hp.com!davidm <hp.com!davidm> (libunwind-ptrace): Fix a bug which could cause crashes due to
extraneous calls to munmap.

BKrev: 424c6923ezxqsM6TnnzUyUDFZv0-cA
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)
rc/ptrace/_UPT_get_dyn_info_list_addr.c
affe34c053904d2b0959861f1fb03c7945771fbc 24-Feb-2005 hp.com!davidm <hp.com!davidm> Update for v0.98.4 release.

(Logical change 1.285)
EWS
b0bc4a6125c9df687004f97c6eb4ab1ecd4eee34 24-Feb-2005 hp.com!davidm <hp.com!davidm> Prepare for 0.98.4 release.

BKrev: 421e48e8SGa9ud-v1IlueJX3Hhk7Uw
cc6fea4c89b5ed7fe53ee0cd171ab12d1255a315 24-Feb-2005 hp.com!davidm <hp.com!davidm> (pkg_extra): Change to .4.

(Logical change 1.285)
onfigure.in
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)
rc/mi/_ReadSLEB.c
022a505678c66d58624df7fae4bb513451c7e781 19-Feb-2005 hp.com!davidm <hp.com!davidm> (_ReadSLEB): Fix typo.

BKrev: 4216d978HJl6nJTEtzDgosMVaxzDQQ
0d34dce56ae66b8bec58f098c2a94783fc4de2e0 16-Nov-2004 hp.com!davidm <hp.com!davidm> Update for v0.98.2 and v0.98.3 releases.

(Logical change 1.283)
EWS
272caabbfae28e542c4c6b30f1c558a8e5fd748b 16-Nov-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.283)
akefile.in
clocal.m4
onfigure
oc/Makefile.in
nclude/config.h.in
rc/Makefile.in
ests/Makefile.in
7e5725275064b0c51590189f3e2603e1cacd8c78 16-Nov-2004 hp.com!davidm <hp.com!davidm> Don't check for libatomic_ops for now. We don't really need it for
x86 and ia64 and checking for it causes a dependency for libunwind
on libatomic_ops.so, which is not what we want.

BKrev: 419a79184TRq3PRIZ_E7yRe9-x4WXQ
9ef944555893b939046c8bc4768e8831201d1369 16-Nov-2004 hp.com!davidm <hp.com!davidm> Don't check for atomic_ops library for now.

(Logical change 1.283)
cinclude.m4
ef6d76ffd5bc5a53ad3f905206eab8039d4d32e1 16-Nov-2004 hp.com!davidm <hp.com!davidm> (pkg_extra): Change to .3.

(Logical change 1.283)
onfigure.in
14524c439f758f79d0ebbde44c969290c0bf3d39 16-Nov-2004 hp.com!davidm <hp.com!davidm> Make all references from libunwind-ia64 to libunwind weak such that
it's possible to link against libunwind-ia64.a without needing
libunwind.a.

BKrev: 419a4b4bYWEKA80IEowZKmzBEMLkGA
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)
rc/mi/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)
rc/ia64/Ginit.c
8f3389e9f974f40c6633c5bb4a99416c64c83a19 05-Nov-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.281)
onfigure
3c12faa05978ec89f4355e1f7a7ab68888df63b8 05-Nov-2004 hp.com!davidm <hp.com!davidm> Fix build of static libunwind.a: turns out libtool doesn't like
full-path archive library names. Instead, we need to use -lgcc
(and hope that GCC doesn't pick up the dynamically-linked version!).

Longer term, a better solution might be to drop the -nostdlib linker
option and to use --as-needed instead to avoid recursive references
to -lunwind.

BKrev: 418ac8fcBr462ajbr1zenCtVWTgv5Q
5de169a5d8d85f890af6155b3231a09c81871fd2 05-Nov-2004 hp.com!davidm <hp.com!davidm> (LIBCRTS): Use -lgcc instead.

(Logical change 1.281)
onfigure.in
0f9f815cf1b20eab2b7244a149d5d9f0cfb6f883 03-Nov-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.280)
akefile.in
onfigure
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
a9a9a5168180083e80450fbdb1a2f9ebbc566ad9 03-Nov-2004 hp.com!davidm <hp.com!davidm> Change version code to v0.98.2.
With GCC, link libunwind.so against libgcc.a so there are no C
runtime-system dependencies left (such as calls to __divdi3).

BKrev: 418952a0RqjKsE7N_2NLSqJn3pvfFQ
e62c425ed27b5412ae47b3841c2b1efca384ad88 03-Nov-2004 hp.com!davidm <hp.com!davidm> (pkg_extra): Set to .2.
(LIBCRTS): For GCC, set it to the libgcc file-name. Substitute it.

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

(Logical change 1.280)
rc/Makefile.am
a6cf25836e3732bca1a849dbc9262226f9ebc61b 03-Nov-2004 hp.com!davidm <hp.com!davidm> Fix _UPT_get_dyn_info_list_addr() so it doesn't fail just because
a /proc/PID/maps file contains a mapping of something other than
a regular file. Reported and fix proposed by Todd L. Miller.

BKrev: 4189352chQs0340NbHL2qDV4yTL3_A
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)
rc/ptrace/_UPT_get_dyn_info_list_addr.c
61421373d75d5ad8b5938b846e1ce0f724d27c07 15-Oct-2004 hp.com!davidm <hp.com!davidm> Fix tests/ia64-test-nat-asm.S to use the correct psp-relative offsets.

BKrev: 416fd736cMBhQeCMuwgZqqBRdRXNIQ
82e02ac518e7a7e7ebd364133ed4d8948984e7f4 15-Oct-2004 hp.com!davidm <hp.com!davidm> Fix offsets in .*psp directives (subtract 16 to account for the fact that
GNU assembler used to encode this incorrectly).

(Logical change 1.278)
ests/ia64-test-nat-asm.S
96a82bef082a959bef7b6d689e25bd14b04f7ec9 15-Oct-2004 hp.com!davidm <hp.com!davidm> Make tests/ia64-test-setjmp.c compile with the Intel compiler.

BKrev: 416fd659Chjwwk5zoTDkLkIMnOGFiA
07e9f4df8922b98da6c62ada5619e1b27ce0fccb 15-Oct-2004 hp.com!davidm <hp.com!davidm> Include "config.h" if we have it.
Include <errno.h>.
Include <ia64intrin.h> if we have it.
(get_bsp): New function.
(doit): Use get_bsp() instead of __builtin_ia64_bsp().
(main): Replace %m with %s/strerror(errno).

(Logical change 1.277)
ests/ia64-test-setjmp.c
e4d5a228124d967da1fa4267744cf57138e7b0c4 15-Oct-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.276)
ests/Makefile.in
beca885a4bcd578e8648aa54ca5f72520b8923fb 15-Oct-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.276)
ests/ident.c
ests/run-ptrace-misc
ests/test-ptrace-misc.c
935d735557be4f62e592c78d99960dc54815709b 15-Oct-2004 hp.com!davidm <hp.com!davidm> Initial revision
ests/ident.c
ests/run-ptrace-misc
ests/test-ptrace-misc.c
064fea22b1ba9ae1501c94ff28d05d0d5e88000d 15-Oct-2004 hp.com!davidm <hp.com!davidm> Add tests/run-ptrace-misc which is designed to catch a GCC bug which causes
bad unwind info (all but the first sp-restorers fail to get marked with a
".restore sp" directive; see GCC bugzilla report #18010).

BKrev: 416fd5365xn1-FZs2rUwq7kv7MNyGQ
9d47ce5331e7ad49e95a630567d821e845c4ac02 15-Oct-2004 hp.com!davidm <hp.com!davidm> (f): Move it to ident.c so the optimizer can't get rid of it.

(Logical change 1.276)
ests/Gtest-bt.c
b0048ee76213f9ff6d6e24a91eeeb124aa30d248 15-Oct-2004 hp.com!davidm <hp.com!davidm> (do_backtrace): Keep track of initial IP so we can issue better error messages.
(main): Update comment for -t.

(Logical change 1.276)
ests/test-ptrace.c
b4f1459444005eaed7bc14b550fb67cdc2a04c30 15-Oct-2004 hp.com!davidm <hp.com!davidm> (EXTRA_DIST): Mention run-ptrace-misc.
(check_SCRIPTS_cdep): Mention run-ptrace-misc.
(noinst_PROGRAMS_cdep): Mention test-ptrace-misc.
(Gtest_bt_SOURCES): New macro.
(Ltest_bt_SOURCES): Likewise.
(test_ptrace_misc_SOURCES)L: Likewise.

(Logical change 1.276)
ests/Makefile.am
76176df770e061e801abe7e6e8c9d1295beae478 15-Oct-2004 hp.com!davidm <hp.com!davidm> Update to reflect latest bug-fixes & changes.

(Logical change 1.275)
EWS
75b67193527e9164b39007e620c67a28872eac76 15-Oct-2004 hp.com!davidm <hp.com!davidm> Update to reflect currently reality.

(Logical change 1.275)
EADME
07e4c82af8086348b8d5233a071370eebb5133ca 15-Oct-2004 hp.com!davidm <hp.com!davidm> Update NEWS & README to reflect current reality.

BKrev: 416fd297x-EpX1YIsrtHWJ7INlcK7A
8a2fe0901be60e67c39498363f920922a447c41a 13-Oct-2004 homeip.net!davidm <homeip.net!davidm> Update NEWS file for v0.98.1.

(Logical change 1.274)
EWS
fd169cc6801952fccf5275ca149bb2cdcc9e80a6 13-Oct-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.274)
onfigure
788a0167233f6196acf2af8c2842e7fade31ad4b 13-Oct-2004 homeip.net!davidm <homeip.net!davidm> Merge bk://unwind@bkbits.net/libunwind
into mosberger.homeip.net:/home/davidm/src/unwind/libunwind

2004/10/07 11:35:11+02:00 homeip.net!davidm
Get ready for interim v0.98.1 release to fix a stupid install bug.

BKrev: 416d3832q_diEmR8aBNgsLs_4McpCA
3ad05c8a1d493b5450531b168a3093f31139bf94 13-Oct-2004 homeip.net!davidm <homeip.net!davidm> Change pkg_extra to .1.

(Logical change 1.274)
onfigure.in
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)
rc/longjmp.c
rc/siglongjmp.c
7c9534a37e1e24a87a1a96070d3f5bcda0096704 13-Oct-2004 hp.com!davidm <hp.com!davidm> Fix {sig,}longjmp() so it works on SLES9 which failed because to
kill() caused a NULL-frame which was incorrectly identified as the
target of the longjmp().

BKrev: 416d38310dca_S_DoJqvMNvQnm6wwA
cf961451165ec2cf301191d15b95ae53b25f9930 13-Oct-2004 hp.com!davidm <hp.com!davidm> ia64: Fix ia64 sigsetjmp() so ia64-test-setjmp also succeeds on SLES 9.

BKrev: 416d36c2LlOSPR6SVavY72kaKjCICA
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)
rc/ia64/sigsetjmp.S
b62e5e37b3b0ff99ae0c08bc3a3ecb19cdce2b89 05-Oct-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.271)
akefile.in
clocal.m4
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
b54d9216d63f2fa980601449e8c58422aca3d5c8 05-Oct-2004 homeip.net!davidm <homeip.net!davidm> Fix bug which caused libunwind-common.h.in instead of libunwind-common.h
to be installed. Reported by Johan Walles.

BKrev: 4162cb96x9C4SwdWiMYyOt479O5jlg
ebf7fdb2f30951cd09aab5f36401ee02a73d7d97 05-Oct-2004 homeip.net!davidm <homeip.net!davidm> (include_HEADERS_common): Remove include/libunwind-common.h.in.
(nodist_include_HEADERS): Mention include/libunwind-common.h.
(EXTRA_DIST): Mention include/libunwind-common.h.in.

(Logical change 1.271)
akefile.am
7bd9b32b1db8b5c08ba6040d19026ec3c34dca1c 15-Sep-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.270)
ests/Makefile.in
4e5aa1e5567cfbd8a95980874e5b5f2c5f722968 15-Sep-2004 hp.com!davidm <hp.com!davidm> Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/09/15 04:36:38-07:00 hp.com!davidm
Make bt into an automatic test-case (Gtest-bt & Ltest-bt) and enhance it in
an attempt to trigger a bug reported by Anthony Brewer were GAS apparently
is generating bad psp-relative offsets on ia64.

BKrev: 41482960zyAq_BCQHMor5ERtz8crIQ
23d9a14c4d98095fb9da927769d88d1b9f6f675d 15-Sep-2004 hp.com!davidm <hp.com!davidm> (verbose): New variable.
(num_errors): Likewise.
(do_backtrace): Only print info if verbose is set.
(foo): Likewise.
(sighandler): Likewise.
(main): Likewise.
(bar): New function which is attempting to trigger a bug reported by
Anthony Brewer which is caused by GAS apparently generating bad
offsets for the psprel directive.
(f): New function.

}(Logical change 1.270)
ests/bt.c
186cbb2957d4ffc4269fe788bf8650ee3b629d27 15-Sep-2004 hp.com!davidm <hp.com!davidm> (verbose): New variable.
(num_errors): Likewise.
(do_backtrace): Only print info if verbose is set.
(foo): Likewise.
(sighandler): Likewise.
(main): Likewise.
(bar): New function which is attempting to trigger a bug reported by
Anthony Brewer which is caused by GAS apparently generating bad
offsets for the psprel directive.
(f): New function.

2004/09/15 04:24:29-07:00 hp.com!davidm
Rename: tests/bt.c -> tests/Gtest-bt.c

(Logical change 1.270)
ests/Gtest-bt.c
18cd500bf7d59b4b49c0050e47ce630938f7a46b 15-Sep-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.270)
ests/Ltest-bt.c
373a106072c9686d5ead26c0ef5e0833249730d9 15-Sep-2004 hp.com!davidm <hp.com!davidm> Initial revision
ests/Gtest-bt.c
ests/Ltest-bt.c
dfa582a2dfa729bb6d1591841c1c82feb0da45a3 15-Sep-2004 hp.com!davidm <hp.com!davidm> (noinst_PROGRAMS_cdep): Move bt to...
(check_PROGRAMS_cdep): ...here as Gtest-bt/Ltest-bt.

(Logical change 1.270)
ests/Makefile.am
63b092da197ba6ffe956f0d49ec8f40e754c629b 15-Sep-2004 homeip.net!davidm <homeip.net!davidm> Mention URL for HJ's libunwind-specification extensions.

BKrev: 4147ff2c4SU2renI427XPy99W1al0A
5ab903c90b9aa0e07f22a6c31081541c71ccdbe7 15-Sep-2004 homeip.net!davidm <homeip.net!davidm> Mention URL for HJ's libunwind-specification extensions.

(Logical change 1.269)
EWS
3561d9af3511665a4e727bd3c07feff65a2975a3 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Oops, forgot to add _UI_longjmp_cont() dummy for x86 and x86-64.

BKrev: 41408427q8u9sbVJVdtxQUeLJpvl3Q
caa528e1e896cee8afb1b7c475ec726c7f48e087 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Add dummy implementation of _UI_longjmp_cont().

(Logical change 1.268)
rc/x86/siglongjmp.S
rc/x86_64/siglongjmp.S
02e99d2ce3f83f45a59d799da86361f07e58029c 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Update.

(Logical change 1.267)
EWS
c547876aa9d213b16740de9953429662cd2acfff 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Update NEWS file for v0.98.

BKrev: 4140576cz3tYl6KzeZQzIpODidjsKw
f5638df5045290a763e24950e8514fac1ef7d36d 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

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

(Logical change 1.266)
rc/ia64/Grbs.c
ac0b7e03a01a667d99d967aca4bc1b8f90ad97c6 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Fix some compiler warnings and switch to v0.98 in preparation for
release.

BKrev: 41405539eKEYXz9pUzL_XJbePkxnZw
f28e502936809678c85086cb4e764a6d75522823 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Drop "-alpha" from pkg_extra.

(Logical change 1.266)
onfigure.in
8e96c357a8339cbd87870daaf5027927911a20a6 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> (unw_addr_space): If we have atomic-ops library installed, declare
cache_generation as AO_t.
(dwarf_getfp): Do casts via "char *" to avoid type-punning
warnings.
(dwarf_putfp): Likewise.

(Logical change 1.266)
nclude/tdep-x86.h
34be77c7b22160ab82deed3c2bd9435141bd7c92 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> (test_generic): Fix "unused variable" warning.

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

(Logical change 1.266)
rc/setjmp.c
126e1418de56cc4c0b644a9552ba66c71e1bdc8f 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> x86: Tweak debug-levels for unw_resume() to match ia64-version.

BKrev: 414035b1FaxN7Qn6zSdyEMB81RgJ1A
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)
rc/x86/Gresume.c
1e57152ba7fa8a968bc4920f6a2ac8bd8593a8df 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> x86: Do (untested) versions of dwarf_getfp() and dwarf_putfp().

BKrev: 4140355eGIpu6zMcXNVIvR_oK8b7lA
a6aa7338cccb0b4d3ebadb17b104d65a891c14e8 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> (dwarf_getfp): Implement a first draft version of this routine
(completely untested).
(dwarf_putfp): Likewise.
(dwarf_get): Don't support fp-register save-locations.
(dwarf_put): Likewise.

(Logical change 1.264)
nclude/tdep-x86.h
0fdda1b3b0d8c0f061e22d51ea98232d0e685784 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> x86: Fix common_init() to initialize sigcontext-related members.
This makes tests/Gtest-exc and tests/Ltest-exc work.

BKrev: 414034dbzpIn5YX4WA-HSdunB1GsHg
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)
rc/x86/init.h
3050ccdd98aac10362697474d255a1a32d68437a 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> Add some more UNW_VERSION macro cruft to make it easy to compare
version codes. Now you can do:

if (UNW_VERSION >= UNW_VERSION_CODE (0, 98))
...

to check if the current libunwind version is at least v0.98.

Not that such version-check is recommend---use configure instead
wherever possible.

BKrev: 41403444RFDXY4AE08vkfXDh7OCZVg
47bf99c6774e9422872068ef866722a8ba7ddefc 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> (UNW_VERSION_CODE): New macro.
(UNW_VERSION): Likewise.

(Logical change 1.262)
nclude/libunwind-common.h.in
112fcdd1728aac85495660cb903ffa24cec41cb9 08-Sep-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.261)
akefile.in
onfigure
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
27ce81f7e280f5800bddb18514731b3a1761a70f 08-Sep-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
nclude/libunwind-common.h.in
2cd271250864e1619bd348ee3cefcca7d6b04101 08-Sep-2004 mostang.com!davidm <mostang.com!davidm> Have libunwind.h export the version number via manifest constants
UNW_VERSION_MAJOR, UNW_VERSION_MINOR, and UNW_VERSION_EXTRA.
The last one is a free-form string. For example, version
0.98-alpha would be represented as UNW_VERSION_MAJOR=0,
UNW_VERSION_MINOR=98, UNW_VERSION_EXTRA=-alpha (note: no quotes;
you'll have to stringify this value if necessary).

BKrev: 413f431cEdq7duwyl7TVLCIV4D7M9Q
6cd917c6334a92b586441e122b45545f86eeb72f 08-Sep-2004 mostang.com!davidm <mostang.com!davidm> (pkg_major): New M4 macro.
(pkg_minor): Likewise.
(pkg_extra): Likewise.
(pkg_maintainer): Likewise.
(mkvers): Likewise.
(AC_INIT): Use them to form package-version and maintainer strings.
(PKG_MAJOR): New shell variable.
(PKG_MINOR): Likewise.
(PKG_EXTRA): Likewise.
(PKG_MAINTAINER): Likewise.
(AC_CONFIG_FILES): Mention include/libunwind-common.h.

(Logical change 1.261)
onfigure.in
88a3e7efcdd59c04bd2c51c23a42f54b9c60538d 08-Sep-2004 mostang.com!davidm <mostang.com!davidm> (include_HEADERS_common): Rename libunwind-common.h to
libunwind-common.h.in.

(Logical change 1.261)
akefile.am
8de87a48cddf3476c309613466f488e284cdd8e0 08-Sep-2004 mostang.com!davidm <mostang.com!davidm> (UNW_VERSION_MAJOR): New macro.
(UNW_VERSION_MINOR): Likewise.
(UNW_VERSION_EXTRA): Likewise.

}(Logical change 1.261)
nclude/libunwind-common.h
012a4844cbcbb6f48b1655f66820534a1e287c5d 08-Sep-2004 mostang.com!davidm <mostang.com!davidm> (UNW_VERSION_MAJOR): New macro.
(UNW_VERSION_MINOR): Likewise.
(UNW_VERSION_EXTRA): Likewise.

2004/09/08 08:15:35-07:00 mostang.com!davidm
Rename: include/libunwind-common.h -> include/libunwind-common.h.in

(Logical change 1.261)
nclude/libunwind-common.h.in
5501d8c39ad6464fe711708dcf36275fd9ff47a0 31-Aug-2004 hp.com!davidm <hp.com!davidm> Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/08/27 09:33:38+02:00 ibm.com!masbock
[PATCH] x86-64: fix unw_get_proc_info()

The unw_get_proc_info() function from my x86_64 patch is bogus. It
doesn't update the passed in proc info. Here is a fix for it.

Signed-off-by: Max Asbock <masbock@us.ibm.com>
Signed-off-by: David Mosberger <davidm@hpl.hp.com>

BKrev: 41348449Xbf4YtlvXOTgwFap8u4eug
e09e6ce1ad753017313688eafc466656c322f9d0 31-Aug-2004 com[davidm]!masbock <com[davidm]!masbock> x86-64: fix unw_get_proc_info()

(Logical change 1.260)
rc/x86_64/Gget_proc_info.c
bca75e7d655d9ca2488a2e8886d69eb3658515d4 31-Aug-2004 hp.com!davidm <hp.com!davidm> ia64: Fix unw_resume(), longjmp(), and siglongjmp() so they can resume
execution in a function with a floating stacked-register frame
(i.e., a function whose stacked registers are _not_ backed by
valid memory).

BKrev: 4134842er3hI9a53izod1_4UXvJycg
7ccee420046e6f5238530e024ecd3381c911460d 31-Aug-2004 hp.com!davidm <hp.com!davidm> bsig

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

(Logical change 1.259)
akefile.in
rc/Makefile.in
ests/Makefile.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)
rc/longjmp.c
197c9d517b4e459a33ce79192c1469e0844a1a8e 31-Aug-2004 hp.com!davidm <hp.com!davidm> Initial revision
nclude/ia64/jmpbuf.h
nclude/x86/jmpbuf.h
nclude/x86_64/jmpbuf.h
rc/ia64/longjmp.S
ests/ia64-test-setjmp.c
f789a1e1d19c9e1bee57269bde8436cea59e12bb 31-Aug-2004 hp.com!davidm <hp.com!davidm> Fix up a little so it's silent by default.

(Logical change 1.259)
ests/ia64-test-sig.c
3b57368f67433a95492ab4b40033cde3000f1dd8 31-Aug-2004 hp.com!davidm <hp.com!davidm> (struct cursor): Clarify meaning of "rbs_curr" member.

(Logical change 1.259)
nclude/tdep-ia64.h
c961dc646e63a0cb54bd772b5f4e48c36fd1acc0 31-Aug-2004 hp.com!davidm <hp.com!davidm> (sigsetjmp): Use macros from jmpbuf.h instead of hardcoded values.

(Logical change 1.259)
rc/sigsetjmp.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)
rc/siglongjmp.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)
rc/setjmp.c
8f2272c097e73fd6063127745f706fed0229dd3f 31-Aug-2004 hp.com!davidm <hp.com!davidm> (noinst_PROGRAMS_arch): Move ia64-test-sig to...
(check_PROGRAMS_arch): ...here. Mention ia64-test-setjmp.
(ia64_test_setjmp_LDADD): Mention libunwind-setjmp.la.

(Logical change 1.259)
ests/Makefile.am
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)
rc/ia64/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)
rc/Makefile.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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/sigsetjmp.S
e29611e7d343a6f84dd9c5fd94415615ef49a4b0 31-Aug-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.259)
nclude/ia64/jmpbuf.h
nclude/x86/jmpbuf.h
nclude/x86_64/jmpbuf.h
rc/ia64/longjmp.S
ests/ia64-test-setjmp.c
9c01662f1d7cd4ddf1d5bb109eaaef4db428102e 31-Aug-2004 hp.com!davidm <hp.com!davidm> (EXTRA_DIST): Mention include/{ia64,x86,x86_64}/jmpbuf.h.

(Logical change 1.259)
akefile.am
70361981a9cafbb5cc85335315605e002d48d27b 26-Aug-2004 hp.com!davidm <hp.com!davidm> ia64: Improve compatibility of setjmp/longjmp with libc's version. NPTL
is known to peek into the jump-buffer to look up the SP and the BSP,
so this should improve NPTL-compatibility.

BKrev: 412dc459_Ucm8fVRzuNnw1MXisvqHQ
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)
rc/ia64/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)
rc/longjmp.c
60665021da7b450fab105f900b03fdcdbceba426 26-Aug-2004 hp.com!davidm <hp.com!davidm> Tweak debug-levels a bit so you can get a function-trace with debug-level set
to 2. Move unwind-internal.h to unwind subdirectory where it belongs.

BKrev: 412db5465GoE9lhZ1RCtwZABF9X9YA
23366e72e52f1c76b72499b2c96ba3b7ab0673d6 26-Aug-2004 hp.com!davidm <hp.com!davidm> Rename: src/unwind-internal.h -> src/unwind/unwind-internal.h

}(Logical change 1.257)
rc/unwind-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)
rc/unwind/unwind-internal.h
e965c295cf3fa4d99777cdd3bd0ee0e1ba61232e 26-Aug-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.257)
rc/Makefile.in
e75a89cd6c61738b9d168b4836b4fd6ae593d14a 26-Aug-2004 hp.com!davidm <hp.com!davidm> Initial revision
rc/unwind/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)
rc/ia64/Gparser.c
f576cce7480d6acee537cecfeb5530187e50f785 26-Aug-2004 hp.com!davidm <hp.com!davidm> Drop debug-level for function-trace to 1.

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

(Logical change 1.257)
rc/ia64/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)
rc/Makefile.am
6a349d88a5f6cc80d89cc38024d36074f631aead 24-Aug-2004 model.com!marky <model.com!marky> [PATCH] dwarf: fix local & remote table lookup

remote_lookup() may return the wrong table entry or an invalid entry
combining the start address from one entry with the fde_offset from
another. The similar search in lookup() finds the correct entry, but
may perform unnecessary comparisons to get there. Also fix the
prototype of remote_lookup().

Signed-off-by: Mark F Young <marky@model.com>
Signed-off-by: David Mosberger <davidm@hpl.hp.com>

BKrev: 412af9f4qbo3tgB2jDrMsp8-ODj9iA
271f7069440b03152a957b5a79abb12e5f2bd605 24-Aug-2004 com[davidm]!marky <com[davidm]!marky> dwarf: fix local & remote table lookup

(Logical change 1.256)
rc/dwarf/Gfind_proc_info-lsb.c
a5e41807d29d272532da67621f6ef90ac5cba0c5 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> check-namespace.sh.in: Check for __libunwind_Unwind* aliases.

BKrev: 4125e2096UlmdgKoZnG4-lGOPC2sIA
efa755a556f760e8a208bfd7a26c1e4063a64bd2 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> Add checks for __libunwind_* aliases.

(Logical change 1.255)
ests/check-namespace.sh.in
b865d61ea6c564e1b598ea4bc723a0ae9ed4dc54 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> Split lib_LTLIBRARIES_cdep into two macros so we can list the libraries
in the right order. This should fix a problem where the wrong library
was picked up if an old libunwind was installed already. Reported
by HJ Lu.

BKrev: 4125dff9XwKbhk-7KOb0sPYHpZHbAA
0dfc1c87ed4008c55d5616da0fbeb6f3d121db68 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.254)
rc/Makefile.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)
rc/Makefile.am
49af3506c7ac76376706141d8c81521274a8dc80 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> x86_64: Fix up things some more such that "make check" is starting
to work. Also, bt works now correctly, except that it still
crashes when attempting to unwind across a signal-handler on
an alternate signal-stack.

BKrev: 4125df2334Is8GIamgpMJ-630S9EBw
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)
rc/dwarf/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)
rc/x86_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)
rc/x86/Gregs.c
rc/x86_64/Gregs.c
9034bd158ab44ecf5c3c42471e25baed5b74a2d5 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> (struct dwarf_cursor): Add new member "cfa_is_sp" to mark the case
when the (unsaved) stack-pointer is the CFA.

(Logical change 1.253)
nclude/dwarf.h
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)
rc/dwarf/Gfde.c
18acb9253071fe5a643013e825b6b9a7f8dec8db 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> (flush_cache): Provide dummy-implementation for x86-64.

(Logical change 1.253)
ests/flush-cache.S
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)
rc/ptrace/_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)
rc/ptrace/_UPT_reg_offset.c
982b64232d8ceb19342af1d36ae438b30d2cbecd 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.252)
akefile.in
oc/Makefile.in
ests/Makefile.in
9aafad075c8c44a8e4fa4491b7f1c73c285255e4 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate some files missed in the x86-64 check-in.
Move test-init-remote to where it belongs, so it does not get build for
REMOTE_ONLY.

BKrev: 4124b34apITy6n8Hvroi47or9yP9sw
3eb739d290c286684ede473608c3c6b2015557f6 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> (check_PROGRAMS_cdep): Move test-init-remote from check_PROGRAMS_common to here
so it doesn't get built in the REMOTE_ONLY-case.

(Logical change 1.252)
ests/Makefile.am
4980b53aaaf93365e974403e1a9952df85536b93 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> x86_64: Fix cross-compilation issue in src/x86_64/Gstep.c.

BKrev: 4124b26ei4ORPfaXUkGRYQfAPW_yVQ
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)
rc/x86_64/Gstep.c
43425a9beb7eca743b5f44264c75a83acd87ed8a 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> (Logical change 1.251)
rc/x86_64/ucontext_i.h
c0603a8ebceca9c11cb348325139f0dd40cea5f2 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Initial revision
rc/x86_64/ucontext_i.h
d16f71cd02dad6ddd0b5e2a216fa5193558b85fe 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> test-init-remote.c: Minor cleanup.

BKrev: 4124adb8ATfgjWXy37rwz5K3skLBdQ
95dea64712c5b1013ba07a14c8ae2fa453e13a82 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> (do_backtrace): Delete unused variable "pi".

(Logical change 1.250)
ests/test-init-remote.c
e407f9a7207f554abdec1ef60410ebbd54e62487 19-Aug-2004 ibm.com!masbock <ibm.com!masbock> Regenerate.

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

(Logical change 1.249)
akefile.am
onfigure.in
rc/Makefile.am
e9cb33eaa213ede71168cb146eb625791c330241 19-Aug-2004 ibm.com!masbock <ibm.com!masbock> Add initial x86-64 support.

BKrev: 4124ad7eUbGr3ZlILTvvJDtKKOCxBA
a766efd844260866e0d216f6eeef87f4593f60b2 19-Aug-2004 ibm.com!masbock <ibm.com!masbock> (Logical change 1.249)
nclude/libunwind-x86_64.h
nclude/tdep-x86_64.h
nclude/x86_64/dwarf-config.h
rc/x86_64/Gcreate_addr_space.c
rc/x86_64/Gget_proc_info.c
rc/x86_64/Gget_save_loc.c
rc/x86_64/Gglobal.c
rc/x86_64/Ginit.c
rc/x86_64/Ginit_local.c
rc/x86_64/Ginit_remote.c
rc/x86_64/Gis_signal_frame.c
rc/x86_64/Gregs.c
rc/x86_64/Gresume.c
rc/x86_64/Gstep.c
rc/x86_64/Lcreate_addr_space.c
rc/x86_64/Lget_proc_info.c
rc/x86_64/Lget_save_loc.c
rc/x86_64/Lglobal.c
rc/x86_64/Linit.c
rc/x86_64/Linit_local.c
rc/x86_64/Linit_remote.c
rc/x86_64/Lis_signal_frame.c
rc/x86_64/Lregs.c
rc/x86_64/Lresume.c
rc/x86_64/Lstep.c
rc/x86_64/init.h
rc/x86_64/is_fpreg.c
rc/x86_64/regname.c
rc/x86_64/siglongjmp.S
rc/x86_64/unwind_i.h
58e37267beb93d9ea5cb4da403f503a5aa4d842d 19-Aug-2004 ibm.com!masbock <ibm.com!masbock> Initial revision
nclude/libunwind-x86_64.h
nclude/tdep-x86_64.h
nclude/x86_64/dwarf-config.h
rc/x86_64/Gcreate_addr_space.c
rc/x86_64/Gget_proc_info.c
rc/x86_64/Gget_save_loc.c
rc/x86_64/Gglobal.c
rc/x86_64/Ginit.c
rc/x86_64/Ginit_local.c
rc/x86_64/Ginit_remote.c
rc/x86_64/Gis_signal_frame.c
rc/x86_64/Gregs.c
rc/x86_64/Gresume.c
rc/x86_64/Gstep.c
rc/x86_64/Lcreate_addr_space.c
rc/x86_64/Lget_proc_info.c
rc/x86_64/Lget_save_loc.c
rc/x86_64/Lglobal.c
rc/x86_64/Linit.c
rc/x86_64/Linit_local.c
rc/x86_64/Linit_remote.c
rc/x86_64/Lis_signal_frame.c
rc/x86_64/Lregs.c
rc/x86_64/Lresume.c
rc/x86_64/Lstep.c
rc/x86_64/init.h
rc/x86_64/is_fpreg.c
rc/x86_64/regname.c
rc/x86_64/siglongjmp.S
rc/x86_64/unwind_i.h
a543e2d83a67d5306e7a773b82fb44b6ce1d2717 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> dwarf: First round of DWARF2 fixes. This is borrows heavily from Max
Asbock patches.

BKrev: 41249c63OG9uVLuWVHOjTb8A7aczag
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)
rc/dwarf/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)
rc/dwarf/Gparser.c
rc/dwarf/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)
rc/dwarf/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)
rc/x86/Gstep.c
51298c5d23ac01c7bc142833cdf40eb3a5e6aa45 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.247)
onfigure
7bf54942febc0f2626ef2905b50cb14b8d885946 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate configure.

BKrev: 412498d2XjX0uRS_LB2TTuQXrN35Mg
1ba865a631c0839c785a487c18fcdbb4a90ed341 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.246)
rc/Makefile.in
14138a6e5e96753128641b675e5c8c915df106b5 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Make libunwind compliant with updated & extended ia64 unwind
specification defined by HJ Lu for GCC. This consists of changing
the library name to libunwind.so.7 and adding some aliases for
the C++-ABI-required _Unwind_*() routines.

BKrev: 412484c3fsUC5QNg0mbOGGNewhyOXg
66100609bb7fb01811e64318bec3018d0bc9abd5 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Add alias required by ia64 unwind specification.

(Logical change 1.246)
rc/unwind/Backtrace.c
rc/unwind/DeleteException.c
rc/unwind/FindEnclosingFunction.c
rc/unwind/ForcedUnwind.c
rc/unwind/GetBSP.c
rc/unwind/GetCFA.c
rc/unwind/GetDataRelBase.c
rc/unwind/GetGR.c
rc/unwind/GetIP.c
rc/unwind/GetLanguageSpecificData.c
rc/unwind/GetRegionStart.c
rc/unwind/GetTextRelBase.c
rc/unwind/RaiseException.c
rc/unwind/Resume.c
rc/unwind/Resume_or_Rethrow.c
rc/unwind/SetGR.c
rc/unwind/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)
rc/Makefile.am
78e2f938119aff9accce6e967388ade4f2f0d889 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> (ALIAS): New macro.

(Logical change 1.246)
nclude/internal.h
14042ee648e75db47ac6f9628b86755953567cdf 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> (AC_INIT): Change version from 0.97 to 0.98-alpha.

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

(Logical change 1.245)
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
0f818455ce1cd28bcd7602d194b5e29f6f61eba7 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> Initial revision
oc/unw_strerror.man
oc/unw_strerror.tex
rc/mi/strerror.c
ests/test-strerror.c
f4016fda43b935a41e741dfb6def0a7684b6f038 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> Add unw_strerror() convenience function.

Signed-off-by: Thomas Hallgren <thallgre@bea.com>
Signed-off-by: David Mosberger <davidm@hpl.hp.com>

BKrev: 412372deLr_hO_ZcnONAQ8FlYLYsZg
4b21fc9b3df908162484acf85c2d57999ba91358 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> (unw_strerror): Declare.

(Logical change 1.245)
nclude/libunwind-common.h
99681de066effe0bb28ad734f605eb33d269c3ad 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> (man3_MANS): Mention unw_strerror.man.
(EXTRA_DIST): Mention unw_strerror.tex.

(Logical change 1.245)
oc/Makefile.am
cb503ba4e5508eb0f87be2eebbdb2657469bb5ea 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> (libunwind_la_SOURCES_common): Mention mi/strerror.c.

(Logical change 1.245)
rc/Makefile.am
511d5428287c0be5796f4c3a65c570ae0cb7e7f0 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> (check_local_unw_abi): Check for _U${plat}_strerror().
(check_generic_unw_abi): Likewise.

(Logical change 1.245)
ests/check-namespace.sh.in
42a90f14d5b324e3b8cf5a98760b646d1d0706c3 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> (check_PROGRAMS_common): Mention test-strerror.

(Logical change 1.245)
ests/Makefile.am
48cc8c5712f2565c5f71cbff56019fa4f0f13776 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> (Logical change 1.245)
oc/unw_strerror.man
oc/unw_strerror.tex
rc/mi/strerror.c
ests/test-strerror.c
7556c9ae615770b26499280f233136e25d36e25d 18-Aug-2004 hp.com!davidm <hp.com!davidm> ia64: Fix another minor breakage from yesterday's big rename.

BKrev: 4123360e54IQsnA6vJTNpAs_5OMz4w
54b9ba95f974cf444bd5a6048391f1f0e92e0dc9 18-Aug-2004 hp.com!davidm <hp.com!davidm> Drop include of <libunwind.h> and #ifdef checks.

(Logical change 1.244)
rc/ia64/Linstall_cursor.S
90951df19445c47c77ce1bbc8c2f76255f54f6dd 18-Aug-2004 hp.com!davidm <hp.com!davidm> ia64: Fix bug in unw_init_remote(). Reported by Troy Heber.

BKrev: 41233464cDrSQA3_-dVt4AClHBl0cA
0588a0bcc3087de745f7b7eb796bf4307d6ff3df 18-Aug-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.243)
ests/Makefile.in
b71d3fd5d26a90a03be26cdf1614d475b9bdeb6e 18-Aug-2004 hp.com!davidm <hp.com!davidm> Initial revision
ests/test-init-remote.c
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)
rc/ia64/Ginit_remote.c
d5933d6e7424e175d04c86e4fd60cde517221f2b 18-Aug-2004 hp.com!davidm <hp.com!davidm> (check_PROGRAMS_common): Mention test-init-remote.

(Logical change 1.243)
ests/Makefile.am
f9a2d5dfd8d08a829621846cffc3f676c79483da 18-Aug-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.243)
ests/test-init-remote.c
ca1c8dcc9993c385fb4c92708ae1feab4111afad 18-Aug-2004 hp.com!davidm <hp.com!davidm> ia64: Fix up minor breakage introduced by yesterday's big rename.

BKrev: 412332e64idXo_pqOgO7ZWFv39rVaA
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)
rc/Makefile.am
fb83398cec29ac853075bee9bab1634b9324718c 18-Aug-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.242)
rc/Makefile.in
bc22c6ecf2c5f28840fbe154ff01f07260fd342b 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Update.

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

}(Logical change 1.241)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/Gexpr.c
b29905fdc9c5068a3a46b807f9edccb735bf31df 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

}(Logical change 1.241)
rc/dwarf/Lexpr-dwarf.c
rc/dwarf/Lfde-dwarf.c
rc/dwarf/Lparser-dwarf.c
rc/dwarf/Lpe-dwarf.c
rc/dwarf/Lstep-dwarf.c
rc/hppa/Lget_proc_info-hppa.c
rc/hppa/Lget_proc_name-hppa.c
rc/hppa/Lget_reg-hppa.c
rc/hppa/Linit-hppa.c
rc/hppa/Linit_local-hppa.c
rc/hppa/Lregs-hppa.c
rc/hppa/Lstep-hppa.c
rc/ia64/Lcreate_addr_space-ia64.c
rc/ia64/Lget_proc_info-ia64.c
rc/ia64/Lget_save_loc-ia64.c
rc/ia64/Lglobal-ia64.c
rc/ia64/Linit-ia64.c
rc/ia64/Linit_local-ia64.c
rc/ia64/Linit_remote-ia64.c
rc/ia64/Linstall_cursor-ia64.S
rc/ia64/Lis_signal_frame-ia64.c
rc/ia64/Lparser-ia64.c
rc/ia64/Lrbs-ia64.c
rc/ia64/Lregs-ia64.c
rc/ia64/Lresume-ia64.c
rc/ia64/Lscript-ia64.c
rc/ia64/Lstep-ia64.c
rc/ia64/Ltables-ia64.c
rc/ia64/mk_Lcursor_i-ia64.c
rc/x86/Lcreate_addr_space-x86.c
rc/x86/Lget_proc_info-x86.c
rc/x86/Lget_save_loc-x86.c
rc/x86/Lglobal-x86.c
rc/x86/Linit-x86.c
rc/x86/Linit_local-x86.c
rc/x86/Linit_remote-x86.c
rc/x86/Lis_signal_frame-x86.c
rc/x86/Lregs-x86.c
rc/x86/Lresume-x86.c
rc/x86/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/hppa/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/dwarf/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Lcreate_addr_space.c
34fa122ac275313047399baeb7adf832e24e44f1 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.241)
akefile.in
clocal.m4
onfigure
oc/Makefile.in
nclude/config.h.in
rc/Makefile.in
ests/Makefile.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)
rc/Makefile.am
c87c2c4e658f2299d1a17bc99e9df1921df9476c 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Big rename: Turn on subdir-objs option for automake as suggested by
Nicholas S. Wourms and drop filename postfixes accordingly.

BKrev: 41222584Tz8zI8NWBG66mt7b80nNOg
288382f1c8d6e8c98056d654a7aaea8df3320bb7 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> (Logical change 1.241)
onfig/compile
3f9d2e9c5c1cfde324c08204259b65f74b2746a1 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Initial revision
onfig/compile
rc/dwarf/Gexpr.c
rc/dwarf/Gfde.c
rc/dwarf/Gparser.c
rc/dwarf/Gpe.c
rc/dwarf/Gstep.c
rc/dwarf/Lexpr.c
rc/dwarf/Lfde.c
rc/dwarf/Lparser.c
rc/dwarf/Lpe.c
rc/dwarf/Lstep.c
rc/dwarf/global.c
rc/hppa/Gget_proc_info.c
rc/hppa/Gget_proc_name.c
rc/hppa/Gget_reg.c
rc/hppa/Ginit.c
rc/hppa/Ginit_local.c
rc/hppa/Gregs.c
rc/hppa/Gstep.c
rc/hppa/Lget_proc_info.c
rc/hppa/Lget_proc_name.c
rc/hppa/Lget_reg.c
rc/hppa/Linit.c
rc/hppa/Linit_local.c
rc/hppa/Lregs.c
rc/hppa/Lstep.c
rc/hppa/get_accessors.c
rc/hppa/global.c
rc/hppa/siglongjmp.S
rc/hppa/tables.c
rc/ia64/Gglobal.c
rc/ia64/Grbs.c
rc/ia64/Gtables.c
rc/ia64/Lglobal.c
rc/ia64/Lrbs.c
rc/ia64/Ltables.c
rc/ia64/dyn_info_list.S
rc/ia64/getcontext.S
rc/ia64/mk_Gcursor_i.c
rc/ia64/mk_Lcursor_i.c
rc/ia64/regname.c
rc/ia64/setjmp.S
rc/ia64/siglongjmp.S
rc/ia64/sigsetjmp.S
rc/x86/Gcreate_addr_space.c
rc/x86/Gget_proc_info.c
rc/x86/Gget_save_loc.c
rc/x86/Gglobal.c
rc/x86/Ginit.c
rc/x86/Ginit_local.c
rc/x86/Ginit_remote.c
rc/x86/Gis_signal_frame.c
rc/x86/Gregs.c
rc/x86/Gresume.c
rc/x86/Gstep.c
rc/x86/Lcreate_addr_space.c
rc/x86/Lget_proc_info.c
rc/x86/Lget_save_loc.c
rc/x86/Lglobal.c
rc/x86/Linit.c
rc/x86/Linit_local.c
rc/x86/Linit_remote.c
rc/x86/Lis_signal_frame.c
rc/x86/Lregs.c
rc/x86/Lresume.c
rc/x86/Lstep.c
rc/x86/is_fpreg.c
rc/x86/regname.c
rc/x86/siglongjmp.S
517b27486797c5a953a77f0f2a38bebd99e9fc5b 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> (AM_INIT_AUTOMAKE): Require at least automake 1.6 and turn on subdir-objects option.
(AM_PROG_CC_C_O): New macro call.

(Logical change 1.241)
onfigure.in
bba579e2771e835d7bd08b978342c978f825b30f 05-Aug-2004 (none)!davidm <(none)!davidm> Replace '%%' with '%' inside verbatim.

(Logical change 1.240)
oc/libunwind.tex
947c5203b9c02969acc463835955940af4737337 05-Aug-2004 (none)!davidm <(none)!davidm> Regenerate.

(Logical change 1.240)
oc/libunwind-dynamic.man
oc/libunwind-ia64.man
oc/libunwind-ptrace.man
oc/libunwind-setjmp.man
oc/libunwind.man
oc/unw_create_addr_space.man
oc/unw_destroy_addr_space.man
oc/unw_flush_cache.man
oc/unw_get_accessors.man
oc/unw_get_fpreg.man
oc/unw_get_proc_info.man
oc/unw_get_proc_info_by_ip.man
oc/unw_get_proc_name.man
oc/unw_get_reg.man
oc/unw_init_local.man
oc/unw_init_remote.man
oc/unw_is_signal_frame.man
oc/unw_resume.man
oc/unw_set_caching_policy.man
oc/unw_set_fpreg.man
oc/unw_set_reg.man
oc/unw_step.man
d974e6b0787acccb8497e6d58725b2dae17ebfeb 05-Aug-2004 (none)!davidm <(none)!davidm> Fix manual pages so pdf-generation works again.

BKrev: 4111f70dz1k6XRNog0CzNmTzU3yQGQ
1666651f03cda39d3a30cdec9b38884b6db94a82 05-Aug-2004 (none)!davidm <(none)!davidm> Drop bogus '\end{Description}'.

(Logical change 1.240)
oc/unw_destroy_addr_space.tex
ad728f97cd9b264462c96612a134bb700aa5233b 05-Aug-2004 (none)!davidm <(none)!davidm> Add missing backslashes.

(Logical change 1.240)
oc/libunwind-ptrace.tex
oc/unw_create_addr_space.tex
oc/unw_get_proc_info.tex
oc/unw_set_caching_policy.tex
c6a529d39042497c007839924f99766e75ce5eef 15-Jul-2004 hp.com!davidm <hp.com!davidm> mvdir

}(Logical change 1.239)
ux/depcomp
ux/install-sh
ux/missing
ux/mkinstalldirs
074538d3567de5989384247be6fa2077f65f7cb7 15-Jul-2004 hp.com!davidm <hp.com!davidm> mvdir

(Logical change 1.239)
onfig/config.guess
onfig/config.sub
onfig/depcomp
onfig/install-sh
onfig/ltmain.sh
onfig/missing
onfig/mkinstalldirs
bc66829136208535abdd046592a32beb80124383 15-Jul-2004 hp.com!davidm <hp.com!davidm> Rename "aux" directory to "config". The former is a reserved name
on MS-DOS and Microsoft Windows. Reported by Thomas Hallgren.

BKrev: 40f6c16fLm1TFtIGDddCIyS2tul8CA
16230294973478ce572122dc05015580b400d5e0 15-Jul-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.239)
akefile.in
clocal.m4
onfigure
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
2b5f23748913326b77b99f3f82bed59072aec021 15-Jul-2004 hp.com!davidm <hp.com!davidm> Initial revision
onfig/config.guess
onfig/config.sub
onfig/depcomp
onfig/install-sh
onfig/ltmain.sh
onfig/missing
onfig/mkinstalldirs
f797563bcb25815df8e042f39140935f4c328179 15-Jul-2004 hp.com!davidm <hp.com!davidm> - Make a note that we can avoid using unique filenames by playing
with AUTOMAKE_OPTIONS, as pointed out by Nicholas Wourms.

(Logical change 1.239)
ODO
e304af835f8ed62688d1a5715660099ab1047424 15-Jul-2004 hp.com!davidm <hp.com!davidm> (AC_CONFIG_AUX_DIR): Rename from "aux" to "config".

(Logical change 1.239)
onfigure.in
50c6b60d1058cc94fcbfc08f926df257fa41e89c 29-Jun-2004 hp.com!davidm <hp.com!davidm> Fix bug reported by Mark Young: scan_dec() and scan_char() could
accidentaly skip over the terminating NUL character, which could lead
to segfaults.

BKrev: 40e10547cvzCgXscsC28967WWnd0Vw
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)
rc/os-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)
rc/ptrace/_UPT_get_dyn_info_list_addr.c
3a38dbb29990c40c4cecc0520a4dd7216fe79238 19-Jun-2004 hp.com!davidm <hp.com!davidm> (_UPT_get_dyn_info_list_addr): Patch by Ed Connell: Fix a
memory/file-descriptor leak in the error-return path.

BKrev: 40d3d9047ckPvYZ3GxOuxyJw3viMzg
5772ea8f94d08fc8e3ebe7dd141218a681cab886 12-May-2004 hp.com!davidm <hp.com!davidm> Change %Z format specifier to %z. The former was a glibc5 extension,
the latter is what ANSI C99 specifies.

BKrev: 40a28f20HSY1ym00ZiIyxnXlXKNbRQ
3fd2b8adfad1cbd7b9524af041ac276163ac74ec 12-May-2004 hp.com!davidm <hp.com!davidm> (get_kernel_table): Change %Zu to %zu.

(Logical change 1.236)
rc/ia64/Gtables-ia64.c
7886a0d946b4da4b268c967881ca41ac9fac6be4 12-May-2004 hp.com!davidm <hp.com!davidm> (create_func): Change %Zu to %zu.

(Logical change 1.236)
ests/ia64-test-dyn1.c
29cf97a0d066074bc53775064afe45da3fcab501 07-May-2004 hp.com!davidm <hp.com!davidm> Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/05/06 15:58:15-07:00 hp.com!davidm
ia64: Fix some cross-build issues.

BKrev: 409ad8bfCC8WpY2fO24_0-uUw0Cz2w
e9e2c8cc5faf973c7bb1f53edad0ee44fc91c9cf 07-May-2004 hp.com!davidm <hp.com!davidm> Auto merged

2004/05/06 15:58:14-07:00 hp.com!davidm
ia64: For remote-only-case, don't expect to find _Uia64_get_elf_image9) or
_Uia64_get_kernel_table().

(Logical change 1.235)
42ad02a78e8dc8710f16fbc983755034daa0ece7 07-May-2004 hp.com!davidm <hp.com!davidm> Auto merged

2004/05/06 15:58:14-07:00 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.235)
72a03113c88e9bd365d3283ffd97f6972c9edcab 07-May-2004 hp.com!davidm <hp.com!davidm> ia64: For remote-only-case, don't expect to find _Uia64_get_elf_image9) or
_Uia64_get_kernel_table().

(Logical change 1.234)
ests/check-namespace.sh.in
13c17351736c3a618e64d2ea37aa7bdc3dd8aa06 07-May-2004 hp.com!davidm <hp.com!davidm> ia64: Fix some cross-build issues.

BKrev: 409ad8a3dp4h4fZsFPhVfdvKGUFioA
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)
rc/ia64/Gtables-ia64.c
364a112ddd5c335330bca1a07aef9f24953154c3 07-May-2004 hp.com!davidm <hp.com!davidm> x86: Various minor distribution & build fixes.

BKrev: 409ab5d87ii6FrgZ9g4rsxehvuv9fg
759275ac87246485697627a1400c0bba983d9663 07-May-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.233)
akefile.in
rc/Makefile.in
30649af75a17501565e5d649344d37bcaa0ba87c 07-May-2004 hp.com!davidm <hp.com!davidm> Pass arguments along to check-namespace.sh.

(Logical change 1.233)
ests/run-check-namespace
d7f8bd62d4dc0bfd3b43df9248e60d0549f98e7b 07-May-2004 hp.com!davidm <hp.com!davidm> Add x86-specific checks.

(Logical change 1.233)
ests/check-namespace.sh.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)
rc/x86/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)
rc/Makefile.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)
rc/ptrace/_UPT_get_dyn_info_list_addr.c
55ea19fa91bad1b60acc2570f807d2b0ff22f4bd 07-May-2004 hp.com!davidm <hp.com!davidm> (EXTRA_DIST): Mention dwarf_i.h and x86/dwarf-config.h.

(Logical change 1.233)
akefile.am
f4b739b33c09d625d18e91f0df10e152077fe89d 06-May-2004 hp.com!davidm <hp.com!davidm> Fix two test-cases.

BKrev: 409aaa01f61zJivcmSNCYhfxSRPOiQ
683c9b411725315d160eb64e95918729e3ded2b6 06-May-2004 hp.com!davidm <hp.com!davidm> (main): Remove unused variable "i".

(Logical change 1.232)
ests/Gia64-test-readonly.c
9fb355e096eef9a2f005e896727d25a5d4ed0141 06-May-2004 hp.com!davidm <hp.com!davidm> (depth): New global variable.
(raise_exception): Make non-static, unwind "depth - 1" steps to get to
top-most a() frame.
(__builtin_ia64_bsp): Also define for Intel-compiler.
(a): Restructure so it works in the face of global optimization and also
remove GCC dependencies.
(main): Initialize depth based on argv[1].

(Logical change 1.232)
ests/Gtest-exc.c
4280d5c8609148877ab618b94e1f36c15e6d124a 06-May-2004 hp.com!davidm <hp.com!davidm> ia64: Add {G,L}ia64-test-readonly to verify that read-only registers are
handled correctly.

BKrev: 409a9f75q6aicP3iE1AdjNjFis70Yw
d5c1bfe77230320e377d6e23e47189989b53d2ad 06-May-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.231)
ests/Makefile.in
de2a42042ee5a18185a83435b67bc51cb3874ba9 06-May-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.231)
ests/Gia64-test-readonly.c
ests/Lia64-test-readonly.c
ests/ia64-test-readonly-asm.S
9427f8eae40ad52ebfb1e83a4ebdc936021c6961 06-May-2004 hp.com!davidm <hp.com!davidm> Initial revision
ests/Gia64-test-readonly.c
ests/Lia64-test-readonly.c
ests/ia64-test-readonly-asm.S
86bef150e46c58d988e5cfe4f194eb2a53062d19 06-May-2004 hp.com!davidm <hp.com!davidm> (check_PROGRAMS_cdep): Mention Gia64-test-readonly and Lia64-test-readonly.
(Lia64_test_readonly_SOURCES): New macro.
(Gia64_test_readonly_SOURCES): Likewise.

(Logical change 1.231)
ests/Makefile.am
7c067cc6e5e82d8e6307d4da8156383929e64762 06-May-2004 hp.com!davidm <hp.com!davidm> ia64: Fix typo which caused f0 and f1 to be mishandled.

BKrev: 409a9f25FiUffqi9g5Hpq_3NT2I7cw
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)
rc/ia64/Gscript-ia64.c
5db79b888d310e0e937dad23d08838166323fe33 06-May-2004 hp.com!davidm <hp.com!davidm> ia64: Reject write-accesses to read-only save-locations (such as the ones
used for r0, f0, and f1).

BKrev: 409a9ee15H11A3zO-XAg3vnbs1j7yw
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)
rc/ia64/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)
rc/ia64/Gglobal-ia64.c
6a269233f8cdecaa9da8964fef6b4b60f2054bd4 06-May-2004 hp.com!davidm <hp.com!davidm> (struct ia64_global_unwind_state): Group together in a single struct the
read-only registers whose addresses may be used as save-locations.

(Logical change 1.229)
nclude/tdep-ia64.h
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)
rc/ia64/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)
rc/ia64/Ginit-ia64.c
ec634b320ca51d27ed6887c26cf777a63f5201e5 06-May-2004 mostang.com!davidm <mostang.com!davidm> ia64: Consistently uses IA64_IS_NULL_LOC() to check for accesses
to unsaved registers.

BKrev: 4099b513AtYb85kcjfICyjQT0nZ5VQ
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)
rc/ia64/unwind_i.h
80c84ea91f43c32822a52f006be197ba68afebf6 05-May-2004 mostang.com!davidm <mostang.com!davidm> ia64: Still more HP-UX cleanups/fixes.

BKrev: 40987598xCnZpza9cq68aqmBaimmTw
7b989938b7fd555ef4bfb6831652ff5b25d9aaad 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.227)
rc/Makefile.in
ests/Makefile.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)
rc/Makefile.am
74b22fed4c362ef7f17bc534acf03a8590058869 05-May-2004 mostang.com!davidm <mostang.com!davidm> (check_generic_unw_abi): Check for _U${plat}_get_kernel_table() on
linux only.

(Logical change 1.227)
ests/check-namespace.sh.in
0c8baa7a79b686afef5ef6c853ff08e24085640a 05-May-2004 mostang.com!davidm <mostang.com!davidm> (EXTRA_DIST): Also mention run-check-namespace.

(Logical change 1.227)
ests/Makefile.am
defb88936c51c1c0e0c6004da9b77b3a3fc85952 05-May-2004 mostang.com!davidm <mostang.com!davidm> ia64: Fix build-warning.

BKrev: 40984a88k5MRrEoz8Sr2WNlBj9CWuQ
2d2129a5bc71e8c6574896e7c6981b046fc886ab 05-May-2004 mostang.com!davidm <mostang.com!davidm> (sighandler): Adjust for <asm/rse.h> -> <ia64/rse.h> changes.

(Logical change 1.226)
ests/Gia64-test-nat.c
f1c025e957f819d584f1718cf99cfe1829683d96 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.e

(Logical change 1.225)
oc/Makefile.in
542e026ae444a205c1b14b156131eb0959a66a18 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.225)
akefile.in
onfigure
rc/Makefile.in
ests/Makefile.in
3640bb40a264ce250153f5463e2ad24b16e94205 05-May-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.225)
ests/check-namespace.sh.in
ests/run-check-namespace
3db9cf3812456a39527d52850a52e28acc53d796 05-May-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/check-namespace.sh.in
ests/run-check-namespace
023e73b466976597cc8e69033964c1e7c0d8d25b 05-May-2004 mostang.com!davidm <mostang.com!davidm> Add a script to check name-space correctness.

BKrev: 40984a54-u0zsdWHIpf-Yx-bjnRrxw
cc090ec048cc1d070d0dcffd3476c684cbd67a8b 05-May-2004 mostang.com!davidm <mostang.com!davidm> (build_arch): Substitute it.
(target_os): Likewise.
(AC_CONFIG_FILES): Mention tests/check-namespace.sh.


(Logical change 1.225)
onfigure.in
5a468e30cc96f1bad3af61ec19395496e01feeea 05-May-2004 mostang.com!davidm <mostang.com!davidm> (EXTRA_DIST): Mention check-namespace.sh.in.
(check_SCRIPTS_common): Mention run-check-namespace.

(Logical change 1.225)
ests/Makefile.am
88b9c7576c913849452b44f8308a9fc702e190e9 05-May-2004 mostang.com!davidm <mostang.com!davidm> x86: Make tests/test_proc_info work again. Fix it so it compiles
for UNW_REMOTE_ONLY as well.

BKrev: 4098496dcVoLUoK_6Jmtra1DHkIKXQ
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)
rc/x86/Gstep-x86.c
582cfb1e6298406bf5257593c8441a839db71d1f 05-May-2004 mostang.com!davidm <mostang.com!davidm> (tdep_find_proc_info): Expand into dwarf_find_proc_info() only
when UNW_LOCAL_ONLY is defined. Otherwise, expand
into call via address-space's find_proc_info() callback.
(tdep_put_unwind_info): Likewise. Delete bogus prototype.

(Logical change 1.224)
nclude/tdep-x86.h
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)
rc/dwarf/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)
rc/dwarf/Gparser-dwarf.c
f2b40607fd63b439420f06dd49a91ed67bb28f2d 05-May-2004 mostang.com!davidm <mostang.com!davidm> Update sections on HP-UX.

(Logical change 1.223)
EADME
bd193e05094c3d04204b129a4f4724341129a269 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.223)
ests/Makefile.in
3655b207485f2e7c811bd94a5933d73d81b2c1ff 05-May-2004 mostang.com!davidm <mostang.com!davidm> Minor build & distribution fixes.
Update HP-UX-portion of READAME.

BKrev: 40981832BM-GQPpS-xkPILQFlEirMQ
2cc4674137a5e30f60d8d2fd304eed3de97b9da9 05-May-2004 mostang.com!davidm <mostang.com!davidm> Add forgotten copyright notice.

(Logical change 1.223)
rc/ia64/regs.h
4de259b49f0162cf3cc9c86d9bc16a8de96ef693 05-May-2004 mostang.com!davidm <mostang.com!davidm> (EXTRA_DIST): Mention run-ptrade-mapper.
(test_static_link_LDFLAGS): Replace -all-static with -static.
The former doesn't work on HP-UX because libc doesn't appear
to be availabale in archive format (only libc.so is available).
(forker_LDFLAGS): Likewise.

(Logical change 1.223)
ests/Makefile.am
21aaab5fdd5b30ce5b5b236c48b3c20c57d39792 05-May-2004 mostang.com!davidm <mostang.com!davidm> ia64: Enable "make check" for HP-UX.

BKrev: 409816e6EMjNyLoXqbrdWeBt3GZsuA
dfdbabd3fe48c91b764a8b78db414780b34b3ecf 05-May-2004 mostang.com!davidm <mostang.com!davidm> When generating L-files in the tests/ subdirectory, compile the file
even when UNW_LOCAL_ONLY is not defined anymore after including
<libunwind.h>.

(Logical change 1.222)
cripts/make-L-files
823c634376f4f6bdf50f3923861fdea3000dd7b1 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.222)
ests/Lia64-test-nat.c
ests/Lia64-test-rbs.c
ests/Lia64-test-stack.c
ests/Lperf-simple.c
ests/Ltest-concurrent.c
ests/Ltest-dyn1.c
ests/Ltest-exc.c
ests/Ltest-init.cxx
ests/Ltest-resume-sig.c
ba424722dbe011025ac9dd458dd7fbfa1efe98ae 05-May-2004 mostang.com!davidm <mostang.com!davidm> (main): If HAVE_TTRACE is defined, fail unconditionally.

(Logical change 1.222)
ests/test-ptrace.c
6cc7f0a9a8b021a5173a58cae49557559941d9fc 05-May-2004 mostang.com!davidm <mostang.com!davidm> ia64: Move "rse.h" from src/ia64 to include/ia64 where test-programs
can get to it. Add HP-UX support to Gia64-test-nat.c.

BKrev: 40981659lkdXA0yXyu-SQvBA_c6hPg
52c2da7b5eb4362754f0e2f8e743d8b10bedb092 05-May-2004 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/rse.h -> include/ia64/rse.h

}(Logical change 1.221)
rc/ia64/rse.h
aa00843a307d8c9620b0762f173131cedbb3d6c7 05-May-2004 mostang.com!davidm <mostang.com!davidm> Rename: src/ia64/rse.h -> include/ia64/rse.h

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

(Logical change 1.221)
akefile.in
rc/Makefile.in
2768b34dbe22fff0b3b1b47afa5e99f60ebba03b 05-May-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
nclude/ia64/rse.h
6fbd639ea8e69589b07f26b6fb18c887b185b047 05-May-2004 mostang.com!davidm <mostang.com!davidm> Include "ia64/rse.h" instead of <asm/rse.h>. The latter is
Linux-specific.
Include <sys/uc_access.h> if available.
(NELEMS): Delete (already defined in internal.h).
(all_funcs): Remove left-over #if 1 directives.
(sighandler): Add HP-UX support.
(enable_sighandler): Replace SA_NOMASK with SA_NODEFER. The former
is not available on HP-UX.
(disable_sighandler): Likewise.

(Logical change 1.221)
ests/Gia64-test-nat.c
8045a438de919dc47c951040587aca58f169b1d1 05-May-2004 mostang.com!davidm <mostang.com!davidm> Include "ia64/rse.h" instead of "rse.h".

(Logical change 1.221)
rc/ia64/Gget_save_loc-ia64.c
rc/ia64/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)
rc/ia64/Ginit_local-ia64.c
rc/ia64/Ginit_remote-ia64.c
rc/ia64/Gregs-ia64.c
rc/ia64/Gresume-ia64.c
rc/ia64/Gscript-ia64.c
rc/ia64/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)
rc/Makefile.am
4a33190ccbd0e4d4dea6cfffe09b46044da01055 05-May-2004 mostang.com!davidm <mostang.com!davidm> (EXTRA_DIST): Mention incluide/ia64/rse.h.

(Logical change 1.221)
akefile.am
1b54b9edbe9171fdd841276ae3df4a6019bccd19 04-May-2004 mostang.com!davidm <mostang.com!davidm> ia64: Make HP-UX work better again by using getcontext() instead of
_Uia64_getcontext().

BKrev: 4097f98apnrKvqaLGtwlb3SGHwc5YQ
ad6f2319b966f0464c0651e9a5d459570d500988 04-May-2004 mostang.com!davidm <mostang.com!davidm> (unw_tdep_getcontext): On HP-UX, use getcontext() instead of
_Uia64_getcontext().

(Logical change 1.220)
nclude/libunwind-ia64.h
43ccdff0d92f9c6e61d35b27d722129a9a1b795f 04-May-2004 mostang.com!davidm <mostang.com!davidm> Delete: tests/verify.c

}(Logical change 1.219)
ests/verify.c
0e008e268fa86017a5dd3928ce4485eba8d66b95 04-May-2004 mostang.com!davidm <mostang.com!davidm> Be more careful to use unw_context_t instead of ucontext_t where
appropriate. Delete unused tests/verify.c. Tidy up comment.

BKrev: 4097f953KumJrq2VaH2XiLXb9X-ASQ
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)
rc/ia64/Ginit_local-ia64.c
907e49826ad4fd79d19851dc79bd972fd70996d8 04-May-2004 mostang.com!davidm <mostang.com!davidm> (test_local): Use unw_context_t instead of ucontext_t.

(Logical change 1.219)
ests/test-static-link-loc.c
4ff8fff57cabd2205c87ede408a1354a47e9f567 04-May-2004 mostang.com!davidm <mostang.com!davidm> (test_generic): Use unw_context_t instead of ucontext_t.

(Logical change 1.219)
ests/test-static-link-gen.c
6c50e90402ef3d5ecbd3a406d41f8a25a5f7288f 04-May-2004 mostang.com!davidm <mostang.com!davidm> (remote_install_cursor): Tidy up #endif comment.

(Logical change 1.219)
rc/ia64/Gresume-ia64.c
e3413b42674279199272044ca83a57361e94aac6 28-Apr-2004 mostang.com!davidm <mostang.com!davidm> Merge bk://unwind@bkbits.net/libunwind
into panda.mostang.com:/data/home/davidm/src/unwind/libunwind

2004/04/27 21:54:13-07:00 mostang.com!davidm
ia64: Get HP-UX support closer to working again.

BKrev: 408f38f9u6udDAVV71zu2rJoDjYL8g
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)
rc/ia64/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)
rc/ptrace/_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)
rc/ia64/Ginit-ia64.c
f04e4ef460772cbec16d3262d752b1840b459587 28-Apr-2004 hp.com!davidm <hp.com!davidm> Set version number to 0.97.

(Logical change 1.217)
onfigure.in
75f19903fac01b762b23743837a50fd58a5680c2 28-Apr-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.217)
akefile.in
onfigure
rc/Makefile.in
1f719df162744e7ba999891d29611665936f240b 28-Apr-2004 hp.com!davidm <hp.com!davidm> Fix Makefile bugs and prepare configure.in for 0.97 release.

BKrev: 408f366dqGz-j-WY_bkVXJ-MSQf4Gg
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)
rc/Makefile.am
dfba455dcd033ccf7aa80c2ad0c41bf7b80752c8 28-Apr-2004 hp.com!davidm <hp.com!davidm> (EXTRA_DIST): Mention include/remote.h.

(Logical change 1.217)
akefile.am
d5e6a727dc9d877a68d7629fb546c67dbde069be 28-Apr-2004 mostang.com!davidm <mostang.com!davidm> libunwind-dynamic.h: Avoid the use of C99-style initializers in
installed header-files. Doing so may cause problems with C++ or older
C compilers. Reported by Todd Miller.

BKrev: 408f07d2qDnIwg72NHq9Am6fxd8F9g
c5c4fc991c69a4b30863084b2f44d2b191c4a8d5 28-Apr-2004 mostang.com!davidm <mostang.com!davidm> (_U_dyn_op): Avoid the use of C99-style initializers in installed
header-files. Doing so may cause problems with C++ or
older C compilers. Reported by Todd Miller.

(Logical change 1.216)
nclude/libunwind-dynamic.h
2d4190ece4d578c0fae8cedc9d7d512aefb35e25 23-Apr-2004 (none)!davidm <(none)!davidm> Update README and NEWS.

BKrev: 4088723b8CGQ1hKbD77gmMUFufmj4A
e9892bb477436e60f1d5e00aae1560afa3fe9e74 23-Apr-2004 (none)!davidm <(none)!davidm> Update Intel-compiler info and put in caveat about GCC 3.4.0.

(Logical change 1.215)
EADME
0682579ad67b404b0e0ceb89e869c7eb79f30ff3 23-Apr-2004 (none)!davidm <(none)!davidm> Fill in info for v0.9-v0.97.

(Logical change 1.215)
EWS
7d357aefa3ddacb5121211985872d3c8710318dc 23-Apr-2004 (none)!davidm <(none)!davidm> ia64: Minor fixups to avoid warnings when cross-compiling from 32-bit platform.

BKrev: 408872031MDv0XyyKwtI0Y7sx-xtmA
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)
rc/ia64/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)
rc/ia64/unwind_i.h
40cba8cd5937f096dee91e66167cb8d0f458bdb5 23-Apr-2004 hp.com!davidm <hp.com!davidm> Minor fixes/workarounds to get a clean compile with Intel icc v8.0.

BKrev: 40885f8398CpOn7m79GYUEEvMz-4bg
3ff119aa1d534defe8d9378f3fd266d0bea10e04 23-Apr-2004 hp.com!davidm <hp.com!davidm> (put_unwind_info): New function.
(resume): Likewise.
(nop): Remove.
(main): Don't cast function pointer to different prototypes. That's apparently
not allowed. icc v8.0 complains about it and GCC 3.5 will actually
generate crashing code when this is done. Talk about terminated with
extreme prejudice!

(Logical change 1.213)
ests/test-proc-info.c
9a9618401f2bb30325617355698eec54d45a3ace 23-Apr-2004 hp.com!davidm <hp.com!davidm> (mutex_init): Explicitly test function-pointer against 0 since that avoids
a compiler-warning from icc v8.0.
(mutex_lock): Likewise.
(mutex_unlock): Likewise.

(Logical change 1.213)
nclude/internal.h
d0de2830844e241e451e32077f79e5ed9d643476 23-Apr-2004 hp.com!davidm <hp.com!davidm> (check_static_to_scratch): Remove extraneous printf-argument found by icc v8.0.

(Logical change 1.213)
ests/Gia64-test-nat.c
cfa7f11cb986dd4b047dffd060f4c7d5c5ccf0ed 23-Apr-2004 mostang.com!davidm <mostang.com!davidm> Work around Intel 8.0 compiler-bug triggered by mi/mempool.c.

BKrev: 40884905E5q8HZMFhk-9rM2PBPlG4A
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)
rc/mi/mempool.c
f4fc60d3719ff74530b84f206b98131993ad7810 22-Apr-2004 hp.com!davidm <hp.com!davidm> ia64: Fix bug in ia64_install_cursor() which caused a failure in
test-setjmp when using the Intel compiler.

BKrev: 4087138711PmSVR167P58Y4tj3fogg
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)
rc/ia64/Ginstall_cursor-ia64.S
c9a01bf094192594f3cae1c5ff5ab116f00ea635 22-Apr-2004 hp.com!davidm <hp.com!davidm> (MAX_FUNC_SIZE): New macro.
(main): Use MAX_FUNC_SIZE instead of open-coding 256 bytes.

(Logical change 1.210)
ests/Gtest-dyn1.c
18617ecf2cb1527c34af05f85dc3019ff31de346 22-Apr-2004 hp.com!davidm <hp.com!davidm> (Gtest-dyn1): Allow for the clone function to be up to 2048 bytes (up from
256 bytes). Unoptimized code (-O0) with the Intel compiler is BIG.

BKrev: 408707c9_BfpTjnPLMGSNd6zWc5xng
c9cf3d788f4f164ec930b9cf05f892f1ceeb61b8 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> linux: Fix maps_init()/maps_next()/maps_close() some more.
Add a new test-program (run-ptrace-mapper) to verify that
libunwind-ptrace works efficiently even with processes that
have a huge number of mappings.

BKrev: 408621b3qdO9KMlaho6e4a-yJ0oeNA
f20b7f838a853d1d652637a3d6306639e1b3f162 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.209)
ests/Makefile.in
3e718ea00430a1c63819135e848bde86c23f63c8 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.209)
ests/mapper.c
ests/run-ptrace-mapper
35c9f15ab7dc611f0ade446cb0d3436c98dae912 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/mapper.c
ests/run-ptrace-mapper
a4bd80c748fb0afa386d1dcca8f1acc4fe5ef4b0 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (print_names): New global.
(do_backtrace): Call unw_get_proc_name() only if print_names is TRUE.
(main): Support command-line option -c to turn on caching of
unwind-info and -n to turn off the printing (and lookup)
of symbol names.
Stop execution if child dies with a signal.

(Logical change 1.209)
ests/test-ptrace.c
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)
rc/os-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)
rc/ia64/Gscript-ia64.c
c2b94e1e465dd9e84c03bbbd0f30328baede1ebd 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (common_init): Whitespace fix.

(Logical change 1.209)
rc/ia64/init.h
6cb58ac940bac939e9b8a7e998b927086df7d37d 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (check_SCRIPTS_cdep): Mention run-ptrace-mapper.
(noinst_PROGRAMS_cdep): Mention mapper.

(Logical change 1.209)
ests/Makefile.am
58d140ec777c7cca2fe99ce7726f55e9052b27ac 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> linux: Fix a performance bug in os-linux.h which causes
libunwind-ptrace to perform horribly slow if /proc/PID/maps
contains many entries.

BKrev: 4085f0d6OOG9Vk-JUd_47gIfOWZo2w
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)
rc/os-linux.h
6840f3c057cd091f926688030d361f391e4e3508 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> Allow libunwind to be built without any optimization.
This means that it will no longer be possible to validate at
link-time certain assertions. Instead, there will be assertion
failures at library initialization-time when debugging is enabled
(--enable-debug).

BKrev: 4085b66419Dvy85nlRH9SBgwMxz62g
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)
rc/ia64/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)
rc/mi/init.c
2212940f59981ad90d459208f60d1b68dfc8744d 21-Apr-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.206)
akefile.in
01d61e66afe136f2928f2e2b2ff0705541ad5f4d 21-Apr-2004 hp.com!davidm <hp.com!davidm> Make sure libunwind-ptrace.h gets installed. Noticed by Stephane
Eranian.

BKrev: 4085aeads95DstN8oo3DPIA9_FNG5g
e5863bcee7fcf66538826d21ea5089363ab86271 21-Apr-2004 hp.com!davidm <hp.com!davidm> (include_HEADERS_common): Mention libunwind-ptrace.h.

(Logical change 1.206)
akefile.am
758078fb0071877c5b18b40e81126c4794e21e95 20-Apr-2004 hp.com!davidm <hp.com!davidm> Update in preparation for 0.97 release.

(Logical change 1.205)
EADME
2de1768e5207824550299a0d888f76e4bf653d8a 20-Apr-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.205)
akefile.in
clocal.m4
onfigure
oc/Makefile.in
oc/unw_get_proc_info_by_ip.man
oc/unw_init_remote.man
nclude/config.h.in
rc/Makefile.in
a25f2e098cb6ab9d4395b5d9879f79a6b07fdb13 20-Apr-2004 hp.com!davidm <hp.com!davidm> Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/04/20 09:53:04-07:00 hp.com!davidm
Improve compatibility with Intel v8.x compiler and the libunwind is
comes with.

BKrev: 408555980lwJMVxSNtaDV9gAnwbnRA
36c7442db32c9c9d37fc4bb5999623a2fd443a0b 20-Apr-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.205)
rc/mi/_ReadSLEB.c
rc/mi/_ReadULEB.c
662957d58507531c09e104c5637351b1b3be319c 20-Apr-2004 hp.com!davidm <hp.com!davidm> Initial revision
rc/mi/_ReadSLEB.c
rc/mi/_ReadULEB.c
aa29b98f1d833f9747629ef989a94bfd54473f9d 20-Apr-2004 hp.com!davidm <hp.com!davidm> Check for dl_phdr_removals_counter.
Check whether compiler supports -static-libcxa option (needed when
building the shared objects with the Intel 8.x compiler).
(LDFLAGS_STATIC_LIBCXA): Substitute its value.

(Logical change 1.205)
onfigure.in
a9217ee2dfad2ff28055b089a564886c5d1f541e 20-Apr-2004 hp.com!davidm <hp.com!davidm> Auto merged

2004/04/20 09:53:04-07:00 hp.com!davidm
Regenerate.

(Logical change 1.205)
ests/Makefile.in
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)
rc/ia64/Gtables-ia64.c
deb3c645a478b741d8616e1a66a3ace70df14c76 20-Apr-2004 hp.com!davidm <hp.com!davidm> Auto merged

2004/04/20 09:53:04-07:00 hp.com!davidm
(forker_LDFLAGS): Mention -all-static.

(Logical change 1.205)
ests/Makefile.am
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)
rc/mi/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)
rc/Makefile.am
12191a02ac0ecc95576f0e28792adf120a5ef3a9 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> tests: Add test-async-sig.c to check for async-signal safety.

BKrev: 406bcea9dU2-V-_86YWfP_uDklkSxw
b9c2ed48de8e15a236a22f7a2601aedf1b7080a2 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.204)
ests/Makefile.in
4471c1e8c3958dc55e4abb0de5c5a8e69fe0a765 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.204)
ests/test-async-sig.c
4cda328838ff47a18e51519b41d84c239d860f52 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/test-async-sig.c
5de80244886a901906d22114f7faf45355b8543d 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> (check_PROGRAMS_cdep): Mention test-async-sig.
(test_async_sig_LDADD): New macro.

(Logical change 1.204)
ests/Makefile.am
24981bc5f917076f5b72ec377963746ec865a3df 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> Important bug-fix: dl_iterate_phdr() doesn't appear to be signal-safe.
To compensate, mask signal-delivery while it's running.

BKrev: 406bce38mhnWOUIL9WtYkHurmM2ajg
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)
rc/ia64/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)
rc/dwarf/Gfind_proc_info-lsb.c
6d44be2c47b9b3426f166d88619e7c034f8c5a65 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> tests: Minor whitespace fixes for Gtest-concurrent.c.

BKrev: 406bb63aQDsDc6-AODSWlWin7fTdnw
471e4e5fa698a9eeaef184d9acea32ad9aac2fe9 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> Minor whitespace fixes.

(Logical change 1.202)
ests/Gtest-concurrent.c
b15a2bd5ef4601dcaab46f4b52d67942ed896f0d 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> ia64: Based on patch by Todd L. Miller: extend semantics of
UNW_DYN_ALIAS to alias a sub-region of the aliased
region. The degenerate case of an empty subregion can
then be used to alias with a particular IP.

BKrev: 406bb051XeM3TsszAsT3HGWlN0bBIA
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)
rc/ia64/Gparser-ia64.c
835bb9110b832d6e88aaba736d4c26180954449d 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.200)
oc/unw_get_proc_info.man
oc/unw_get_proc_info_by_ip.man
oc/unw_get_proc_name.man
oc/unw_init_remote.man
oc/unw_resume.man
oc/unw_step.man
38fe40cb1a7a31338a7c360011446286dd917891 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Clarify that this routine is signal-safe only for the local
address-space.

(Logical change 1.200)
oc/unw_get_proc_info.tex
oc/unw_get_proc_info_by_ip.tex
oc/unw_init_remote.tex
oc/unw_resume.tex
oc/unw_step.tex
7e8488d45d21977257ce9390492cb5311fa93ccb 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Allow unw_get_proc_name() to be called from signal-handler (for
cursors in the local address-space).
Clarify that unw_get_proc_info(), unw_get_proc_info_by_ip(),
unw_init_remote(), unw_resume(), and unw_step() are async-signal
safe only from the local address-space (we can't make any guarantees
beyond that because of the dependency of the per-address-space
callback routines, which may have all kinds of restrictions).

BKrev: 406a766eg-xRWnoMgbI9aFyk1xBWXA
b511e18f63772060c6f35a22f54ed8c4215b94f1 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Allow this routine to be called from a signal handler when unwinding
in the local address-space.

(Logical change 1.200)
oc/unw_get_proc_name.tex
77f159fe4123be6db735c8bec9019e5f45e04161 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> linux: Reimplement maps_init()/maps_next()/maps_close() such that
they are async-signal safe. This in turn also makes
unw_get_proc_name() async-signal safe (for the local address
space).


BKrev: 406a755eLMN8_C9GHATuTYsY-pi8Lw
df77cf1ad7c4791f8c903643a5c8cbfe97d25a7f 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (tdep_get_elf_image): Pass sizeof buffer to maps_next().

(Logical change 1.199)
rc/os-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)
rc/os-linux.h
fe9d715071c9844675ca07379cb98d48b3489524 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (get_proc_name): Minor whitespace fixes.

(Logical change 1.199)
rc/mi/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)
rc/ptrace/_UPT_get_dyn_info_list_addr.c
50c2be0ca322727d5a4f53fbf70fa579c853bc70 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Undo some temporary testing hacks.

(Logical change 1.198)
ests/Gperf-simple.c
616931e74db671accbc8d645125405a46f5a4c43 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Clean up some testing-hacks in Gperf-simple.c.

BKrev: 406a7357_ZoTjTPbK5Gk2mGDVsnNig
201f7d6671bf32eb259d5671183e6b19e075e94c 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.197)
ests/Makefile.in
e3eae746986c627103b8709130f439a24663eaeb 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (gettime): Go back to gettimeofday(). clock_gettime() requires
librt which requires libpthread, which slows everything
down.

(Logical change 1.197)
ests/Gperf-simple.c
69052ef3ea201d25307f5feda2c02ecfe33cf4da 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (Lperf_simple_LDADD): Delete.
(Gperf_simple_LDADD): Likewise.

(Logical change 1.197)
ests/Makefile.am
59a11c952505906867ee66f9a72721d0079f5e6e 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (Gperf-simple): Switch back from clock_gettime() to gettimeofday()
so we can avoid the (indirect) dependency on -lpthread,
which slows everything down.

BKrev: 406a2480bpWS4g2Xic3BTD__9OLnTQ
3c4791af3d19d28fcaa2335923e01a156d048ed3 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> ia64: Document the asymmetry in compatibility between getcontext()
and unw_getcontext().

BKrev: 406a1641Npn2_hSJ6xj_0c5kK62x4Q
031c8bbae8cc4cec242f8066aa50f28a73834f71 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.196)
oc/unw_getcontext.man
37e20822f47c206cd6ae088cce218990ab26e660 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Add new Platform-specific Notes section and document that getcontext()
can be used in lieu of unw_getcontext() but not vice versa.

(Logical change 1.196)
oc/unw_getcontext.tex
e0f02d4775d01de09c75bff19f0975698cbe45d8 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> ia64: Remove perf-tuning code from unw_getcontext().

BKrev: 406a13d73SqBfhtdUcBHvwiaTNe7hg
50160e1df1801321317073d9d4dc48e3e90f649f 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Remove perf-tuning code, make it fit in 80 columns.

(Logical change 1.195)
rc/ia64/getcontext-ia64.S
3be31f5dcb65ec1a37de234f127f7e69c9352a92 31-Mar-2004 hp.com!davidm <hp.com!davidm> Include <unistd.h> and <sys/resource.h>.
(KB): New macro.
(big): Lower the size to 64*MB. Should be enough for another year... ;-)
(gettime): Fix typo and lower the assumed cache-line size from 64
to 8 bytes just to be safe across platforms.
(measure_init): Lower N from 1000 to 100.
(cursor): Add some padding between each unw_cursor_t to avoid
benefitting from cache-line sharing.
(uc): Likewise.
Warm up the TLB before measuring the cold-cache cases.
(main): Unlimit the max. stack-size just in case.
Write to "big" to ensure it's backed by real memory
(not just by the zero page).

(Logical change 1.194)
ests/Gperf-simple.c
a4fef7cd62d67133f15e83b807cd055684ee4005 31-Mar-2004 hp.com!davidm <hp.com!davidm> Fix Gperf-simple.c so it truly can measure the cold-cache cases
for unw_getcontext() and unw_local_init().

BKrev: 4069fb42G_rF2zMtoAON24BBXWL7XQ
2b07d73a5ab4bea092437b13ede415df9f812804 31-Mar-2004 hp.com!davidm <hp.com!davidm> Temporarily add various test-cases which help with performance-tuning.

(Logical change 1.193)
rc/ia64/getcontext-ia64.S
811cc7b4522a19448e963304101de79d0cdc9f33 31-Mar-2004 hp.com!davidm <hp.com!davidm> (unw_getcontext): More performance-tuning.

BKrev: 4069f9afyfw24-h0h2HHRrTIMNozLA
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)
rc/ia64/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)
rc/backtrace.c
14e36a6a516875be61e02206c81c08a8750f340f 30-Mar-2004 hp.com!davidm <hp.com!davidm> Rename: src/backtrace.c -> src/mi/backtrace.c

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

(Logical change 1.192)
rc/Makefile.in
3a95b3c641b88aed3a705c1955d79d9c5ef4999b 30-Mar-2004 hp.com!davidm <hp.com!davidm> Initial revision
rc/mi/backtrace.c
ca8e19f98751f64017616e555dee5ec5a0d0ef5e 30-Mar-2004 hp.com!davidm <hp.com!davidm> Build backtrace.c again and move source file to "mi/" directory.

BKrev: 4068d3c32sb5Qs6ANe3PeQDP_faoSA
a50c7801bd2eb19c524124f757d520bbaf992a48 30-Mar-2004 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_local): Mention mi/backtrace.c.

(Logical change 1.192)
rc/Makefile.am
3986a308afaaf1166e8634dbc7e556d78e1a8aa9 30-Mar-2004 hp.com!davidm <hp.com!davidm> (AC_CNOFIG_SRCDIR): Adjust for moving backtrace.c into the "mi/" subdirectory.

(Logical change 1.192)
onfigure.in
69cd4ba87e0c4b781c4fcd52bc7cf3f34a2d71fd 28-Mar-2004 mostang.com!davidm <mostang.com!davidm> ia64: Tweak _Uia64_getcontext() some more and improve perf.-test.

BKrev: 40661b41RX0enxxj3CCBIU5Uwu42DQ
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)
rc/ia64/getcontext-ia64.S
fc7b49b9837b84727da4c25ba0905b8d2a1920e8 28-Mar-2004 mostang.com!davidm <mostang.com!davidm> (measure_init): Improve it so that we don't measure noise, such
as context-switches.

(Logical change 1.191)
ests/Gperf-simple.c
d73775b6cb57a43c7fc66018b9c4e7b7f8046854 27-Mar-2004 mostang.com!davidm <mostang.com!davidm> ia64: Tweak unw_getcontext() for slightly better cold-cache
performance.

BKrev: 406548a6pdrTKaY86bFYi2kq1Jjzpg
96c62506269ed6b7de3531816e9ad4a62fb50d92 27-Mar-2004 mostang.com!davidm <mostang.com!davidm> Include <memory.h>.
(MB): New macro.
(big): New array.
(measure_unwind): Don't try to measure "init" step---it's too fast.
(f1): Likewise.
(doit): Likewise.
(sum): New function.
(measure_init): Measure unw_getcontext() and unw_local_init() here.
(main): Call measure_init(), adjust labels for doit() calls.

(Logical change 1.190)
ests/Gperf-simple.c
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)
rc/ia64/getcontext-ia64.S
1fdf61544038dfdc71340267327a737a4873ce20 27-Mar-2004 mostang.com!davidm <mostang.com!davidm> ia64: Fix _Uia64_get_kernel_table() so it makes some sense again.

BKrev: 406520dfMyS2Sh2WRYl_kJ19YUUVXA
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)
rc/ia64/Gtables-ia64.c
62e1a936e7dc491d65353d01575a97d9b3f1d06e 27-Mar-2004 hp.com!davidm <hp.com!davidm> ia64: Fix memory-leak in _Uia64_get_kernel_table(). Found by Todd Miller.

BKrev: 4064d824Y5ClYKU2K71nDBr-fBeunw
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)
rc/ia64/Gtables-ia64.c
e8be590f3df5ed19f4ce93d0ab81ed6bc547c678 20-Mar-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.187)
ests/Makefile.in
2f6778284c31c1274c1570539347b9699f1bb648 20-Mar-2004 hp.com!davidm <hp.com!davidm> Regenerate tests/Makefile.in.

BKrev: 405c159aP_r69LsKn0PwJjcCmpN6wA
f258588d439ebbfa77b2e4654d567747ad7abf08 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> ia64: Fix a typo in dynamic unwind info parsing.
Tune unw_getcontext() & unw_init_local() performance a bit.

BKrev: 405c14d4qPrk41JhHWuZ5C-boL7wyA
81570a99800311f5236f0d4bf4174a66c55ef306 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> Update.

(Logical change 1.186)
ODO
2a302e5148913d4795a535ebc6325e23722adf66 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.186)
rc/Makefile.in
c7fdc72fd6c462b87afb1af5390ffa3724a16f18 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> Make number of iterations controllable via the second command-line
argument.
(gettime): Use clock_gettime() instead of gettimeofday() to get
(potentially) better resolution.

(Logical change 1.186)
ests/Gperf-simple.c
89b3ee87a9c001f94d01f5851d0b80d7e49081bb 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.186)
rc/ia64/getcontext-ia64.S
412615853d8459e8223c6269b70470da2402fc07 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/getcontext-ia64.S
a1ce4c307e9a6cc98404eca9500c8cc10e812273 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (unw_tdep_getcontext): Direct it to UNW_ARCH_OBJ(getcontext).

(Logical change 1.186)
nclude/libunwind-ia64.h
70b89e24f3891e289a7e74590c840657506962d9 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (uc_addr): Move to unwind_i.h.

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

(Logical change 1.186)
rc/ia64/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)
rc/ia64/init.h
8e8fe5002977ea13565fa0061abdcea3437a507a 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (Lperf_simple_LDADD): Mention -lrt.
(Gperf_simple_LDADD): Likewise.

(Logical change 1.186)
ests/Makefile.am
ab5eac6c8b2f1e0fd037c0122c0726a932221414 20-Mar-2004 hp.com!davidm <hp.com!davidm> ia64: Fix a typo which caused the case to fail in which primary UNaT
got saved in a register only.

BKrev: 405be46bD2GM2Sn0MbuRw6UVLgQzMg
fc7cd7c4bc94945fdc0614079368e99df53898bd 20-Mar-2004 hp.com!davidm <hp.com!davidm> Whitespace fix.

(Logical change 1.185)
rc/ia64/Gregs-ia64.c
5071803e5dfc01f724d89b297db56cf60beaa5e1 20-Mar-2004 hp.com!davidm <hp.com!davidm> (save_static_to_mem2): New function.
(save_static_to_mem3): Likewise.
(save_static_to_mem4): Likewise.
(save_static_to_mem5): Likewise.
(save_static_to_scratch): Save f4 to f6 to improve test coverage.

(Logical change 1.185)
ests/ia64-test-nat-asm.S
61d42ccf667d91ed237f2cc7e874d4ad1f2f307b 20-Mar-2004 hp.com!davidm <hp.com!davidm> (check_static_to_memN): New function.
(check_static_to_mem2): Likewise.
(check_static_to_mem3): Likewise.
(check_static_to_mem4): Likewise.
(check_static_to_mem5): Likewise.

(Logical change 1.185)
ests/Gia64-test-nat.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)
rc/ia64/Gscript-ia64.c
a2b8866fb33d7c1d8c06c5474f45262fa91464ba 19-Mar-2004 mostang.com!davidm <mostang.com!davidm> ia64: Remove erroneous calls to rotate_gr() during script-execution.
Fix NaT-bit handling test-case involving rotated regs.

BKrev: 405aace43GdnidC9YEnxvj_7mchwFg
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)
rc/ia64/Gscript-ia64.c
18d33f37d5b751b9d1bee168d20fb335b0b2859f 19-Mar-2004 mostang.com!davidm <mostang.com!davidm> (check_rotate_regs): Return adjust "vals"; add a printf() in verbose
mode.

(Logical change 1.184)
ests/Gia64-test-nat.c
96d2898321e753c6cc2ee31aee0fe4aef6ad8277 19-Mar-2004 mostang.com!davidm <mostang.com!davidm> (CALL_NEXT_PTR): Like CALL_NEXT(), except that the two argument
registers are passed via macro args.
(CALL_NEXT): Define in terms of CALL_NEXT_PTR().
(rotate_regs): Fix it so it doesn't overwrite any local registers
once they are rotated. Note: it's OK to write the output
registers, since those are outside of the rotating partition.

(Logical change 1.184)
ests/ia64-test-nat-asm.S
d5dc7dc6133ce5b2a4e5a75d36ae848cda5e8bc5 19-Mar-2004 hp.com!davidm <hp.com!davidm> ia64: Fix another NaT-bit handling bug and add another NaT-bit test.

BKrev: 405a5d2fyigOPpAdJoNUeFVEnihufQ
77a27f0baf35f1490c006143f12f7556367c9e85 19-Mar-2004 hp.com!davidm <hp.com!davidm> Update with rotation-test.

(Logical change 1.183)
ests/Gia64-test-nat.c
f59f60f9ce6ec922fd61b540b82377df68781a16 19-Mar-2004 hp.com!davidm <hp.com!davidm> Tweak debug-levels a bit.

(Logical change 1.183)
rc/ia64/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)
rc/ia64/Gregs-ia64.c
94b71a1cd855910e19a2088f8531e409cc699dba 19-Mar-2004 hp.com!davidm <hp.com!davidm> (LOAD_VAL): Use p15 instead of p6 so we don't step on save_static_to_scratch().
(flushrs): New function.
(rotate_regs): Likewise.


(Logical change 1.183)
ests/ia64-test-nat-asm.S
f46a44b1f912d776f9f59755387600f9e7b27bda 19-Mar-2004 hp.com!davidm <hp.com!davidm> ia64: Plug nasty memory leak: neither unw_is_signal_frame() nor
the dynamic unwind info parser freed the state-record after
they were done using it.

BKrev: 405a5c6flXEaxgjCMPAVGCDU-bSg2Q
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)
rc/ia64/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)
rc/ia64/Gparser-ia64.c
2fc4fd6e48184001113ddaa515171b0747964c25 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> ia64: Rewrite NaT-bit handling for the 3rd time (must be a charm!).
The previous version was OK for all but one corner case.
The new version uses slightly more space in the cursor
(4 extra bytes) but on the other hand, the final result is
both much more easier to understand and likely faster.
It also seems more correct, which is always a bonus.

BKrev: 403f05c1TMcVYiNdYmb4S5hSOVJkfw
23dd2c4c4a7223746418a40b52a724aed10462ae 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> Update.

(Logical change 1.181)
ests/Gia64-test-nat.c
1c00cf562e8c328dad84fbfe24c11f431951bafd 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (unw_tdep_save_loc): Add new member "nat_bitnr". Define the
other 7 bytes (which were always there in unw_save_loc_t due
to padding) as reserved for future use.

(Logical change 1.181)
nclude/libunwind-ia64.h
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)
rc/ia64/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)
rc/ia64/Ginit-ia64.c
7356cf80a55ea397f9fed8f9e40175fda5db22c1 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (struct cursor): Add member "nat_bitnr".
(tdep_uc_addr): Add (optional) nat_bitnr pointer argument.

(Logical change 1.181)
nclude/tdep-ia64.h
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gscript-ia64.c
50f7edcce58c701c9b7a1379b6b44a6e2f9a9f0c 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> (enum ia64_script_insn_opcode): Move Gscript-ia64.c.
(IA64_MAX_SCRIPT_LEN): Lower it by 4 since we no longer need separate
instructions to update the NaT locations.

(Logical change 1.181)
nclude/ia64/script.h
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)
rc/ia64/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)
rc/ia64/unwind_i.h
253fabee2c1ed700102286592a9bb6f6cc0f180a 27-Feb-2004 hp.com!davidm <hp.com!davidm> ia64: Fix minor typo and delete extraneous macro.

BKrev: 403e96bakn0TpEq4xcJpmeOzsDwHbQ
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)
rc/ia64/unwind_i.h
daaa6b34dab97dfdb833e8a43c40341711ff66d0 27-Feb-2004 hp.com!davidm <hp.com!davidm> ia64: Add a new check which tests the handling of NaT bits in scratch registers.

BKrev: 403e967d1c8IoeBBOgMrslF99FJbHw
ad73ee3a7711a11706293798f29f94ec257b5def 27-Feb-2004 hp.com!davidm <hp.com!davidm> Add include of <errno.h>, <string.h>, and <asm/rse.h>.
(save_static_to_scratch): New declaration.
(sighandler): New function.
(check_static_to_scratch): Likewise.
(enable_sighandler): Likewise.
(disable_sighandler): Likewise.
(check-static_to_stacked): Fix missing newline in error message.
(start_checks): Call disable_sighandler().
Fix missing newline error messages.
(run_check): Call enable_sighandler() right before starting the checks.
(main): Fix missing newline in message.

(Logical change 1.179)
ests/Gia64-test-nat.c
1f3439fc5d4fe4c57af5d1278f92e203044d1db1 27-Feb-2004 hp.com!davidm <hp.com!davidm> (save_static_to_scratch): New routine.

(Logical change 1.179)
ests/ia64-test-nat-asm.S
af8e32060dfc8108f90e9d4551fc11315e31b2b2 27-Feb-2004 hp.com!davidm <hp.com!davidm> ia64: Fix primary-UNaT handling.

BKrev: 403e95432t13LFJ3IBmgnj7yz-bsVg
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)
rc/ia64/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)
rc/ia64/Gregs-ia64.c
8d735e0c76f8ba898a280d202ce74bd86da61ecd 27-Feb-2004 hp.com!davidm <hp.com!davidm> ia64: Fix typo which caused bad floating-point NaTVal constant and
bad integer-values inside floating-point registers.

BKrev: 403e9349svM_lIBxzyOsvz-gwyhZ7Q
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)
rc/ia64/Gglobal-ia64.c
09a59ec368833b199851e2d0716f80ade6fac521 20-Feb-2004 hp.com!davidm <hp.com!davidm> ia64: Fix bug where chains of saves/spills got updated in the wrong order.
This fixes failures observed in Gia64-test-nat.c:check_static_to_mem().

BKrev: 40355cfaFrIUB5TqttoCC9BtNyPniQ
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)
rc/ia64/Gscript-ia64.c
d2db9d02a9e83dc204fe1c0d04499832670f02ca 19-Feb-2004 mostang.com!davidm <mostang.com!davidm> ia64: Add two NaT-bit checks: saving to branch registers and memory.

BKrev: 40346e47RyrlUAzPMSHLAVu5eimeTg
a2a1325c9fd9aa4d031ecd1ea8006bd270f770e3 19-Feb-2004 mostang.com!davidm <mostang.com!davidm> Fix copyright year and update file-comment.
(save_static_to_fr): Rename from save_static_to_fpreg().
(check_static_to_fr): Rename from check_static_to_fpreg().
(save_static_to_br): Declare.
(check_static_to_br): New function.
(save_static_to_mem): Declare.
(check_static_to_mem): New function.
(all_funcs): Mention new save/checks.

(Logical change 1.175)
ests/Gia64-test-nat.c
a5ed5ae3b775b3455df47dc1ad29f2e66e58cb65 19-Feb-2004 mostang.com!davidm <mostang.com!davidm> (LOAD_VAL): New macro.
(save_static_to_stacked): Use LOAD_VAL.
(save_static_to_fr): Rename from save_static_to_fpreg().
(save_static_to_br): New function.
(save_static_to_mem): Likewise.

(Logical change 1.175)
ests/ia64-test-nat-asm.S
d2a5a239aae6dede5dce68051c6c47f8fae081d7 19-Feb-2004 mostang.com!davidm <mostang.com!davidm> (ptrace): Fix Debug() typo in _UPT_access_mem().

BKrev: 40346d70MBpuSr58I_9R9ajLbakHrA
84109794bd0786cbbec44dd13d7283cfa2652687 19-Feb-2004 mostang.com!davidm <mostang.com!davidm> (_UPT_access_mem): Fix typo in Debug() macro calls.

(Logical change 1.174)
rc/ptrace/_UPT_access_mem.c
37e3f4fb50e8b171f5b8a3cb145546c119db6c55 19-Feb-2004 hp.com!davidm <hp.com!davidm> ia64: Fix a bug which caused the NaT bit failures when a static register got
saved in a stacked register. This fixes failures observed in
Gia64-test-nat.c:check_static_stacked() .

BKrev: 403413570MEjRvwKAH0J3d7iQoUVcg
8b96f6ef110e7c0c370c869180e2398a06e549fb 19-Feb-2004 hp.com!davidm <hp.com!davidm> (rbs_find): New function.

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

(Logical change 1.173)
rc/ia64/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)
rc/ia64/Gregs-ia64.c
7aa9c37cc1c62035a8c65288e450886c45816aed 19-Feb-2004 hp.com!davidm <hp.com!davidm> ia64: Fix off-by-1 error which caused fp-register access failures.

BKrev: 40341290goIcuIC9tcle6dhz1xqXQg
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)
rc/ia64/Gscript-ia64.c
f2273f5463eb535fafdc8c3bb8503367a3d1d5fa 19-Feb-2004 hp.com!davidm <hp.com!davidm> ia64: Add a new NaT test-case which checks that static registers saved
into fp-registers get handled properly.

BKrev: 4034122btwIvJLpSfEXoPuEtxhKt5w
330d2b512937ba4e9c79495422eb454d8ddee3f7 19-Feb-2004 hp.com!davidm <hp.com!davidm> (all_funcs): Mention static_to_fpreg test & check.
(check_static_to_fpreg): New function.
(run_check): In verbose mode, print the run number.

(Logical change 1.171)
ests/Gia64-test-nat.c
c5b3064c05d9f77c43c86ae90cd0c0d4db9351d4 19-Feb-2004 hp.com!davidm <hp.com!davidm> (CALL_NEXT): New macro.
(save_static_to_fpreg): New function.

(Logical change 1.171)
ests/ia64-test-nat-asm.S
a2b6982cfd21666f451c0d506d4d7e6511bc3ef5 19-Feb-2004 hp.com!davidm <hp.com!davidm> ia64: Adjust debug level for access_mem() and regenerate Makefile.in.

BKrev: 403411a5EsJukND9UYr_zvwl2dZJFQ
907bac3434245ebe31efd7eb1b6d54947062eec6 19-Feb-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.170)
ests/Makefile.in
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)
rc/ia64/Ginit-ia64.c
12a941b1ba6dee6922248f18c8ab30a916ae5ef4 15-Feb-2004 mostang.com!davidm <mostang.com!davidm> ia64: Yesterday's fix for emit_nat_info() wasn't quite correct. Fix
it.

BKrev: 402ea98bNuI0HnTke9QLnb6rH0_7tg
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)
rc/ia64/Gscript-ia64.c
1ac893cbabdb4bb79faec7c498a56c27d92b58db 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> ia64: Initial prototype of a test-program that checks correctness
of NaT-bit handling.

BKrev: 402dd3fbK4gRw6Fq4A5Cs03-iGW8Rg
05a9101485fd5a5c42c546cc720bc35fa4e3f06b 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.168)
ests/Gia64-test-nat.c
ests/Lia64-test-nat.c
ests/ia64-test-nat-asm.S
a49786f031d94e830ddda6225f68ff1a8aa2de7c 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/Gia64-test-nat.c
ests/Lia64-test-nat.c
ests/ia64-test-nat-asm.S
66482c4494d842bd68ea542ed35aaa3634d59012 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> Add copyright message.

(Logical change 1.168)
ests/Gia64-test-rbs.c
899323c9966118a687c21c771fdbebb081d8985d 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> (check_PROGRAMS_arch): Mention Gia64-test-nat and Lia64-test-nat.
(Lia64_test_nat_SOURCES): New macro.
(Gia64_test_nat_SOURCES): Likewise.

(Logical change 1.168)
ests/Makefile.am
321094feff0f7fdea28d6e1f59cfb32eb1bd0250 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> ia64: Fix a typo which could cause a segv when a general register
got spilled into memory. Reported by Jerry Harrow.

BKrev: 402dd38f7oamRp0odWsVm7yPa6xnAg
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)
rc/ia64/Gscript-ia64.c
7956b79d8ac9384fcc024e50802086ef4a1e77a3 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> ia64: Add some Debug() statements for easier tracing.

BKrev: 402dd31es7Kot28JwKhBQhD1Wrn0zQ
9468bda47abe1070cfd41dc9ef6af90e695ba156 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> (unw_step): Add Debug() statement.

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

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

(Logical change 1.166)
rc/ia64/Ginit_local-ia64.c
a597de2beb5080a390b8bb4b510e6753d27ec8ee 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> ia64: Fix typo in src/Makefile.am.

BKrev: 402dd2df1W4GhDvC-8i8rcc7dDCrvw
3d594c588f2e22d0bb600f29d5a85855345f0765 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.165)
rc/Makefile.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)
rc/Makefile.am
cd3092a8143a57f8a18e9c5ede54cf5cee298cba 14-Feb-2004 hp.com!davidm <hp.com!davidm> ia64: Regenerate src/ia64/Linstall_cursor-ia64.S.

BKrev: 402da827hJjYA1gmi5n1dHNj7QpPvA
518e5bde6c86e3615dcc3e91cf5fe1a327e9c685 14-Feb-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.164)
rc/ia64/Linstall_cursor-ia64.S
dbea4b064a7246c3578646daa1883aafee686353 14-Feb-2004 hp.com!davidm <hp.com!davidm> Fix up some small Debug() breakage.

BKrev: 402da795IuGDDgX1QPS-cYkjw1m6aQ
703aa0d1967e0c37c1110a8e6eadcdb137397bce 14-Feb-2004 hp.com!davidm <hp.com!davidm> (common_init): Fix Debug() call.

(Logical change 1.163)
rc/ia64/init.h
5f45c42420e33211874886d1a8e707b76ecb223c 14-Feb-2004 hp.com!davidm <hp.com!davidm> (Debug): Add back lost Debug() macro for the !UNW_DEBUG case.

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

}(Logical change 1.162)
rc/Gdyn-remote.c
rc/Gget_proc_name.c
rc/_UPT_access_mem.c
rc/_UPT_access_reg.c
rc/_UPT_find_proc_info.c
rc/_UPT_get_dyn_info_list_addr.c
rc/_Unwind_RaiseException.c
rc/ia64/Gdestroy_addr_space-ia64.c
rc/ia64/Gget_accessors-ia64.c
rc/ia64/Gset_caching_policy-ia64.c
rc/x86/Gget_reg-x86.c
rc/x86/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)
rc/mi/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)
rc/mi/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)
rc/unwind/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)
rc/ptrace/_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)
rc/ptrace/_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)
rc/ptrace/_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)
rc/ptrace/_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)
rc/mi/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)
rc/mi/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)
rc/mi/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)
rc/mi/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)
rc/mi/Gdestroy_addr_space.c
fcd8dad37efa05fd6090a68fe24b66a0ca7856ee 30-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

(Logical change 1.162)
ODO
rc/x86/Ginit-x86.c
rc/x86/Ginit_local-x86.c
rc/x86/Ginit_remote-x86.c
rc/x86/offsets.h
rc/x86/unwind_i.h
f913dd3bd175c595c3d99830a172c87a67ef6e74 30-Jan-2004 hp.com!davidm <hp.com!davidm> Start to implement it for real.

(Logical change 1.162)
rc/x86/Gresume-x86.c
rc/x86/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)
rc/mi-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)
rc/mi/init.c
2294f59b466070893f415da87cead18f8e2d47b2 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/mempool.c -> src/mi/mempool.c

}(Logical change 1.162)
rc/mempool.c
65a70e7f88f0bc0b428605a68f21e6eeb5c28804 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename: src/mempool.c -> src/mi/mempool.c

(Logical change 1.162)
rc/mi/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)
rc/ia64/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)
rc/mi/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/dyn-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)
rc/mi/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)
rc/dyn-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)
rc/mi/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)
rc/dyn-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)
rc/mi/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/unwind/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)
rc/_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)
rc/ptrace/_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)
rc/_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)
rc/ptrace/_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)
rc/_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)
rc/ptrace/_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)
rc/_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)
rc/ptrace/_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)
rc/_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)
rc/ptrace/_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)
rc/_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)
rc/ptrace/_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)
rc/_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)
rc/ptrace/_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)
rc/_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)
rc/ptrace/_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)
rc/_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)
rc/ptrace/_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)
rc/Lput_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)
rc/mi/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)
rc/Lget_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)
rc/mi/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)
rc/Lget_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)
rc/mi/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)
rc/Lfind_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)
rc/mi/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)
rc/Ldyn-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)
rc/mi/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)
rc/Gput_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)
rc/mi/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)
rc/Gget_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)
rc/mi/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)
rc/Gfind_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)
rc/mi/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)
rc/Gdyn-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)
rc/mi/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)
rc/x86/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)
rc/ia64/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)
rc/x86/Gglobal-x86.c
684f85c8f105d041806dbbae4f061e2471acaaa9 30-Jan-2004 hp.com!davidm <hp.com!davidm> Rename ia64_init() to tdep_init().

(Logical change 1.162)
rc/ia64/Ginit_local-ia64.c
rc/ia64/Ginit_remote-ia64.c
8aee02a8398afd739c31244b370dfad4e2969a77 30-Jan-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.162)
rc/Makefile.in
fe039e2c1f4df6ee5676b285cf01ff35d3e7c413 30-Jan-2004 hp.com!davidm <hp.com!davidm> Move all inline functions to dwarf_i.h.

(Logical change 1.162)
nclude/dwarf.h
b88369b8314dc8e8fe617184b07527fb34b66f22 30-Jan-2004 hp.com!davidm <hp.com!davidm> Initial revision
nclude/dwarf_i.h
nclude/remote.h
rc/ia64/Ginstall_cursor-ia64.S
rc/ia64/Linstall_cursor-ia64.S
rc/mi/Gdestroy_addr_space.c
rc/mi/Gdyn-extract.c
rc/mi/Gdyn-remote.c
rc/mi/Gfind_dynamic_proc_info.c
rc/mi/Gget_accessors.c
rc/mi/Gget_fpreg.c
rc/mi/Gget_proc_info_by_ip.c
rc/mi/Gget_proc_name.c
rc/mi/Gget_reg.c
rc/mi/Gput_dynamic_unwind_info.c
rc/mi/Gset_caching_policy.c
rc/mi/Gset_fpreg.c
rc/mi/Gset_reg.c
rc/mi/Ldestroy_addr_space.c
rc/mi/Ldyn-extract.c
rc/mi/Ldyn-remote.c
rc/mi/Lfind_dynamic_proc_info.c
rc/mi/Lget_accessors.c
rc/mi/Lget_fpreg.c
rc/mi/Lget_proc_info_by_ip.c
rc/mi/Lget_proc_name.c
rc/mi/Lget_reg.c
rc/mi/Lput_dynamic_unwind_info.c
rc/mi/Lset_caching_policy.c
rc/mi/Lset_fpreg.c
rc/mi/Lset_reg.c
rc/mi/dyn-cancel.c
rc/mi/dyn-info-list.c
rc/mi/dyn-register.c
rc/mi/flush_cache.c
rc/mi/init.c
rc/mi/mempool.c
rc/ptrace/_UPT_access_fpreg.c
rc/ptrace/_UPT_access_mem.c
rc/ptrace/_UPT_access_reg.c
rc/ptrace/_UPT_accessors.c
rc/ptrace/_UPT_create.c
rc/ptrace/_UPT_destroy.c
rc/ptrace/_UPT_find_proc_info.c
rc/ptrace/_UPT_get_dyn_info_list_addr.c
rc/ptrace/_UPT_get_proc_name.c
rc/ptrace/_UPT_internal.h
rc/ptrace/_UPT_put_unwind_info.c
rc/ptrace/_UPT_reg_offset.c
rc/ptrace/_UPT_resume.c
rc/unwind/Backtrace.c
rc/unwind/DeleteException.c
rc/unwind/FindEnclosingFunction.c
rc/unwind/ForcedUnwind.c
rc/unwind/GetBSP.c
rc/unwind/GetCFA.c
rc/unwind/GetDataRelBase.c
rc/unwind/GetGR.c
rc/unwind/GetIP.c
rc/unwind/GetLanguageSpecificData.c
rc/unwind/GetRegionStart.c
rc/unwind/GetTextRelBase.c
rc/unwind/RaiseException.c
rc/unwind/Resume.c
rc/unwind/Resume_or_Rethrow.c
rc/unwind/SetGR.c
rc/unwind/SetIP.c
rc/x86/Gget_save_loc-x86.c
rc/x86/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)
rc/dwarf/Gexpr-dwarf.c
rc/dwarf/Gfde-dwarf.c
rc/dwarf/Gparser-dwarf.c
rc/dwarf/Gpe-dwarf.c
815c101f8242392ff0b38e3f048659c0a317a4cd 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/x86/flush_cache-x86.c

}(Logical change 1.162)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/hppa/flush_cache-hppa.c
9609c37ec66ec10a13b8344d72e971d4da5c36fe 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/debug_level.c

}(Logical change 1.162)
rc/debug_level.c
c390f0a2eb0cc72a0dd8df616f15b52d0e2b4f66 30-Jan-2004 hp.com!davidm <hp.com!davidm> Delete: src/Ldyn-remote.c

}(Logical change 1.162)
rc/Ldyn-remote.c
86af3a3048fe90fb7da72e2bd007d7bbbd99abae 30-Jan-2004 hp.com!davidm <hp.com!davidm> Declare functions such that it is possible to take their addresses.
(tdep_init): New macro.
(tdep_access_reg): Likewise.
(tdep_access_fpreg): Likewise.

(Logical change 1.162)
nclude/tdep-ia64.h
6bcc75010b25f6d7c6f0b93da23e91fb07290b60 30-Jan-2004 hp.com!davidm <hp.com!davidm> Declare functions such that it is possible to take their addresses.

(Logical change 1.162)
nclude/tdep-hppa.h
b5d64dabf34e68040726150c86b0c6ac2bdbb77a 30-Jan-2004 hp.com!davidm <hp.com!davidm> Declare functions in the same way as we do in other header-files now, such that
it's possible to take the address of functions.
(debug): Remove this macro (no longer used).
(fetch8): Move to remote.h.
(fetch16): Likewise.
(fetch32): Likewise.
(fetchw): Likewise.

(Logical change 1.162)
nclude/internal.h
c67d345c33f1d0b6e4adce3e03f8a1f332722669 30-Jan-2004 hp.com!davidm <hp.com!davidm> Convert from debug() to Debug().

(Logical change 1.162)
rc/elfxx.c
rc/hppa/Ginit-hppa.c
rc/hppa/Gstep-hppa.c
rc/ia64/Ginit-ia64.c
rc/ia64/Gparser-ia64.c
rc/ia64/Grbs-ia64.c
rc/ia64/Gregs-ia64.c
rc/ia64/Gresume-ia64.c
rc/ia64/Gscript-ia64.c
rc/ia64/Gstep-ia64.c
rc/ia64/Gtables-ia64.c
rc/ia64/init.h
rc/ia64/regs.h
rc/ia64/unwind_i.h
rc/os-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)
rc/Makefile.am
1cc45697257c5be21f72aa75fca06cce764434e2 30-Jan-2004 hp.com!davidm <hp.com!davidm> Add warning until it's fully implemented.

(Logical change 1.162)
rc/x86/siglongjmp-x86.S
29ab34bd42a0a5058ded3ef47393e6906b3ebe64 30-Jan-2004 hp.com!davidm <hp.com!davidm> A big patch to do very little: mostly renaming and consolidating stuff and
starting to complete the x86 version of libunwind. ia64 version should be
mostly unaffected, but this is an interim update, so use at your own risk until
the final version is checked in.

BKrev: 40199ed4ZkcGzPDv0KOtzcL1MdKYAg
f8b49d42221d2250689d79339afc6c8e7bc95658 30-Jan-2004 hp.com!davidm <hp.com!davidm> (tdep_init): Rename from ia64_init().

(Logical change 1.162)
rc/ia64/Gglobal-ia64.c
78cec362908419e1d4cedbfcff5fe8f797b747d9 30-Jan-2004 hp.com!davidm <hp.com!davidm> (struct cursor): Add member sigcontext_format.
(dwarf_putfp): Fix typo.
(dwarf_getfp): Mark with C preprocessor warning while it's not fully
implemented. Check for NULL-location first.
(dwarf_putfp): Likewise.
(dwarf_get): Likewise.
(dwarf_put): Likewise.
(tdep_needs_initialization): New macro.
(tdep_init): Likewise.
(tdep_get_as): Likewise.
(tdep_get_as_arg): Likewise.
(tdep_needs_initialization): Declare.

(Logical change 1.162)
nclude/tdep-x86.h
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)
rc/x86/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)
rc/dwarf/Gfind_proc_info-lsb.c
ab847fe68eae15fbd15962cc618135a381dba043 30-Jan-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.162)
nclude/dwarf_i.h
nclude/remote.h
rc/mi/Gget_fpreg.c
rc/mi/Gset_fpreg.c
rc/mi/Ldestroy_addr_space.c
rc/mi/Ldyn-remote.c
rc/mi/Lget_accessors.c
rc/mi/Lget_fpreg.c
rc/mi/Lget_reg.c
rc/mi/Lset_caching_policy.c
rc/mi/Lset_fpreg.c
rc/mi/Lset_reg.c
rc/x86/Gget_save_loc-x86.c
rc/x86/Lget_save_loc-x86.c
107cf10470ca246a47327bbaa3a3c43237608da3 30-Jan-2004 hp.com!davidm <hp.com!davidm> (DWARF_REGNUM_MAP_LENGTH): New macro.
(dwarf_to_unw_regnum_map): Move to dwarf_i.h.
(dwarf_to_unw_regnum): Likewise.

(Logical change 1.162)
nclude/x86/dwarf-config.h
410e47882d08fbc05c692cf140df0ea7fe17df85 24-Jan-2004 hp.com!davidm <hp.com!davidm> ia64: Fix minor typo in local cache validation code.

BKrev: 40121e44mRfrs0XnrCwRnfUVqsMc0A
29a98b6cc3321cd3ce0af3250b73e8e3719da036 24-Jan-2004 hp.com!davidm <hp.com!davidm> (unw_addr_space_t.shared_object_removals): Adjust type to
"unsigned long long" to match glibc.

(Logical change 1.161)
nclude/tdep-ia64.h
c2e7130493890e2c2c101af74ba164330784bd2a 24-Jan-2004 hp.com!davidm <hp.com!davidm> (check_callback): Fix typo:
shared_object_subs -> shared_object_removals.

(Logical change 1.161)
rc/ia64/Gtables-ia64.c
d203e1282a474b67b4b970d8656a4b7edbc46c8f 24-Jan-2004 hp.com!davidm <hp.com!davidm> Fix typo in libunwind-common.h: unw_set_caching_policy() can't be
an arch-object.

BKrev: 40121d36ftMsA6nFS-m-ArtsU2Ofzg
6ea8ff61e062d0f8eab3122b4db98166b1226976 24-Jan-2004 hp.com!davidm <hp.com!davidm> (unw_set_caching_policy): Make it a regular object, not an
arch-object. It can't be the latter because it needs
to initialize libunwind if it's the first call to libunwind.

(Logical change 1.160)
nclude/libunwind-common.h
c325d9cbc235313d4e2a97d0bacef67e9c2f0cb7 24-Jan-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.159)
clocal.m4
onfigure
nclude/config.h.in
8caad34de64578b1cd93f9813bca591e3c3c6784 24-Jan-2004 mostang.com!davidm <mostang.com!davidm> Add check for struct dl_phdr_info.dlpi_subs and if it exists, use
it to detect when a shared object was unloaded.

BKrev: 4012147eAfnUqCaNTz0hOuDKmgrsRw
24d5682d421033cd4ca5cd3a98f81d4cbeb56cf0 24-Jan-2004 mostang.com!davidm <mostang.com!davidm> Add check for dlpi_subs member in struct dl_phdr_info.

(Logical change 1.159)
onfigure.in
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)
rc/ia64/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/ia64/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)
rc/debug_level.c
8358a9d89c7c0abfdc18ea0339e66e46cb01a6db 22-Jan-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.158)
rc/Makefile.in
rc/x86/Lget_accessors-x86.c
c44d77055cd4a89606dbe377824053ef074208b7 22-Jan-2004 hp.com!davidm <hp.com!davidm> Move debug defines after definition of UNWI_ARCH_OBJ().
Replace tdep_debug_level with unwi_debug_level and declare
it here.

(Logical change 1.158)
nclude/internal.h
998295eae19d76e112e45a10e23670ec7ee23d42 22-Jan-2004 hp.com!davidm <hp.com!davidm> Make the debug-level variable platform-independent.

x86: Make it build again, now that we have split
libunwind/libunwind-x86 libraries.

BKrev: 400f8b7fCq_pMtUflv1h3mrh97zHEQ
6975b2dcd9d84973e4da0500bf4b89404bb98003 22-Jan-2004 hp.com!davidm <hp.com!davidm> Initial revision
rc/debug_level.c
rc/x86/Gget_accessors-x86.c
rc/x86/Gglobal-x86.c
rc/x86/Gset_caching_policy-x86.c
rc/x86/Lglobal-x86.c
rc/x86/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)
rc/mi-init.c
d3725a7a98fd4ea55bc73cf214445f0b0990a478 22-Jan-2004 hp.com!davidm <hp.com!davidm> (unw_tdep_is_fpreg): Move after include of "libunwind-common.h".

(Logical change 1.158)
nclude/libunwind-x86.h
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)
rc/x86/is_fpreg-x86.c
7cc016a29a41f110f50f7863e184afef85185aa5 22-Jan-2004 hp.com!davidm <hp.com!davidm> (test_generic): Clean it up so it compiles cleanly and works for
REMOTE_ONLY case.

(Logical change 1.158)
ests/test-static-link-gen.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)
rc/x86/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)
rc/x86/Gglobal-x86.c
25b8795a4a55f6b1da272ce808b51010293c696a 22-Jan-2004 hp.com!davidm <hp.com!davidm> (tdep_debug_level): Remove.

(Logical change 1.158)
nclude/tdep-hppa.h
nclude/tdep-ia64.h
nclude/tdep-x86.h
rc/hppa/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)
rc/Gfind_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)
rc/Makefile.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)
rc/ia64/Gparser-ia64.c
42fafb9371f455b28a837375c452ecdac8861e21 22-Jan-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.158)
rc/x86/Lglobal-x86.c
rc/x86/Lset_caching_policy-x86.c
bc0f7315934045e05f6f3b1c67fdfd3d4bc713e4 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.157)
ests/Makefile.in
be177c8b06294d3218ecc0d3ee92ac5b6bda9de2 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/forker.c
ests/perf-startup
ests/test-static-link-gen.c
ests/test-static-link-loc.c
065d4553a8806b1f65ec1b7c53d55bb878ab0fb7 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Add section on performance testing libunwind.

(Logical change 1.157)
EADME
e1da71810155740b4cffe9b9e009fe5273802214 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Add copyright notice.

(Logical change 1.157)
ests/Gperf-simple.c
ests/test-mem.c
4082b8cc535b579c84dba8227eae31affdd3753e 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Add a test that verifies that libunwind and libunwind-PLAT can be
linked statically into the same program without causing any name
collisions.

Add a startup-overhead performance test.

BKrev: 400e1df39augNpsdTHkirRi4P9MW-Q
0378f95492333acfd6b6d6acd656197fa36bdcc1 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (check_PROGRAMS_common): Mention test-static-link.
(perf): New target.
(test_static_link_SOURCES): New macro.
(test_static_link_LDFLAGS): Likewise.

(Logical change 1.157)
ests/Makefile.am
a54ee8800953d330752704157f58e8375d850b86 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.157)
ests/forker.c
ests/perf-startup
ests/test-static-link-gen.c
ests/test-static-link-loc.c
f928eec36a362d66cacef4d01fbe1cf7b7b4f93d 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.156)
oc/libunwind-ptrace.man
oc/unw_getcontext.man
oc/unw_is_fpreg.man
5f0eebb2b4e73d8dde579a998939cdfa0b61660d 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
nclude/libunwind-ptrace.h
rc/x86/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)
rc/_UPT_internal.h
ests/test-ptrace.c
53b6d61c637ec347c5c900638197535f0a90acde 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Drop argument names from prototypes to reduce namespace pollution.
Define libunwind routines such that it is possible to take their
addresses.

(unw_is_fpreg): Move it closer to unw_getcontext(). Both are special
in the sense that they may be implemented as macros.

(Logical change 1.156)
nclude/libunwind-common.h
7915b799c8f9034502dd40234f951d41ada84848 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Drop argument names from prototypes to reduce namespace pollution.
Define libunwind routines such that it is possible to take their
addresses.

(Logical change 1.156)
nclude/libunwind-ia64.h
64854d0d7c782f4db880b294ce58f85d208faa25 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Drop argument names from prototypes to reduce namespace pollution.

(Logical change 1.156)
nclude/libunwind-dynamic.h
d10a5225e02c9f26ae9dddf578dc65a016a91888 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Document libunwind-ptrace.h and libunwind-ptrace library.

(Logical change 1.156)
oc/libunwind-ptrace.tex
1d8cf5b787c1dfe6c37598fd866186fef9f971e8 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Define API functions such that it is possible to take their address.
Remove argument names from prototypes to reduce namespace pollution.

x86: Implement a proper version of unw_is_fpreg().

BKrev: 400dd043lsa5_Cjc1wXdQqXVu71qgQ
541da9d8a59e2c2c970eb7d929e71927e1b21e20 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Clarify that unw_is_fpreg() may be a macro.

(Logical change 1.156)
oc/unw_is_fpreg.tex
c44549f66bcfad88017c8fd15e136f5183a35204 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Clarify that unw_getcontext() may be a macro.

(Logical change 1.156)
oc/unw_getcontext.tex
24ac6e693d024567bd4d1c70fb129f6f42fb10d6 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (unw_tdep_is_fpreg): Define it as an external function (a macro would
have to evaluate the argument multiple times so it's better
to implement it out-of-line).

(Logical change 1.156)
nclude/libunwind-x86.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)
rc/Makefile.am
66e78e1ca3696080ca471bd7c4952de8a9f2a0b5 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.156)
nclude/libunwind-ptrace.h
rc/x86/is_fpreg-x86.c
064bd0b0d997974a3e5e30c9401f0f06ac095219 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> ia64: More cleanups to avoid compiler-warnings/type-punning issues.

BKrev: 400dbea8_6fvjchKUo674SujeYKbOA
cd7dcba0edb09022b2478c5e265ac50f7f38e176 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Rename AO_TS_T to AO_TS_t (gets syntax coloring right... ;-).

(Logical change 1.155)
nclude/ia64/script.h
afd961b7b081fd18db55f60677012fbfe5afa608 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.155)
rc/Makefile.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)
rc/Gfind_dynamic_proc_info.c
40fcb9b7e5b69bed254f7a268d35754bd01895b5 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (unw_addr_space.cache_generation): Declare as AO_t instead of AO_T
(gets syntax-coloring right ;-).

(Logical change 1.155)
nclude/tdep-ia64.h
195eb642851e2d6d81e3638248878caf49fcae6d 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (struct mempool): Move "reserve" and "num_free" next to
each other to minimize padding.

(Logical change 1.155)
nclude/mempool.h
c62eddaa2f0c48e5202af31ea15a5ca125b5582b 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (libunwind_la_SOURCES_ia64_common): Mention debug_level-ia64.c.

(Logical change 1.155)
rc/Makefile.am
82cfd4862f2eccef35f00fb75bd687927092deb7 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (cmpxchg_ptr): Use a union to do the pointer-casting so that
GCC knows it can't use ANSI-C aliasing rules.

(Logical change 1.155)
nclude/internal.h
a432debbe2be69f91e004186379dc83a5b2b9664 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.155)
rc/ia64/debug_level-ia64.c
46a75eaddf88c24ba185c8f38058dfb50bdda390 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/debug_level-ia64.c
0fa4804fe4a3b396e58f434cf940cb3a29cab81e 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> ia64: Fix missing prototypes and clean up name-space issues as much
as possible.

BKrev: 400dba8cProHxFzftweAbEsjMpGUXA
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)
rc/ia64/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)
rc/ia64/flush_cache-ia64.c
c1bbbb2a3ac7914b482c043942135590a1c85573 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (unwi_dyn_validate_cache): Declare.

(Logical change 1.154)
nclude/internal.h
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)
rc/ia64/Gtables-ia64.c
2d4098ac19026c06203cfc47f031857f49aecc69 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (unw): Remove debug_level.
(tdep_debug_level): Declare it as a separate variable. This
ensures that only one debug-level variable is in use
at any given time, no matter what combination of
local-only vs generic and static vs. dynamic libraries
are in use.
(unw): Document why it's not an UNW_ARCH_OBJ().

(Logical change 1.154)
nclude/tdep-ia64.h
74dfbb0769eed2dc8a086ffbf96cda1265bb37bc 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (tdep_debug_level): Define.

(Logical change 1.154)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/init.h
47c32cd07f10fb2c40e7639aa68f0fee1998790c 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (_Uia64_search_unwind_table): Make it an UNW_OBJ() instead.
(unw_search_ia64_unwind_table): Declare.

(Logical change 1.154)
nclude/libunwind-ia64.h
0ce0769a98d9cc6d109c2cb3fa72cadbc1701329 20-Jan-2004 hp.com!davidm <hp.com!davidm> ia64: Fix caching such that stale data gets flushed automatically
(provided the C library supports it).

BKrev: 400c8995bgbB4UdHQQKyoPeUKxcc7g
a7aaf01e8a632f321544f3340cd083ffda21dab9 20-Jan-2004 hp.com!davidm <hp.com!davidm> Update.

(Logical change 1.153)
ODO
63390c226782a0a694c69dfa9ddb4bcb26779c21 20-Jan-2004 hp.com!davidm <hp.com!davidm> Cleanup file to make it easier to read.

(Logical change 1.153)
rc/Gfind_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)
rc/Gdyn-remote.c
ea78d27d971a7b7f48b33a77227a44d08c1cd7bd 20-Jan-2004 hp.com!davidm <hp.com!davidm> (unwi_dyn_remote_find_proc_info): Drop GENERATION argument.

(Logical change 1.153)
nclude/internal.h
0371bad3ebf500cce53db91fee34d4da8a5e2982 20-Jan-2004 hp.com!davidm <hp.com!davidm> (tdep_search_unwind_table): Initialize segbase to zero to avoid
compiler-warning.
(check_callback): New function.
(validate_cache): Likewise.
(ia64_local_validate_cache): Likewise.

(Logical change 1.153)
rc/ia64/Gtables-ia64.c
a2301f6f575841873bbaba5006b74ca87e2af21b 20-Jan-2004 hp.com!davidm <hp.com!davidm> (struct unw_addr_space.shared_object_removals) [!UNW_REMOTE_ONLY]: New member.

(Logical change 1.153)
nclude/tdep-ia64.h
641b12427d960ba05069560fc44a41e30ad865b5 20-Jan-2004 hp.com!davidm <hp.com!davidm> (ia64_validate_cache): New function.

(Logical change 1.153)
rc/ia64/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)
rc/ia64/init.h
95589da62c3092798bf52e90a43948c61a3f1462 14-Jan-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.152)
rc/Makefile.in
ests/Makefile.in
de5e9ddcf66d75369d220df9aed986472599796e 14-Jan-2004 mostang.com!davidm <mostang.com!davidm> Minor Makefile fixes.

BKrev: 4004e000yXlnK3dtA2NOZWMLn3gl3A
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)
rc/Makefile.am
e703b3d27858c12bc4e101732eb7b8d8553cc3e5 03-Jan-2004 hp.com!davidm <hp.com!davidm> Use print_error() instead of fprintf() to stderr.

(Logical change 1.151)
rc/ia64/Gparser-ia64.c
7583863b9fe630da92d9195ad4b0a683c3c12bf7 03-Jan-2004 hp.com!davidm <hp.com!davidm> Split libunwind into three separate libraries:

libunwind for local unwinding only
libunwind-$ARCH for generic unwinding
libunwind-ptrace for the _UPT-convenience functions

Also, many small tweaks to reduce the number of dynamic relocs that
are needed by libunwind.so. For IA-64, we're down to:

13 REL64/FPTR64 relocations
27 IPLT relocations
32 NONE relocations

BKrev: 3ff69e70FKxyD9S7ZHpBSSlxEdJLWQ
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)
rc/ia64/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)
rc/ia64/dyn_info_list-ia64.S
d28aba1c5695e91835bff1f26b138639d7bfc0e0 03-Jan-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.151)
rc/ia64/Lget_accessors-ia64.c
972a85f7fd6d1d9db52ea8d9bc114131e63d59c9 03-Jan-2004 hp.com!davidm <hp.com!davidm> Minor reformatting.

(Logical change 1.151)
rc/mi-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)
rc/Makefile.am
e0585b4a714186d95a21ca46c94602cd216d1d1d 03-Jan-2004 hp.com!davidm <hp.com!davidm> Initial revision
rc/dyn-info-list.c
rc/ia64/Gget_accessors-ia64.c
rc/ia64/Gglobal-ia64.c
rc/ia64/Gset_caching_policy-ia64.c
rc/ia64/Gtables-ia64.c
rc/ia64/Lglobal-ia64.c
rc/ia64/Lset_caching_policy-ia64.c
rc/ia64/Ltables-ia64.c
rc/ia64/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)
rc/_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)
rc/ia64/get_accessors-ia64.c
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/Gget_proc_info_by_ip.c
rc/_UPT_accessors.c
rc/_Unwind_Backtrace.c
rc/_Unwind_DeleteException.c
rc/_Unwind_FindEnclosingFunction.c
rc/_Unwind_ForcedUnwind.c
rc/_Unwind_GetBSP.c
rc/_Unwind_GetCFA.c
rc/_Unwind_GetDataRelBase.c
rc/_Unwind_GetGR.c
rc/_Unwind_GetIP.c
rc/_Unwind_GetLanguageSpecificData.c
rc/_Unwind_GetRegionStart.c
rc/_Unwind_GetTextRelBase.c
rc/_Unwind_RaiseException.c
rc/_Unwind_Resume.c
rc/_Unwind_Resume_or_Rethrow.c
rc/_Unwind_SetGR.c
rc/_Unwind_SetIP.c
rc/elfxx.c
rc/hppa/Gget_proc_info-hppa.c
rc/hppa/Gget_proc_name-hppa.c
rc/hppa/Gget_reg-hppa.c
rc/hppa/Ginit-hppa.c
rc/hppa/Ginit_local-hppa.c
rc/hppa/Gstep-hppa.c
rc/hppa/flush_cache-hppa.c
rc/hppa/get_accessors-hppa.c
rc/ia64/Gcreate_addr_space-ia64.c
rc/ia64/Gdestroy_addr_space-ia64.c
rc/ia64/Gget_fpreg-ia64.c
rc/ia64/Gget_proc_info-ia64.c
rc/ia64/Gget_proc_name-ia64.c
rc/ia64/Gget_reg-ia64.c
rc/ia64/Gget_save_loc-ia64.c
rc/ia64/Ginit-ia64.c
rc/ia64/Ginit_local-ia64.c
rc/ia64/Ginit_remote-ia64.c
rc/ia64/Gis_signal_frame-ia64.c
rc/ia64/Gresume-ia64.c
rc/ia64/Gset_fpreg-ia64.c
rc/ia64/Gset_reg-ia64.c
rc/ia64/Gstep-ia64.c
rc/ia64/flush_cache-ia64.c
rc/ia64/regname-ia64.c
rc/os-linux.c
rc/x86/Gcreate_addr_space-x86.c
rc/x86/Gget_proc_info-x86.c
rc/x86/Gget_proc_name-x86.c
rc/x86/Gget_reg-x86.c
rc/x86/Ginit-x86.c
rc/x86/Ginit_local-x86.c
rc/x86/Ginit_remote-x86.c
rc/x86/Gis_signal_frame-x86.c
rc/x86/Gresume-x86.c
rc/x86/Gset_reg-x86.c
rc/x86/Gstep-x86.c
rc/x86/flush_cache-x86.c
rc/x86/get_accessors-x86.c
rc/x86/regname-x86.c
rc/x86/set_caching_policy-x86.c
23024e28c09d867dc4777c64818a27c74f38f017 03-Jan-2004 hp.com!davidm <hp.com!davidm> Add includes of <string.h> and <unistd.h>.
(NORETURN): New macro.
(PROTECTED): Likewise.
(print_error): New inline routine.
(fetch8): Provide UNW_LOCAL_ONLY-version.
(fetch16): Likewise.
(fetch32): Likewise.
(fetchw): Likewise.
(_U_dyn_info_list_addr): Declare.

(Logical change 1.151)
nclude/internal.h
32f19d0e09def03b25de038315a92ff032e1cdee 03-Jan-2004 hp.com!davidm <hp.com!davidm> (test_ptrace_LDADD): New macro.

(Logical change 1.151)
ests/Makefile.am
9b52d39425778ccf03525593ab9573974cae70dd 03-Jan-2004 hp.com!davidm <hp.com!davidm> (tdep_find_proc_info): Declare it as a regular object (not arch-obj).
(tdep_uc_addr): Likewise.
(tdep_put_unwind_info): Define only if not UNW_LOCAL_ONLY.
(unw): Declare as regular object.

(Logical change 1.151)
nclude/tdep-ia64.h
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)
rc/mempool.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)
rc/Gfind_dynamic_proc_info.c
98f917270f50049145735a7ff6fb57cd1a924e94 03-Jan-2004 hp.com!davidm <hp.com!davidm> (intern_string): Declare as "inline".

(Logical change 1.151)
rc/Gget_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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gglobal-ia64.c
b1036f45c99f0882f39c69db3cbe9f67b8efe9b2 03-Jan-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.151)
rc/dyn-info-list.c
rc/ia64/Lglobal-ia64.c
rc/ia64/Lset_caching_policy-ia64.c
rc/ia64/Ltables-ia64.c
15cfb04fbb3559cff3857ac17a3e56a87b7857a0 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> Drop HIDDEN from declarations, only the definitions need it.

BKrev: 3fe55276l5is4kGRztiCsLjFL4plkA
b9d2cc7919cf343596fd007506492621311b1c43 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> Drop HIDDEN from declarations, only the definitions need it.

(Logical change 1.150)
nclude/dwarf.h
nclude/mempool.h
nclude/tdep-ia64.h
nclude/x86/dwarf-config.h
rc/_UPT_internal.h
rc/elfxx.h
693485b3f0b8058b1455f572d5b61df8e7c495ae 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> Squash another dynamic reloc.

BKrev: 3fe54f50_pi4_WP0OBGai6y1hiaaYQ
8af7d0d636c75d72274c4962d912af136980fb1c 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (unwi_full_sigmask): Mark as HIDDEN.

(Logical change 1.149)
rc/mi-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)
rc/ia64/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)
rc/dyn-register.c
051938492f8c999efd0b748eaec77aeed91e2042 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> Tweak things a little so fewer dynamic relocations are needed in
the shared object. The dynamic relocation count for ia64 now
dropped from 747 to 142, mostly because of the removal of the
regname[] array.


BKrev: 3fe549f8sWboFhUnpV-CLNbxTqdMQg
f6158814a8e0ca8bdb32c9be07d87d01c2ac221e 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.148)
oc/libunwind-dynamic.man
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)
rc/ia64/unwind_decoder.h
aa800d423d128748d1ba6eae70fbbf253edc766e 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (unw): Mark it as HIDDEN.

(Logical change 1.148)
nclude/tdep-ia64.h
rc/ia64/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)
rc/ia64/regname-ia64.c
3d24b59dbaa67b246d7b627a5f61e2b381d01838 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> Update it some more.

(Logical change 1.147)
oc/libunwind-dynamic.tex
8365c7bc6034faa12786087e4c5679fc202a0437 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> Minor cleanups for comments and libunwind-dynamic(3) man-page.

BKrev: 3fe53575d8PuLMPhXZ-UYCouQUlOoQ
e6aedd308977e834aca55ce5bc4fee66a4161d74 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (dyn_generation): Drop bogus comment.

(Logical change 1.147)
nclude/tdep-ia64.h
d5db6013fff11e1b842442cf56d09162a4c24839 21-Dec-2003 mostang.com!davidm <mostang.com!davidm> (UNW_PI_FLAG_FIRST_TDEP_BIT): Fix comment.

(Logical change 1.147)
nclude/libunwind-common.h
70be1294cee8730df77e26cd1748718878c50456 20-Dec-2003 hp.com!davidm <hp.com!davidm> Update.

(Logical change 1.146)
ODO
c0aeb8ae37fbd1c012d5e244a42f9c6ce8763cb7 20-Dec-2003 hp.com!davidm <hp.com!davidm> Switch over to DWARF-based unwinder.

BKrev: 3fe43768R53fmSZyyjrBhlaqT72ajw
468aaccf17a145c7275b469ddc2617c644619c21 20-Dec-2003 hp.com!davidm <hp.com!davidm> Switch over to DWARF-based unwinder.

(Logical change 1.146)
nclude/libunwind-x86.h
nclude/tdep-x86.h
rc/x86/Gget_proc_info-x86.c
rc/x86/Gget_proc_name-x86.c
rc/x86/Ginit-x86.c
rc/x86/Ginit_local-x86.c
rc/x86/Ginit_remote-x86.c
rc/x86/Gis_signal_frame-x86.c
rc/x86/Gregs-x86.c
rc/x86/Gresume-x86.c
rc/x86/Gstep-x86.c
rc/x86/flush_cache-x86.c
rc/x86/get_accessors-x86.c
rc/x86/global-x86.c
rc/x86/init.h
rc/x86/regname-x86.c
rc/x86/unwind_i.h
9fdd520e59a2b85188403b5ec6e18345e503dcf9 20-Dec-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.146)
akefile.in
rc/Makefile.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)
rc/Makefile.am
67cfd98db9cd19b6f63b5367c7fe2fd9f1ac48f6 20-Dec-2003 hp.com!davidm <hp.com!davidm> (EXTRA_DIST): Mention include/dwarf.h.

(Logical change 1.146)
akefile.am
0f47ba069ff3b60989801204765547e2b0b31044 20-Dec-2003 hp.com!davidm <hp.com!davidm> Add a first rough draft of a DWARF unwinder.

BKrev: 3fe435ccX0KHxOFBYQSjmpTHXZK3XQ
45fccdc2f3c3383fd9474e9fec910e5d9de323f6 20-Dec-2003 hp.com!davidm <hp.com!davidm> (unw_dyn_dwarf_fde_info_t): New type to handle (pre-parsed) DWARF
unwind-info.
(unw_dyn_info_t): Add member "dfi".

(Logical change 1.145)
nclude/libunwind-dynamic.h
eb51b4294aa18ab13c9496378abb25162688235b 20-Dec-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.145)
nclude/dwarf.h
nclude/x86/dwarf-config.h
rc/dwarf/Gexpr-dwarf.c
rc/dwarf/Gfde-dwarf.c
rc/dwarf/Gfind_proc_info-lsb.c
rc/dwarf/Gparser-dwarf.c
rc/dwarf/Gpe-dwarf.c
rc/dwarf/Gstep-dwarf.c
rc/dwarf/Lexpr-dwarf.c
rc/dwarf/Lfde-dwarf.c
rc/dwarf/Lfind_proc_info-lsb.c
rc/dwarf/Lparser-dwarf.c
rc/dwarf/Lpe-dwarf.c
rc/dwarf/Lstep-dwarf.c
rc/dwarf/dwarf-eh.h
rc/dwarf/global-dwarf.c
67921394ac905052401cf37fed2407459fbe8004 20-Dec-2003 hp.com!davidm <hp.com!davidm> Miscellaneous minor fixes.

BKrev: 3fe434c99pYlaA2KOONW5y6kHrby2w
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)
rc/_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)
rc/_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)
rc/_Unwind_GetDataRelBase.c
2afc5f7ddbf541ac9d113490b5d44840b8b63084 20-Dec-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.144)
rc/Ldyn-extract.c
rc/Ldyn-remote.c
0bbb2fab680da4bb6ab8f3cfc46ab595c6a94118 20-Dec-2003 hp.com!davidm <hp.com!davidm> Initial revision
nclude/dwarf.h
nclude/x86/dwarf-config.h
rc/Ldyn-extract.c
rc/Ldyn-remote.c
rc/dwarf/Gexpr-dwarf.c
rc/dwarf/Gfde-dwarf.c
rc/dwarf/Gfind_proc_info-lsb.c
rc/dwarf/Gparser-dwarf.c
rc/dwarf/Gpe-dwarf.c
rc/dwarf/Gstep-dwarf.c
rc/dwarf/Lexpr-dwarf.c
rc/dwarf/Lfde-dwarf.c
rc/dwarf/Lfind_proc_info-lsb.c
rc/dwarf/Lparser-dwarf.c
rc/dwarf/Lpe-dwarf.c
rc/dwarf/Lstep-dwarf.c
rc/dwarf/dwarf-eh.h
rc/dwarf/global-dwarf.c
198a57e6351cd9fa363852fb627d3b47dcc28cda 20-Dec-2003 hp.com!davidm <hp.com!davidm> Declare mempool-routines as HIDDEN.

BKrev: 3fe433edrU01dLxNLAkrCR51vu40gg
b6adfb75c4bb5dc8da681951338c218cf68a88c3 20-Dec-2003 hp.com!davidm <hp.com!davidm> Declare mempool-routines as HIDDEN.

(Logical change 1.143)
nclude/mempool.h
rc/mempool.c
bc2e45cb27bdb6cfcd13e3859df8ebb88b6a1e0c 20-Dec-2003 hp.com!davidm <hp.com!davidm> Add new Debug() macro and create both generic and local-only versions
of the proc_info-related routines.

BKrev: 3fe4335bpSJIXmX-zJyrvEbIxOJvDA
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)
rc/Gfind_dynamic_proc_info.c
7d3de049e60678f49d421c110ec12ff98a238ced 20-Dec-2003 hp.com!davidm <hp.com!davidm> (Debug): New macro. This one automates some of usual stuff that
gets printed during debugging and is supposed to produce
a nicer format. Eventually, we'll switch everything over
from debug() to Debug().
(extract_dynamic_proc_info): We need both generic and local-only.
(dyn_remote_find_proc_info): Likewise.
(dyn_remote_put_unwind_info): Likewise.

(Logical change 1.142)
nclude/internal.h
dcd705f1a44bda2b0e47e3aed58874e226ed5172 20-Dec-2003 hp.com!davidm <hp.com!davidm> Use Elf_W() instead of ElfW() etc. to avoid clash with <linker.h>.

BKrev: 3fe43140p4uizriW-KkInfcwUfTbaw
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)
rc/elfxx.c
rc/elfxx.h
5e48061ba626625f4e4888e58eeee19d39fa8b17 20-Dec-2003 hp.com!davidm <hp.com!davidm> Update copyright header.

(Logical change 1.140)
rc/ia64/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)
rc/dyn-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)
rc/Gdyn-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)
rc/dyn-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)
rc/Gdyn-extract.c
b467d68ad0d11a0e09de195c5ad813fdfdcef5bb 20-Dec-2003 hp.com!davidm <hp.com!davidm> Rearrange files and type-definitions a bit to prepare for
DWARF unwinder.

BKrev: 3fe4308asly03beLxnt08ctZVykFfA
9b52308ae2879ca69dd46987319b6dcbb7ae4372 20-Dec-2003 hp.com!davidm <hp.com!davidm> Minor whitespace fixes.

(Logical change 1.140)
rc/ia64/Gparser-ia64.c
rc/ia64/flush_cache-ia64.c
b25fd18403d5599ed058e971889b1924fdcbfd54 20-Dec-2003 hp.com!davidm <hp.com!davidm> Initial revision
rc/Gdyn-extract.c
rc/Gdyn-remote.c
64c0ad587613c6ea1f01addeb662edb471113571 20-Dec-2003 hp.com!davidm <hp.com!davidm> Delete: src/x86/tables-x86.c

}(Logical change 1.140)
rc/x86/tables-x86.c
fbe40e537f82a111e2ea6a26ab5197c084c2de92 20-Dec-2003 hp.com!davidm <hp.com!davidm> (unw_word_t): Let the architecture-specific header take care of
defining this type---it's needed very early on.
(unw_proc_info_t): Add architecture-specific "extra" member. Empty
for ia64, so no ABI change.
Don't include libunwind-dynamic.h here.

(Logical change 1.140)
nclude/libunwind-common.h
77b06d67aa7fba8fdd6935f8dd79035b54bc10a4 20-Dec-2003 hp.com!davidm <hp.com!davidm> (unw_word_t): Declare it here.
(unw_tdep_proc_info_t): New type.
Include "libunwind-dynamic.h" here.

(Logical change 1.140)
nclude/libunwind-hppa.h
nclude/libunwind-ia64.h
9240efe4a904ff8b1c93bdca1bdb129df9585fc9 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> Update.

(Logical change 1.139)
ODO
3dba28237dbfbdade6a7683c3b0cb3ab12f1bba3 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.139)
oc/Makefile.in
oc/libunwind.man
e91ef297272549a1fde65db731125d70d9376f64 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> Partial draft.

(Logical change 1.139)
oc/libunwind-dynamic.tex
f18f14e2f56701d66358ef9c218fcaded3cd773f 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.139)
oc/_U_dyn_cancel.man
oc/_U_dyn_cancel.tex
oc/_U_dyn_register.man
oc/_U_dyn_register.tex
oc/libunwind-dynamic.man
76a1dfe588fc5cdcb3c6feb0de3f43845393e34c 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
oc/_U_dyn_cancel.man
oc/_U_dyn_cancel.tex
oc/_U_dyn_register.man
oc/_U_dyn_register.tex
oc/libunwind-dynamic.man
4ea1dd7fe55efce3c4880fae1f03939d46a3d643 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> Fix some typos.

(Logical change 1.139)
oc/libunwind.tex
e70096e64b72a7096a6211056b7c373fe9e5915c 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> Add some missing copyright headers.
Start documenting the dynamic unwind-info interface.

BKrev: 3fd6c7de24XUspEjp5_bwOrhomI7Qg
2c1bae779884b75b7e6d9636f7e0898ba4451233 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> Add copyright header.

(Logical change 1.139)
rc/Gfind_dynamic_proc_info.c
9765f67c9de0ed7e5bb452742b0549eaf55a0658 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> A

(Logical change 1.139)
rc/dyn-register.c
85c5e0c74aa1ac9ba033040f52182eac30e9a6a3 10-Dec-2003 mostang.com!davidm <mostang.com!davidm> (man3_MANS): Mention libunwind-dynamic.man, _U_dyn_register.man, and
_U_dyn_cancel.man.
(EXTRA_DIST): Mention libunwind-dynamic.tex, _U_dyn_register.tex, and
_U_dyn_cancel.tex.

(Logical change 1.139)
oc/Makefile.am
fab61cfbeb815da5619dd1d92ab8edc7c5e450d4 05-Dec-2003 mostang.com!davidm <mostang.com!davidm> Up version number.

(Logical change 1.138)
EADME
onfigure.in
bcdedf6b28d07d036eaded28c97140a5866bc4c5 05-Dec-2003 mostang.com!davidm <mostang.com!davidm> Switch from __sync_val_compare_and_swap() to
__sync_bool_compare_and_swap() since that's we need nowadays anyhow
and since that's also provided by ecc v7.0.

(Logical change 1.138)
nclude/internal.h
046362a970747cb63665671ca09daa3cab28e1fa 05-Dec-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.138)
onfigure
be77e5878811bed6cff0d664fd67bf9f00549d15 05-Dec-2003 mostang.com!davidm <mostang.com!davidm> Miscellaneous minor updates for v0.96 release.

BKrev: 3fd028d4RzXPYjIxwfb_pTp7mP8inQ
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)
rc/Gget_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)
rc/mempool.c
47c25b753cd84c73019f8f53cd5bed262c1870b9 05-Dec-2003 mostang.com!davidm <mostang.com!davidm> (run_script): Drop left-over __builtin_expect() call.

(Logical change 1.138)
rc/ia64/Gscript-ia64.c
d799003645296b3af5e5aee81d0bad9607524fcf 05-Dec-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.137)
ests/Makefile.in
dde43e2bee0b4273aef6c01366225f774d29cd69 05-Dec-2003 hp.com!davidm <hp.com!davidm> Initial revision
ests/test-mem.c
c368e82f2e31c8328abcbdae5f554406063c9b64 05-Dec-2003 hp.com!davidm <hp.com!davidm> Add a test-mem program which ensures that basic unwinding works even in
low-memory situations (i.e., when memmap() fails with ENOMEM).

BKrev: 3fcfd50fWassm6Tl9Vr0HonXjQJydA
d154b86e841cc0b0e920b1d0dc40010f005a679e 05-Dec-2003 hp.com!davidm <hp.com!davidm> (check_PROGRAMS_cdep): Mention test-mem.

(Logical change 1.137)
ests/Makefile.am
5e111c69df0a0b9e733a662ea7877b3cb73fc661 05-Dec-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.137)
ests/test-mem.c
e71e68a15e7c9d9565cf2142a91e1741801e2156 05-Dec-2003 hp.com!davidm <hp.com!davidm> Fix call to cmpxchg_ptr() in mempool.c.

BKrev: 3fcfc35cbujZTHxy4Tm1JBHXuIf96w
ac224b48bb15a141836db605762ab946161569ab 05-Dec-2003 hp.com!davidm <hp.com!davidm> (sos_alloc): Fix call to cmpxchg_ptr().

(Logical change 1.136)
rc/mempool.c
7661874fbe680d2ff74c61189d5bce8211ba834e 04-Dec-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.135)
akefile.in
oc/Makefile.in
3b54f2a48d0f5d872d1d2f0fd92a62aebffbf507 04-Dec-2003 hp.com!davidm <hp.com!davidm> R

(Logical change 1.135)
rc/Makefile.in
0ced07af8c75ccf2122ef2aff80fdb66af5a7000 04-Dec-2003 hp.com!davidm <hp.com!davidm> Mention unw_get_proc_info_by_ip() man-page.

(Logical change 1.135)
oc/Makefile.am
ab0fdbbb4ce951d3c5f39f9412fb0542487879f0 04-Dec-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.135)
nclude/unwind.h
rc/_Unwind_Backtrace.c
rc/_Unwind_DeleteException.c
rc/_Unwind_FindEnclosingFunction.c
rc/_Unwind_ForcedUnwind.c
rc/_Unwind_GetBSP.c
rc/_Unwind_GetCFA.c
rc/_Unwind_GetDataRelBase.c
rc/_Unwind_GetGR.c
rc/_Unwind_GetIP.c
rc/_Unwind_GetLanguageSpecificData.c
rc/_Unwind_GetRegionStart.c
rc/_Unwind_GetTextRelBase.c
rc/_Unwind_RaiseException.c
rc/_Unwind_Resume.c
rc/_Unwind_Resume_or_Rethrow.c
rc/_Unwind_SetGR.c
rc/_Unwind_SetIP.c
rc/unwind-internal.h
1a7d4ee7ed467d951d9c36d6865bc4fdf40879b4 04-Dec-2003 hp.com!davidm <hp.com!davidm> Initial revision
nclude/unwind.h
rc/_Unwind_Backtrace.c
rc/_Unwind_DeleteException.c
rc/_Unwind_FindEnclosingFunction.c
rc/_Unwind_ForcedUnwind.c
rc/_Unwind_GetBSP.c
rc/_Unwind_GetCFA.c
rc/_Unwind_GetDataRelBase.c
rc/_Unwind_GetGR.c
rc/_Unwind_GetIP.c
rc/_Unwind_GetLanguageSpecificData.c
rc/_Unwind_GetRegionStart.c
rc/_Unwind_GetTextRelBase.c
rc/_Unwind_RaiseException.c
rc/_Unwind_Resume.c
rc/_Unwind_Resume_or_Rethrow.c
rc/_Unwind_SetGR.c
rc/_Unwind_SetIP.c
rc/unwind-internal.h
3e7f0e617cc916fa7a76d8bcb5d2152a6c1c30c5 04-Dec-2003 hp.com!davidm <hp.com!davidm> Add C++ exception-handling ABI support (_Unwind_*() routines).

BKrev: 3fcee5d5OedwKDmoCnKUBq4NlExh4A
bf42f3a06c25f2ff05301b8e50c37a2a7e340c13 04-Dec-2003 hp.com!davidm <hp.com!davidm> (include_HEADERS): Mention include/unwind.h.

(Logical change 1.135)
akefile.am
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)
rc/Makefile.am
abec7553fe6470574c130d8a4cee151d8f227b83 04-Dec-2003 hp.com!davidm <hp.com!davidm> Include "config.h" only through "internal.h". config.h isn't
protected against multiple inclusion, so we need to be careful
to include it only in one place, namely internal.h.

BKrev: 3fcee471nOqcPrdK2cDWQbP6ugR78w
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)
rc/ia64/tables-ia64.c
6498cdf4d9877f4c78f8b4429e2abf70d17a550d 04-Dec-2003 hp.com!davidm <hp.com!davidm> Don't include "config.h" here.

(Logical change 1.134)
rc/_UPT_internal.h
rc/_UPT_reg_offset.c
rc/hppa/unwind_i.h
rc/ia64/rse.h
rc/ia64/unwind_i.h
rc/x86/unwind_i.h
e6f6a92db185a79b24660b60e55ef271bbbfd2f5 04-Dec-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.133)
oc/unw_get_proc_info_by_ip.man
oc/unw_get_proc_info_by_ip.tex
rc/Gget_proc_info_by_ip.c
rc/Lget_proc_info_by_ip.c
96d608b2ccef48090b55b1267712df8e4808331e 04-Dec-2003 hp.com!davidm <hp.com!davidm> Initial revision
oc/unw_get_proc_info_by_ip.man
oc/unw_get_proc_info_by_ip.tex
rc/Gget_proc_info_by_ip.c
rc/Lget_proc_info_by_ip.c
1849db3caf4eb265bd9cdb71ae71a05db13aa4af 04-Dec-2003 hp.com!davidm <hp.com!davidm> Add unw_get_proc_info_by_ip() routine.

BKrev: 3fcee37dM74V8XPv1_4maza0xTkvNQ
754967416975739abfd593ccc79cee81f60bb03e 04-Dec-2003 hp.com!davidm <hp.com!davidm> (unw_get_proc_info_by_ip): New routine.

(Logical change 1.133)
nclude/libunwind-common.h
aad17fb505642ad521e80914f757b79ac1f41f94 04-Dec-2003 hp.com!davidm <hp.com!davidm> Force per-thread caching to be off for now. It consumes too much
thread-local storage for little benefit, in my opinion.

BKrev: 3fcee29fSB9klrCJVW5dN-Luonl9wg
1334cae32430fe4544f776769d64b8ae1cdbb47b 04-Dec-2003 hp.com!davidm <hp.com!davidm> (HAVE___THREAD): Force it off for now---the per-thread cache uses
about 128KB of thread-local storage for each and every
thread, even if a thread never ever needs to unwind its
stack. Seems a bit much.
(ALWAYS_INLINE): New macro which can be used to force inlining
on compilers that support it.

(Logical change 1.132)
nclude/internal.h
ef00f9586c4875f2a02e8145fc3b7f7dbd0bc6ed 27-Nov-2003 hp.com!davidm <hp.com!davidm> Update for release of v0.95.

(Logical change 1.131)
EADME
2dcaa68adbb8920dd5fdd334d0a360926d989554 27-Nov-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.131)
rc/Makefile.in
64cff62a18b16accefaa73c223422294d37eb1e3 27-Nov-2003 hp.com!davidm <hp.com!davidm> Put some finishing touches on v0.95.

BKrev: 3fc5a51bY0SiQEuAKvdeDg2DIMRBtA
bd54a900bcb562035a0c2c71116524af50ae69e3 27-Nov-2003 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_x86): Mention x86/offsets.h.

(Logical change 1.131)
rc/Makefile.am
9441e6cb8981d821022bb9423d314b67ba21dba0 27-Nov-2003 hp.com!davidm <hp.com!davidm> (STACK_SIZE): Make it 128KB on x86. SIGSTKSZ is far too small.

(Logical change 1.131)
ests/bt.c
8beb14443675c6bce27a5f7b4a3ae5a2657f0f47 27-Nov-2003 hp.com!davidm <hp.com!davidm> Various small fixes to improve portability of libunwind and to get
warning-free compiles (with GCC anyhow).

BKrev: 3fc59f46KOa5SSu-_o9jXeExFfMblA
35300d06169b4b18908867ef16d4807dc0e59121 27-Nov-2003 hp.com!davidm <hp.com!davidm> Replace #ifdef UNW_DEBUG with #if UNW_DEBUG.

(Logical change 1.130)
rc/hppa/global-hppa.c
rc/ia64/Gdestroy_addr_space-ia64.c
rc/ia64/Ginit-ia64.c
rc/ia64/Grbs-ia64.c
rc/x86/global-x86.c
cda74fe038ad4b90878596f3529ca47d7feb42b6 27-Nov-2003 hp.com!davidm <hp.com!davidm> Replace #if DEBUG with #if UNW_DEBUG.

(Logical change 1.130)
rc/_UPT_access_reg.c
497018e9419a4d318bcaed5e67767c77d04d4ba7 27-Nov-2003 hp.com!davidm <hp.com!davidm> Include "elf32.h".

(Logical change 1.130)
nclude/tdep-x86.h
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)
rc/os-linux.c
1150a638d6322d94bd67f34020cfeeb73b082c21 27-Nov-2003 hp.com!davidm <hp.com!davidm> Delete extraneous .previous directive (reported by
Laurent Morichetti).

(Logical change 1.130)
rc/ia64/global-asm-ia64.S
dcf293aa30c4609abcec076021dc56e0716d84db 27-Nov-2003 hp.com!davidm <hp.com!davidm> Cast printf() argument to avoid compiler-warning.

(Logical change 1.130)
ests/bt.c
722933b6bc92464a55d971a490d39d9c98ff9514 27-Nov-2003 hp.com!davidm <hp.com!davidm> Cast printf() argument to avoid compiler warning.

(Logical change 1.130)
ests/Gtest-resume-sig.c
6c2e6e7f72c2e31360c5728044338d3d6b3f9454 27-Nov-2003 hp.com!davidm <hp.com!davidm> (update_frame_state): Delete unnecessary "pr" variable.

(Logical change 1.130)
rc/ia64/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)
rc/x86/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)
rc/ia64/Gget_save_loc-ia64.c
612917dce0dffabafe34dad9ebf93e8903ce45a4 27-Nov-2003 hp.com!davidm <hp.com!davidm> (tab): Declare as "static".

(Logical change 1.130)
rc/ia64/mk_Gcursor_i-ia64.c
7305d26f26f15f2f7e9720434225359e60ff8ee6 27-Nov-2003 hp.com!davidm <hp.com!davidm> (struct cursor): Declare pi_valid and pi_is_dynamic as unsigned to
avoid compiler warnings.

(Logical change 1.130)
nclude/tdep-ia64.h
7291d0217c602a31a02ecaa222254b863eb70515 27-Nov-2003 hp.com!davidm <hp.com!davidm> (rcsid): New variable.

(Logical change 1.130)
rc/mi-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)
rc/ia64/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)
rc/ia64/Gscript-ia64.c
dee53d780094be559381f8584a0a95222ecf5bb5 27-Nov-2003 hp.com!davidm <hp.com!davidm> (lookup_symbol): Delete unused variable "str_size".

(Logical change 1.130)
rc/elfxx.c
3e1200c200479e8011ec6c6b15be0efeef556b3f 27-Nov-2003 hp.com!davidm <hp.com!davidm> (linux_scratch_loc): Delete unnecessary variable "ret".

(Logical change 1.130)
rc/ia64/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)
rc/ia64/tables-ia64.c
06e572340efed7b938f0fc984ab561fd448e1f5a 27-Nov-2003 hp.com!davidm <hp.com!davidm> (a): Don't use inline-asm for Intel-compiler.

(Logical change 1.130)
ests/Gtest-exc.c
74ed7ea40def6aa0e6dd9bf45e88814a6a765505 27-Nov-2003 hp.com!davidm <hp.com!davidm> (_UPT_reg_offset): Declare as "extern".

(Logical change 1.130)
rc/_UPT_internal.h
04dd29b6ebac45da06672414032907082efe6048 27-Nov-2003 hp.com!davidm <hp.com!davidm> (UNUSED): New macro.
(UNW_DEBUG): If DEBUG is not defined, set it to 0.
(inline): Take advantage of UNUSED macro.
(HAVE_CMPXCHG): Don't define it if we're on HP-UX with GCC v3.2 to
work around a compiler-bug.

(Logical change 1.130)
nclude/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)
rc/_UPT_get_proc_name.c
5e446b24d7e2a107d5988db49f00b3e7de0295a7 27-Nov-2003 hp.com!davidm <hp.com!davidm> (ITERATIONS): New macro.
(maxlevel): New global variable.
(measure_unwind): Return init/step times via arg pointers.
(f1): Pass through init/step pointers.
(doit): New function.
(main): Use doit() instead of open code.

(Logical change 1.130)
ests/Gperf-simple.c
85d354c9d167ea3bde0789a0e093cf6dfb263575 27-Nov-2003 hp.com!davidm <hp.com!davidm> Work around libtool bug so compilationwith Intel compiler works again.

BKrev: 3fc5991dg2wv4IxyYc5QLOVccS6wbg
6b9526e8e0680aabe6eabf8f95ee8e9f26e6a6eb 27-Nov-2003 hp.com!davidm <hp.com!davidm> Fix typo in _UPT_get_dyn_info_list_addr() from yesterday that broke
remote dynamic unwind info lookup.

BKrev: 3fc595eeTAXHeXCDuZ1UTKzqgl7jJg
85bf403eab61f5f8427927f0fa99dd709cda6d9d 27-Nov-2003 hp.com!davidm <hp.com!davidm> (_UPT_get_dyn_info_list_addr): Fix typo.

(Logical change 1.128)
rc/_UPT_get_dyn_info_list_addr.c
b1d369ad0a35989b37afd26683ed2b06c32ff4ef 26-Nov-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.127)
onfigure
87418731564bb60a85b0259bf34cad30526ab96c 26-Nov-2003 hp.com!davidm <hp.com!davidm> Modernize configure.in.

BKrev: 3fc4f80cj12f979MDBVeoZwt_haAAQ
487beb89386313a9480ced5f48fffb159e5ad892 26-Nov-2003 hp.com!davidm <hp.com!davidm> Modernize AC_INIT/AC_INIT_AUTOMAKE calls.
(AC_CONFIG_SRCDIR): New call.

(Logical change 1.127)
onfigure.in
a4ab51f266b4db981c457ca6b0a2d0a354ba4f85 25-Nov-2003 hp.com!davidm <hp.com!davidm> Upon request from the gdb-maintainers, add support for keeping the
unwind-table in remote memory. This can be faster if the unwind-table
is large and only a few entries from the table need to be read. Such
remote tables are handled via a new unwind-table format called
UNW_INFO_FORMAT_TABLE (see libunwind-dynamic.h). The API remains
backwards-compatible with the exception of the ia64-specific
_Uia64_find_dyn_list() function.

BKrev: 3fc3d8cd4VXFifyDtAfkKgGAR7NcnA
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)
rc/Gput_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)
rc/Gget_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)
rc/dyn-extract.c
dd8806c82d65eb5eb6faf0065d271d6b80b8daa9 25-Nov-2003 hp.com!davidm <hp.com!davidm> (unw_dyn_info_format_t): Add UNW_INFO_FORMAT_REMOTE_TABLE.
(unw_dyn_remote_table_info_t): New type.
(unw_dyn_info): Add "rti" member.

(Logical change 1.126)
nclude/libunwind-dynamic.h
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)
rc/ia64/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)
rc/dyn-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)
rc/ia64/Gparser-ia64.c
48723262f780bea9ac8ced973be6555d36e9877f 25-Nov-2003 hp.com!davidm <hp.com!davidm> (_Uia64_find_dyn_list): Pass unw_dyn_info_t pointer instead of its members.

(Logical change 1.126)
nclude/libunwind-ia64.h
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)
rc/_UPT_get_dyn_info_list_addr.c
32894ce85af95a7a73ffb101d938c5161eeea047 25-Nov-2003 hp.com!davidm <hp.com!davidm> Fix the non-atomic_ops-version of cmpxchg_ptr().

BKrev: 3fc3b7e1Zo2K5ohi8QDhmWPnKb5iFQ
e01fb3b27e73b34888fdc4455e12e2bf1f5923cc 25-Nov-2003 hp.com!davidm <hp.com!davidm> (cmpxchg_ptr): Correct sense of comparison.

(Logical change 1.125)
nclude/internal.h
14e8ee4385de6e08db2f391ae018a96cd468918f 25-Nov-2003 hp.com!davidm <hp.com!davidm> ia64: If ATOMIC_OPS_H is defined, use a simple flag rather than a
pthread_mutex lock to mediate access to the script-cache.
This has the advantage of avoiding the relatively expensive
sigprocmask()/pthread_mutex_lock()/pthread_mutex_unlock()/sigprocmask()
sequence when caching is enabled. Also, with thread-local caching,
libunwind should scale perfectly to large number of CPUs/threads.

BKrev: 3fc299f5M7RqNOmP68nsDCIWdSS1lg
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)
rc/ia64/Gcreate_addr_space-ia64.c
6ed5d0264f6c449ef195d163f745df41001f0f69 25-Nov-2003 hp.com!davidm <hp.com!davidm> (ia64_script_cache_init): Delete.

(Logical change 1.124)
rc/ia64/unwind_i.h
d61f300b7bc316ea3df51813b390d88cbdeffde8 25-Nov-2003 hp.com!davidm <hp.com!davidm> (ia64_script_cache): If HAVE_ATOMIC_OPS_H is true, declare "busy" member
in lieu of "lock" member.

(Logical change 1.124)
nclude/ia64/script.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)
rc/ia64/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)
rc/ia64/Ginit-ia64.c
c3fa0b6fa8a5931df1fe4b70605b6a309485bbb9 24-Nov-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.123)
clocal.m4
onfigure
nclude/config.h.in
89d2adc59abdc8c24048bffc690357cb9093984f 24-Nov-2003 hp.com!davidm <hp.com!davidm> Drop include of ia64intrin.h.

(Logical change 1.123)
ests/ia64-test-dyn1.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)
rc/ia64/flush_cache-ia64.c
9a2388db17c6f0d8301d50024e68400d3ad99d7e 24-Nov-2003 hp.com!davidm <hp.com!davidm> Add support for the atomic-ops interface.

BKrev: 3fc27a12bs0NCbEFc99-DfZIKl61tA
5e832c337f691ea1e8176dc4546a2e7b790f112f 24-Nov-2003 hp.com!davidm <hp.com!davidm> Add CHECK_ATOMIC_OPS test.

(Logical change 1.123)
onfigure.in
8e36032bc5f40fc9cc3ac0294892b95a67017de5 24-Nov-2003 hp.com!davidm <hp.com!davidm> (unw_addr_space): If HAVE_ATOMIC_OPS_H is defined, declare cache_generation
of type AO_T. This is a temporary work-around until atomic_ops.h
supports atomic ops on 32-bit variables.

(Logical change 1.123)
nclude/tdep-ia64.h
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)
rc/mempool.c
90e8393da33de32f08e87697eec1ccca23a97cdd 24-Nov-2003 hp.com!davidm <hp.com!davidm> (inline): Add #undef of "inline" before (re-)defining it.
Add support for atomic_ops.h.
Add fetch_and_add1() and if it is supported, define
HAVE_FETCH_AND_ADD1.

(Logical change 1.123)
nclude/internal.h
94f198b28835ff21668abb53bf146cabf209fbb7 24-Nov-2003 hp.com!davidm <hp.com!davidm> (handler): Adjust printf format to avoid compiler warning.

(Logical change 1.123)
ests/Gtest-concurrent.c
64fa4c080a725ad1616e27e43babc9d6c97b40e7 24-Nov-2003 hp.com!davidm <hp.com!davidm> (CHECK_ATOMIC_OPS): New test.

(Logical change 1.123)
cinclude.m4
3f32d4b09f94a1f40ab57de66e0af0e058ec7cf5 24-Nov-2003 hp.com!davidm <hp.com!davidm> ia64: Don't acquire the script-cache lock when caching is disabled.

BKrev: 3fc24f7fZ4j5hs7_FGo85zJKgYbBCQ
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)
rc/ia64/Gscript-ia64.c
8a5d7aad9b455bbc77d81955d7bf6483ab4de53b 24-Nov-2003 hp.com!davidm <hp.com!davidm> ia64: Fix an initialization-race that kept NPTL test-case tst-cancel10 from
working properly.

BKrev: 3fc24f08_2n5sDugh5y-3SaRA4-JkQ
3f35f343c3c4c12ecd45e3b105c15c534a3d78ca 24-Nov-2003 hp.com!davidm <hp.com!davidm> (needs_initialization): Declare it as volatile so we get proper memory
ordering when accessing it. Also, shrink size to 1 byte and move
it closer to other frequently-used fields.

(Logical change 1.121)
nclude/tdep-ia64.h
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)
rc/ia64/global-ia64.c
955c9d72dee4633a86607c140186b6339c86dd2d 22-Nov-2003 hp.com!davidm <hp.com!davidm> Drop a bogus range-check from _UPT_find_proc_info.c.

BKrev: 3fbf024cAF5HwLyYvJe9ryYzraErAw
ca11999d9d860a5555bcb48e268b5ee52606b864 22-Nov-2003 hp.com!davidm <hp.com!davidm> (UPTi_find_unwind_table): Drop bogus range-check.

(Logical change 1.120)
rc/_UPT_find_proc_info.c
1d1e8f3ba783f169681e537f45533ddfe9094950 22-Nov-2003 hp.com!davidm <hp.com!davidm> ia64: Fix list of register-names used for debugging.

BKrev: 3fbf013cWBAW18Cb6_zIWA-yzUa1OA
40e929815cf487a89d781f4e3cff1b8b6ac41f25 22-Nov-2003 hp.com!davidm <hp.com!davidm> (unw.pre_name): Add missing register names.

(Logical change 1.119)
rc/ia64/global-ia64.c
21a8c644e756c12a1462c79989fb37b0bedf54dc 22-Nov-2003 hp.com!davidm <hp.com!davidm> ia64: Make per-thread caching work.

BKrev: 3fbf0066zF7IGnE1AphIo29Zv59ZqA
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)
rc/ia64/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)
rc/ia64/Gscript-ia64.c
984170936a452fa2d996d33ec24150bd333f0d39 22-Nov-2003 hp.com!davidm <hp.com!davidm> ia64: Fix the handling of r0. Previously, bad thing would happen
when accessing r0 and there was a signal frame on the stack.

BKrev: 3fbeff34laFDN81Kp37SbTkjOPIGYQ
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)
rc/ia64/Gregs-ia64.c
c23814c91c1440efe8c503643acb473c122a505e 22-Nov-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.116)
oc/unw_step.man
119f52f298cea3d93067b0ef372349d2094f723d 22-Nov-2003 hp.com!davidm <hp.com!davidm> Fix typo & description of unw_step(). Reported by Hans Boehm.

BKrev: 3fbefe06XgpjYsZN9iUagkJ44R-YVw
bb4371c364e7afeac7343846021d32f66b55d876 22-Nov-2003 hp.com!davidm <hp.com!davidm> Fix description of the return value.

(Logical change 1.116)
oc/unw_step.tex
34085cad7b867e20e1c21bd97da81e6cee8b050a 22-Nov-2003 hp.com!davidm <hp.com!davidm> Fix a typo.

(Logical change 1.116)
nclude/libunwind-x86.h
2c9be974dceb79ef5a3b72919b2b852f024fefe1 22-Nov-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.115)
akefile.in
clocal.m4
oc/Makefile.in
nclude/config.h.in
rc/Makefile.in
ests/Makefile.in
f626045f59ce0d16a5275fb6c5a7d92c08c95993 22-Nov-2003 hp.com!davidm <hp.com!davidm> Do autoreconf and work around libtool bug.

BKrev: 3fbefd541K4H9aGm1LrbxSo71QLLTw
a2ff0da66f0ab22fb3105318623caa0930ea0f7d 22-Nov-2003 hp.com!davidm <hp.com!davidm> Delete: aux/libtool

}(Logical change 1.115)
ux/libtool
e83a18421896dc56c46ea2c13d5d838aa96ac76f 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.114)
rc/Makefile.in
ests/Makefile.in
7a346fbf8ce35978524e85dd2c19768640f20c89 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> Measure with caching disabled, global caching, and thread-local
caching.

(Logical change 1.114)
ests/Gperf-simple.c
716484f0009c474bb72cbf096f933b4118bf17a5 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.114)
ests/Gtest-concurrent.c
ests/Ltest-concurrent.c
634e645f67f3b3bdfb78fdeee378b2253bc42e50 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/Gtest-concurrent.c
ests/Ltest-concurrent.c
2048e4726158de624333036c1e7331aac7952b1d 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> Add a test-case for concurrent (multi-threaded unwinding).
Expand the performance testing to cover all 3 caching policies.

BKrev: 3fbc146bA7l4JDVv-V9HbFW-FVtQ2Q
00f05d607bea83a253181e4c460c8b7a82d7d2c6 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> (check_PROGRAMS_cdep): Mention Gtest-concurrent and Ltest-concurrent.
(Ltest_concurrent_LDADD): New macro.
(Gtest_concurrent_LDADD): Ditto.

(Logical change 1.114)
ests/Makefile.am
f8c7df33594787e0087678199f95aab2f6861790 20-Nov-2003 hp.com!davidm <hp.com!davidm> Update README a bit.

BKrev: 3fbbf9ae53nvASEUb0trlAf2tq-adg
c3328ce1502f77c1151e36063d0e58c42462b489 20-Nov-2003 hp.com!davidm <hp.com!davidm> Delete: src/ia64/TODO

}(Logical change 1.113)
rc/ia64/TODO
b8e952c5a768fd9ae7ce22d687c4e223ea456c40 20-Nov-2003 hp.com!davidm <hp.com!davidm> Clarify the meaning of the results from "make check" a bit.

(Logical change 1.113)
EADME
42bf20b5ae10a11bedfdbc5bb89f0581b5268964 19-Nov-2003 mostang.com!davidm <mostang.com!davidm> Move initialization of unwi_full_sigmask to arch-specific code, since it occurred too late
otherwise.

BKrev: 3fbb0b33XipfeY83SU3DuNHfud_knQ
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)
rc/mi-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)
rc/ia64/global-ia64.c
ecd738c410150e3b920568c6967eca948d996786 19-Nov-2003 hp.com!davidm <hp.com!davidm> Protect initialization on ia64 with a global lock. Bug reported by
Laurent Morichetti.

BKrev: 3fbadf5dlbzh7FmpbxCzWYqxHwpecA
2f5a4b5679ce4c6abfd6a5b883ef3f89b557a646 19-Nov-2003 hp.com!davidm <hp.com!davidm> Locking is fixed now.

(Logical change 1.111)
ODO
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/global-ia64.c
3cc1ec6be945c4c254d7b81a480ed1dc82093c4a 19-Nov-2003 hp.com!davidm <hp.com!davidm> (struct ia64_global_unwind_state): Add "lock" member.

(Logical change 1.111)
nclude/tdep-ia64.h
6b6a0079e6636be6f5c1b7ff88dc75856ae5361b 18-Nov-2003 hp.com!davidm <hp.com!davidm> Update copyright year.
Minor formatting changes.

(Logical change 1.110)
rc/x86/Gstep-x86.c
c55348de6e5365d6efa921498cf8ea9e9cb724e6 18-Nov-2003 hp.com!davidm <hp.com!davidm> Update copyright year.

(Logical change 1.110)
rc/x86/Gis_signal_frame-x86.c
6f4a4e03e3ee823b1053c607edcbb24b0a374dd5 18-Nov-2003 hp.com!davidm <hp.com!davidm> Minor formatting changes/copyright year updates.

BKrev: 3fba93872R3ryaeRdve3QczhiBo0Pw
b85b2fb28f7d4bddc21d741febcc2183d2745446 18-Nov-2003 hp.com!hans_boehm <hp.com!hans_boehm> [PATCH] x86: fix unw_is_signal_frame() and unwinding across signal handlers

This patch fixes two problems: first, it makes unwinding across signal
handlers work on x86 and second it fixes unw_is_signal_frame() to work
properly when SA_SIGINFO is in effect.

BKrev: 3fba8f44PQxoVufTH31_1dmqQUZwSw
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)
rc/x86/Gis_signal_frame-x86.c
rc/x86/Gstep-x86.c
rc/x86/offsets.h
864270533f8f1d606cf16040f191562032d8949f 18-Nov-2003 com[davidm]!hans_boehm <com[davidm]!hans_boehm> Initial revision
rc/x86/offsets.h
6ebda139fe41ef77f90ac88fa67716691f99a8da 15-Nov-2003 hp.com!davidm <hp.com!davidm> Fix personality-routine lookup.
Fix segment-base calculation so it works for the Linux kernel DSO,
too.

BKrev: 3fb5f5e9Is6d_GnSjqzKQB4dkPZYjg
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)
rc/ia64/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)
rc/ia64/tables-ia64.c
5c9fea2476a5050a3d6643817fedb5175320eaa4 11-Oct-2003 hp.com!davidm <hp.com!davidm> Handle floating-point registers in unw_get_save_loc(). Reported by Rob
Faught.

BKrev: 3f8757a9sGMYbSXmjG4s8EyapZNMmw
233952e8552544f822ba68342010a5f40fea29e7 11-Oct-2003 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): Handle floating-point registers as well.

(Logical change 1.107)
rc/ia64/Gget_save_loc-ia64.c
4dfe79aef039d060cf3f056ec43c086d183b6854 11-Oct-2003 hp.com!davidm <hp.com!davidm> Fix HP-UX byte-order. Reported by Rob Faught.

BKrev: 3f87574e0SSJft768ryiIDwJP3NjBg
039accfd88a7475d7cc59c01d5027b1e5a399c92 11-Oct-2003 hp.com!davidm <hp.com!davidm> (__BYTE_ORDER): Fix HP-UX byte-order to be __BIG_ENDIAN, as it was meant
to be.

(Logical change 1.106)
nclude/internal.h
b41d75048f7f458a71a4540d8f6a407787034b9d 11-Oct-2003 hp.com!davidm <hp.com!davidm> Fix double-negation in unw_get_save_loc(). Reported by Rob Faught.

BKrev: 3f8755d6q9mbCMOMPX0wFRWDQXJB0g
bcbdc591bebaf842fb0d743d5bb032e054b9de04 11-Oct-2003 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): Fix double negation.

(Logical change 1.105)
rc/ia64/Gget_save_loc-ia64.c
9bd061eddbd63ddd974a5650c4c6d2125a71624a 25-Sep-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.104)
onfigure
587bba5c1f8491f852ef531d6266bec490a45f15 25-Sep-2003 hp.com!davidm <hp.com!davidm> Print normal output only if "verbose" mode is requested.

(Logical change 1.104)
ests/Gtest-init.cxx
27c3d57b902c25275dfa6dc14e87e4046b8edf2b 25-Sep-2003 hp.com!davidm <hp.com!davidm> Minor cleanups/fixups to get things to compile without warnings/errors
on ia64 and x86.

BKrev: 3f727d2ay6N9d_DGyb9rzU7iBNzZFg
8aff3354e2c59e1947ff124d92e891bd84f99e67 25-Sep-2003 hp.com!davidm <hp.com!davidm> Mention x86/set_caching_policy-x86.c.

(Logical change 1.104)
rc/Makefile.am
b3c9ffcf391c87cf0dca74426d7df8a88aa86228 25-Sep-2003 hp.com!davidm <hp.com!davidm> Initial revision
rc/x86/set_caching_policy-x86.c
d7d831e9bbb4e6dc7c84167b7f16105968df8e17 25-Sep-2003 hp.com!davidm <hp.com!davidm> Fix x86 b

(Logical change 1.104)
ests/bt.c
197801e3539650d84750479feccddf04be99222c 25-Sep-2003 hp.com!davidm <hp.com!davidm> AC_CHECK_HEADERS: Mention signal.h.
(CPPFLAGS): Move before AC_CHECK_TYPES(), so those later checks
run with -D_GNU_SOURCE.
(AC_CHECK_TYPES): Fix the check for sighandler_t.

(Logical change 1.104)
onfigure.in
87e2dfb9afb22679c5c41c2fb44a8da2698a5ba7 25-Sep-2003 hp.com!davidm <hp.com!davidm> (unw_regname): Fix signed/unsigned comparison.

(Logical change 1.104)
rc/x86/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)
rc/mempool.c
29f2f89a8fc3cd7f103fb7ed7e1c9f79adfd59b8 25-Sep-2003 hp.com!davidm <hp.com!davidm> (measure_unwind): Return 0.

(Logical change 1.104)
ests/Gperf-simple.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)
rc/elfxx.c
a237717fd749d3402b5d95a8603c25d02d782f2f 25-Sep-2003 hp.com!davidm <hp.com!davidm> (check_PROGRAMS_cdep): Move Gtest-init, Ltest-init, and
test-flush-cache to here from check_PROGRAMS_common.
They cannot be compiled/used for REMOTE_ONLY configurations.

(Logical change 1.104)
ests/Makefile.am
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)
rc/_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)
rc/_UPT_access_mem.c
e4be4f9dc50cf7c049228ba61d54a50199378ac4 25-Sep-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.104)
rc/x86/set_caching_policy-x86.c
368c9eeadcebd2526b52cad33672b4d39b0b2292 25-Sep-2003 hp.com!davidm <hp.com!davidm> Fix sigsetjmp() for Linux kernels with the stream-lined syscall
entry/exit path. Without this fix, unw_resume() failed to restore
most scratch register and caused test-setjmp to fail.

BKrev: 3f7278420gm7LAAf21d-L_Iuu7Zu_g
1c5c60b8ad9fa2094fb03aa211d9717dd8b30f05 25-Sep-2003 hp.com!davidm <hp.com!davidm> Add some more debug statements and fix some typos.

(Logical change 1.103)
ests/test-setjmp.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)
rc/ia64/Gresume-ia64.c
d09c9dcec90a02af3991feddafa42a3dd7512568 24-Sep-2003 hp.com!davidm <hp.com!davidm> Fix a performance regression in ia64_find_save_locs() which was
caused by the recent bug fix for the problem where a get_proc_info()
failure would cause a script to be created but not fully initialized.

BKrev: 3f72131a0z5c6mgTJsyoxCkNwHfgAA
048d4239ae39842884678f5493265d576b852cbc 24-Sep-2003 hp.com!davidm <hp.com!davidm> Collect 20 samples per run.

(Logical change 1.102)
ests/Gperf-simple.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)
rc/ia64/Gscript-ia64.c
01b02dde8946b5b2e38d247d5d68bdabfc2679f1 24-Sep-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.101)
clocal.m4
onfigure
285a4f5a90f71dfb31b0e749f4388425a0ff1ab6 24-Sep-2003 hp.com!davidm <hp.com!davidm> Document the __tls_get_addr unresolved reference problem and its
workaround (--disable-__thread).

BKrev: 3f7211f9WH9Qcnnwvbg7XZrxUqTbSg
3f9c0bcda68999fcf66395b0910bc18f895c8d6d 24-Sep-2003 hp.com!davidm <hp.com!davidm> Document the __tls_get_addr problem and its workaround
(--disable-__thread).

(Logical change 1.101)
EADME
d75c356fc8f810854875bf242105cac99d654d14 24-Sep-2003 hp.com!davidm <hp.com!davidm> (LIBUNWIND___THREAD): Check $enable___thread instead of $use__thread.

(Logical change 1.101)
cinclude.m4
1be40c4ff644b432dfbfaa66c6b2060fe3b85ab8 24-Sep-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.100)
ests/Makefile.in
8c1998a4e4701518a18c4b05925dfc04956cc3f5 24-Sep-2003 hp.com!davidm <hp.com!davidm> Regenerate tests/Makefile.in.

BKrev: 3f71f8fdprmJOkq4wWI63wf71SysnQ
dce915e1f6512286484edf9ce296bcde998566b7 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> Update.

(Logical change 1.99)
ests/Lia64-test-rbs.c
ests/Lia64-test-stack.c
ests/Ltest-dyn1.c
ests/Ltest-exc.c
ests/Ltest-init.cxx
ests/Ltest-resume-sig.c
e15cb5ce544734f20a36bf1b87c0157e294e70b7 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> Regenerate L files in tests/.

BKrev: 3f71258e3bOkW6VVLUiTwGUCKVlE8A
12876ef7815e26325a187fd5dbc0fda417011d7b 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.98)
ests/Gperf-simple.c
ests/Lperf-simple.c
ee803e7accc3ee551cee1e16f7654f7e8f64d72e 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/Gperf-simple.c
ests/Lperf-simple.c
dc8e7b65af5404f66165f6ccdaf6664bfefdb225 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> Add {G,L}perf-simple.c --- a simple performance tester.

BKrev: 3f712556eIGh9pZTC_I1mItZQYqbaw
e1bdc44e0f4cea85c1e72b50bd457c8a0f186bce 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> (noinst_PROGRAMS_cdep): Add Gperf-simple and Lperf-simple.

(Logical change 1.98)
ests/Makefile.am
2eec12620187b1198a5ae5b4779b6300a6863595 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> Add copyright message.

(Logical change 1.97)
ests/test-proc-info.c
9bd1b348b075572058ec13f81a832dba7b759ea0 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> Add copyright message to test-proc-info.c.

BKrev: 3f6aa8a7M8xx5tjWGNj4nOAVuSYuOQ
ef593732e747516535dadc3286a139ea52d37c13 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.96)
ests/test-flush-cache.c
9c8195cb413953a2e9389ccfc4c96953760c08d0 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/test-flush-cache.c
e323f3fae2ba890b8547c46743233cf6c3da14de 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> Fix script cache bug found by Brian Sumner: unw_flush_cache() would
(eventually) clear the IP values of all scripts, but failed to
update the hash/collision-chain info, which could result in
loops in the collision-chains. Fixed by flushing the cache under
the global lock and since things are locked now, we can update the
collision-chain etc. without fear of races. Added test-flush-cache
to test for this error-condition.



BKrev: 3f6aa88cQRr-NcDXg_8mM3dN2esAQQ
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)
rc/ia64/Gscript-ia64.c
29358553a96c99441e8e9d51cd55a2f3e3197174 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> (check_PROGRAMS_common): Mention test-flush-cache.

(Logical change 1.96)
ests/Makefile.am
dcd786be805b4f1c6cc049c550e12581c0b0e349 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> R

(Logical change 1.95)
ests/Makefile.in
9339de49da0ec6ddb1e195db70717344e498a000 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.95)
ests/test-proc-info.c
b36317df37eb35907dceeb345c78d27f30c5181e 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/test-proc-info.c
c15421a0467ea3fa6a58a0a977410456295049b8 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> Fix bug found by Brian Sumner: if get_proc_info() returned a
a failure status, we ended up bugging out at a time when the
script was already created, but not fully initialized. To prevent
this, the proc-info is now obtained early on, i.e., before creating
the script, so that if the proc-info cannot be obtained, we can bug
out without bad side-effects. Also, I added a test-program
(test-proc-info) which verifies that proc-info lookup failures are
not cached (which we don't want, because it could turn temporary
failures into permanent ones and would break UNW_ESTOPUNWIND).


BKrev: 3f694c12mGQ-jHr9HOtB4YXFHeLdMw
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gscript-ia64.c
d6946f580b6c7609c181bc6d9200481d04f7b043 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (ia64_fetch_proc_info): New procedure.

(Logical change 1.95)
rc/ia64/unwind_i.h
6f01170a2649d49926f06562dc098e5a7f57aba0 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (check_PROGRAMS_common): Mention test-proc-info.

(Logical change 1.95)
ests/Makefile.am
0cf47a160f2d628c3edb009244fae7b00d409adc 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> Add missing initialization of global script cache when creating a
new address-space.

BKrev: 3f694a25umn-Ju2rV_HQcTzxdHEF7g
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)
rc/ia64/Gcreate_addr_space-ia64.c
0fc6931c351afbec691e4833eee9cea075dc05af 20-Aug-2003 mostang.com!davidm <mostang.com!davidm> Fix two bugs found by Brian Sumner: nasty off-by-1 error in
rotate_gr() and bad check for -UNW_ESTOPUNWIND in ia64_find_save_locs().

BKrev: 3f43b7b6bW6Pi_LqDUH7ee9JLEZVNQ
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)
rc/ia64/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)
rc/ia64/Gscript-ia64.c
ba15ba3189d0f00f0b08d8bbcc9ae3157c6950e1 09-Jul-2003 hp.com!davidm <hp.com!davidm> Fix 32-bit truncation bugs that showed on 32-bit platforms.

BKrev: 3f0b468c3VGcLWKyM_ekm978YimfIw
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)
rc/ia64/Gparser-ia64.c
98b23722ae2a277c7945ea9c6346109766b52ae7 09-Jul-2003 hp.com!davidm <hp.com!davidm> Add support for new pt_regs layout of the Linux kernel.

BKrev: 3f0b45cej_awIYqXuJiWSoCvTnVxZQ
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gregs-ia64.c
18626b8def9998164faf369edfdc03865785ffe7 09-Jul-2003 hp.com!davidm <hp.com!davidm> (UNW_IA64_AR_SSD): New alias for ar26.

(Logical change 1.91)
nclude/libunwind-ia64.h
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)
rc/ia64/offsets.h
c7db73d180ea8ae4a125413c257aa7989013c59a 09-Jul-2003 hp.com!davidm <hp.com!davidm> (ABI_MARKER_OLD_LINUX_SIGTRAMP): Rename from ABI_MARKER_LINUX_SIGTRAMP.
(ABI_MARKER_OLD_LINUX_INTERRUPT): Rename from ABI_MARKER_LINUX_INTERRUPT.
(ABI_MARKER_LINUX_SIGTRAMP): Define with Linux ABI value (3).
(ABI_MARKER_LINUX_INTERRUPT): Ditto.

(Logical change 1.91)
nclude/tdep-ia64.h
3f25a5de6023940c5235d117b5155a9720c3a84b 03-Jun-2003 mostang.com!davidm <mostang.com!davidm> Merge bk://unwind@bkbits.net/libunwind
into panda.mostang.com:/data/home/davidm/src/unwind/libunwind

2003/06/03 14:35:33-07:00 mostang.com!davidm
Fix bug reported by Brian Sumner:

Replace state_record_pool with reg_state_pool. This avoids allocating
more than the necessary amount of memory when pushing register states.

BKrev: 3edd14c3Z03JVOhew5snOIkekLUxfg
d4f81e2b69559380079986a1c890fe6c29c2071c 03-Jun-2003 mostang.com!davidm <mostang.com!davidm> Auto merged

2003/06/03 14:35:33-07:00 mostang.com!davidm
(struct ia64_global_unwind-state): Rename member state_record_pool to
reg_state_pool.

(Logical change 1.90)
nclude/tdep-ia64.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)
rc/ia64/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)
rc/ia64/Gparser-ia64.c
c6455fd5c7973fb8e614b84682e5be1b2c822942 25-Apr-2003 hp.com!davidm <hp.com!davidm> Add support for Linux kernel interrupt frames.

BKrev: 3ea8e757INM8hMoZQ0uWCDgXxNAreg
0cc1fcb76ae2e93ca3e5cb5449b882bdea6f2c8c 25-Apr-2003 hp.com!davidm <hp.com!davidm> Add definitions for Linux interrupt frame layout (struct pt_regs).

(Logical change 1.89)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Ginit-ia64.c
d92ddf8128c69bb463bdc5d6952b9b2af8570ffb 25-Apr-2003 hp.com!davidm <hp.com!davidm> (common_init): Clear c->last_abi_marker.

(Logical change 1.89)
rc/ia64/init.h
e771bcab8fdec1daeb5ccae712088f8893f86305 25-Apr-2003 hp.com!davidm <hp.com!davidm> (ABI_MARKER_LINUX_INTERRUPT): New macro.
(struct cursor): Add "last_abi_marker" member. This is the sticky version of
"abi_marker".


(Logical change 1.89)
nclude/tdep-ia64.h
773c6b93d8a5f56da52d6e9b130c5798b125b9cf 25-Apr-2003 mostang.com!davidm <mostang.com!davidm> ltmain.sh, config.guess, config.sub:
Replace symlink with its contents.

BKrev: 3ea87b7bG63KhQhzroNA4Zd8RIkHfg
a16e51115814ae3c7ff2a500dcf657acb0163b00 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Up version number to 0.93.

(Logical change 1.87)
onfigure.in
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)
rc/ia64/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)
rc/ia64/mk_Gcursor_i-ia64.c
c784d06c85ea336797f40109e9429798d51db400 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.87)
onfigure
rc/Makefile.in
b39b4346605025a959e7dba21c12e499856f6c81 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.87)
rc/os-hpux.c
424ffd0db821a433467fd33de8df235a4c245442 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/mk_Gcursor_i-ia64.c
rc/ia64/mk_Lcursor_i-ia64.c
rc/os-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)
rc/ia64/Ginit-ia64.c
f3ca36f42d7e4948120603ab9ceae41c24d18a68 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Fix libunwind enough to be actually useful on HP-UX. tests/bt now prints a very
nice backtrace, handling unwinding across signal handlers just fine. Main missing
piece right now is that unw_resume() doesn't work because uc_access(3) refuses to
write ar.bsp. Duh.

BKrev: 3ea84cd3PHuNw5JsGXBuCzkJLDGUcA
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/mi-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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gregs-ia64.c
8b7c7e322a53e4fe65ed96701de91361beb493f7 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (do_backtrace): Also pring "gp".
(foo): Add some newlines for better readability.
(sighandler): Always declare as per Single UNIX Spec.
On HP-UX, use __uc_get_ip() to read the interruption IP.
(main): Always use sigaction() to install a signal handler, so we can
turn on the SA_SIGINFO flag.

(Logical change 1.87)
ests/bt.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)
rc/ia64/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)
rc/Makefile.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)
rc/ia64/unwind_i.h
08230509a362c0d77076c73c5cefe8493f1ac2b4 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> (ABI_LINUX): New macro.
(ABI_HPUX): Ditto.
(ABI_FREEBSD): Ditto.
(ABI_OPENVMS): Ditto.
(ABI_NSK): Ditto.
(ABI_WINDOWS): Ditto.
(unw_addr_space): Add member "abi".

(Logical change 1.87)
nclude/tdep-ia64.h
275253b46b6503959482b4c699d8e8e1192aba2d 24-Apr-2003 mostang.com!davidm <mostang.com!davidm> Upgrade to libtool v1.5.

BKrev: 3ea8386as3dauhSU3magjUYUGphE4w
9825197a09146c6259f085d8fd8b485e054351b7 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Update.

(Logical change 1.85)
ODO
e455a9297eacaa6237171860eb0c4ff50aacbae2 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Support assembly files.

(Logical change 1.85)
cripts/make-L-files
72425f375dfdc9b305daeacd469e7f8583487b8d 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Make unw_resume() work again for non-UNW_LOCAL_ONLY cases. This brings libunwind for
ia64 linux back to where it was before yesterday's Big Restructuring.

BKrev: 3ea6e802G5VmD4nReWXEzuP4FNJF1Q
747b961d317e24a74a0f85f7b9b0d5753526d878 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/Ginstall_cursor.S
rc/ia64/Gmk_cursor_i-ia64.c
rc/ia64/Linstall_cursor.S
rc/ia64/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)
rc/ia64/_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)
rc/ia64/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)
rc/ia64/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)
rc/Makefile.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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gmk_cursor_i-ia64.c
c56b0d6b05e7f484cb8896de79fd75b4841d1a5f 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.85)
rc/ia64/Linstall_cursor.S
rc/ia64/Lmk_cursor_i-ia64.c
ee54f6cbbdeecb5ef6f4c5509b8fac75a8f39ba4 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Remove preg_index[] initializer.

(Logical change 1.84)
rc/ia64/global-ia64.c
6aa6f2937578947b57e9d301ff8894926c76fa56 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.84)
rc/Makefile.in
6e5840f1327a0c0e5ff5d87e958c6d1e99587199 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/Grbs-ia64.c
rc/ia64/Lrbs-ia64.c
rc/ia64/_Uia64_install_cursor.S
b4a52cc9cc21e8b2b82423399181d7c09328ab2c 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> Big restructuring of ia64 code: the code generated for UNW_LOCAL_ONLY should be
more or less unchanged, but for the generic version, the save-location has been
expanded from a single word to two words. This is needed to accommodate 32-bit
targets and targets which require accessing the ucontext_t structure via uc_access(3).
Overall, this should be like a big no-op for Linux (apart from slowing down
the generic case a bit). However, at the moment, unw_resume() has not been updated
for the generic case (UNW_LOCAL_ONLY works fine though).

BKrev: 3ea62b2bm3Pz-s7tNlN5IA-1ENWKWw
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/Makefile.am
f8d5624ee9d902c6b406c81dd87e07e00b0122f2 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (ia64_strloc): New function to stringify a location.

(Logical change 1.84)
rc/ia64/Ginit-ia64.c
78a7c5a8c1ccc25532dbea4ceeb4942ba271ef69 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (ia64_script_insn_opcode): Rename IA64_INSN_ADD to IA64_INSN_INC_PSP,
and IA64_INSN_LOAD to IA64_INSN_LOAD_PSP. Add IA64_INSN_SET_REG.
(struct ia64_script_insn): Add "abi_marker" member.

(Logical change 1.84)
nclude/ia64/script.h
ed67c3edb738719e1d2eec7bca441a0c78ad939d 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (ia64_pregnum): Rename IA64_REG_RP to IA64_REG_IP.
(ia64_loc_t): New type. For UNW_LOCAL_ONLY, it's a single word, as before.
For the generic case, it's a 2-word structure. This provides enough
space to encode all necessary info both for 32-bit targets (which require
only 4-byte aligned addresses) and for targets which are limited to
accessing ucontext_t values via uc_access(3).
(ABI_MARKER_LINUX_SIGTRAMP): New macro.
(ABI_MARKER_HP_UX_SIGTRAMP): New macro.
(struct cursor): Consolidate bsp_loc, bspstore_loc, pfs_loc, rnat_loc, ip_loc,
pri_unat_loc, unat_loc, pr_loc, lc_loc, fpsr_loc, r4-r7_loc,
b1-b5_loc, f2-f7_loc, and fr_loc[] into loc[] array. Note that
there is now a separate PSP-loc (loc[IA64_REG_PSP]) in addition
to the cached psp value.
Rename sigcontext_loc to sigcontext_addr.
Remove is_signal_frame memeber and add abi_marker member instead.
Change type of rbs_area[].rnat_loc to ia64_loc_t.
(struct ia64_global_unwind_state): Remove preg_index[] array.

(Logical change 1.84)
nclude/tdep-ia64.h
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)
rc/ia64/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)
rc/ia64/_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)
rc/ia64/_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)
rc/ia64/mk_cursor_i-ia64.c
18b186bf30ceaf501197045f75c16ff2f769df69 23-Apr-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.84)
rc/ia64/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)
rc/ia64/offsets.h
307616bafb0b01bacae9056d2a623d5001304b3f 22-Apr-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.83)
rc/Makefile.in
49e6b6ffbbbf892c95b6c7ee37234adc35898b6d 22-Apr-2003 hp.com!davidm <hp.com!davidm> Regenerate src/Makefile.in.

BKrev: 3ea480abvtpUT4t5XOFaXoB6eHWfLA
994d96e66d94b70c9a3f8ed606354f0d70652dd1 22-Apr-2003 hp.com!davidm <hp.com!davidm> Manual merge.

2003/04/21 11:40:43-07:00 hp.com!davidm
Regenerate.

(Logical change 1.82)
902352675cf471c69037e51cbc16ff3024a0155c 22-Apr-2003 hp.com!davidm <hp.com!davidm> Manual merge.

2003/04/21 11:40:43-07:00 hp.com!davidm
Mention Gset-reg-x86.c.

BKrev: 3ea48055E1xM0KHqooT7Fh9C1wg2zw
0c2b1a7020641e53ecf8588a4ec476fabf779d46 22-Apr-2003 hp.com!davidm <hp.com!davidm> Manual merge.

2003/04/21 11:40:43-07:00 hp.com!davidm
(libunwind_la_SOURCES_x86): Mention Gset-reg-x86.c.

(Logical change 1.82)
5b90a927a18446b060e565d5634708ca397951d9 22-Apr-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.81)
rc/x86/Gcreate_addr_space-x86.c
rc/x86/Ginit_remote-x86.c
rc/x86/Lcreate_addr_space-x86.c
rc/x86/Linit_remote-x86.c
eacc4f207372bbe9808c736970121b04f98636f5 22-Apr-2003 hp.com!davidm <hp.com!davidm> Initial revision
rc/x86/Gcreate_addr_space-x86.c
rc/x86/Ginit_remote-x86.c
rc/x86/Lcreate_addr_space-x86.c
rc/x86/Linit_remote-x86.c
97bb02decb0439fb0c7e3c4091135ceb676715ce 22-Apr-2003 hp.com!davidm <hp.com!davidm> Fix up x86 implementation sufficiently to get at least through some of
the test-suite. At the moment, a debian/unstable system will pass
5 out of 10 tests. Not bad, actually.

BKrev: 3ea47b46irKJW4lXSgzLVizwW1jOMg
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)
rc/x86/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)
rc/x86/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)
rc/x86/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)
rc/longjmp.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)
rc/Makefile.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)
rc/x86/Ginit-x86.c
6c3716a92a5239fd32a4b110b5b96cf141b6d403 22-Apr-2003 hp.com!davidm <hp.com!davidm> (flush_cache): Implement x86-version as a no-op.

(Logical change 1.81)
ests/flush-cache.S
79f981aaf74191de5ab1106d84d99e181e20f939 22-Apr-2003 hp.com!davidm <hp.com!davidm> (_U_TDEP_QP_TRUE): New macro.

(Logical change 1.81)
nclude/libunwind-x86.h
bbfe13cce08b966afd48e3d909578afd5cda7f40 22-Apr-2003 hp.com!davidm <hp.com!davidm> (_UPT_reg_offset): Fix off-by-1 error.

(Logical change 1.81)
rc/_UPT_internal.h
rc/_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)
rc/_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)
rc/x86/siglongjmp-x86.S
ade160f6a146dc495d18e3ef2f061746652be4f3 22-Apr-2003 hp.com!davidm <hp.com!davidm> (STACK_SIZE): New macro. On x86, use 2*SIGSTKSZ, because the default-size
of 8KB is just too small to do anything reasonable.
(main): Use STACK_SIZE instead of SIGSTKSZ.

(Logical change 1.81)
ests/bt.c
508f65f8b952c5573df74a7e44b4ebace4573959 21-Apr-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.80)
rc/Makefile.in
b52964ae93966090430485fa06ca529ed879df22 21-Apr-2003 hp.com!davidm <hp.com!davidm> Mention Lset_reg-x86.c in Makefile.am.

BKrev: 3ea43ed0qn8YaKOnFfhsUbQraAHcAQ
ed625d646e2ebec6cb733f715e2f66b93f45d5fa 21-Apr-2003 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_x86): Mention Lset_reg-x86.c.

(Logical change 1.80)
rc/Makefile.am
796bd962e3fb46e396d15614dfcd904568eebc2f 21-Apr-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.79)
rc/Makefile.in
673202d4b647ecd519fa3ac69a955f9ac900ed51 21-Apr-2003 hp.com!davidm <hp.com!davidm> Mention Gset_reg-x86.c in Makefile.am.

BKrev: 3ea43c7fKWESKeH80RW-5Vri4p608g
1b770df7efb154379417ffcc985a15be16d0978b 21-Apr-2003 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_x86): Mention Gset_reg-x86.c.

(Logical change 1.79)
rc/Makefile.am
2b6bb97b731dbb78213abf3c96b9165f2779182e 21-Apr-2003 mostang.com!davidm <mostang.com!davidm> TODO:
new file

BKrev: 3ea43ab8FYmclmZj-Nd3hIbJD-TNCQ
1cabc101002fe9090ecc199e9e8497ee95b9e2ac 21-Apr-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.78)
ODO
8c84eddb41ef73ce77c04e4fcf662169d626dddd 21-Apr-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ODO
0ba8ae44bc2c416908fff744c1772c0560cb9d43 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> Fix up hp-ux support some more. It works for some simple unwinding purposes, but
unwinding across signals doesn't (and can't) work at the moment.

BKrev: 3e933ba8oySwu4USgXnuugmmagOteg
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Ginit-ia64.c
0802cd49adffece1c9927624aabd7c324cdfa5ea 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> (rbs_find_stacked): Allow NULL locp.

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

(Logical change 1.76)
rc/ia64/unwind_i.h
dc0bee88f3763f7aa173a5dfe8ee55ca731890d9 08-Apr-2003 mostang.com!davidm <mostang.com!davidm> (ia64_get_stacked): Allow "locp" argument to be NULL. Reported by Jeff Johnston.

BKrev: 3e93323eXbhj-ovOQFYlZtd-tFsKIg
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)
rc/ia64/Ginit-ia64.c
6ab15cdec4e7d753008fffbe0b62ab4924b2ef87 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.75)
onfigure
oc/unw_get_fpreg.man
nclude/config.h.in
rc/Lfind_dynamic_proc_info.c
rc/Lget_proc_name.c
rc/Lput_dynamic_unwind_info.c
rc/hppa/Lget_proc_info-hppa.c
rc/hppa/Lget_proc_name-hppa.c
rc/hppa/Lget_reg-hppa.c
rc/hppa/Linit-hppa.c
rc/hppa/Linit_local-hppa.c
rc/hppa/Lregs-hppa.c
rc/hppa/Lstep-hppa.c
rc/ia64/Lcreate_addr_space-ia64.c
rc/ia64/Ldestroy_addr_space-ia64.c
rc/ia64/Lget_fpreg-ia64.c
rc/ia64/Lget_proc_info-ia64.c
rc/ia64/Lget_proc_name-ia64.c
rc/ia64/Lget_reg-ia64.c
rc/ia64/Lget_save_loc-ia64.c
rc/ia64/Linit-ia64.c
rc/ia64/Linit_local-ia64.c
rc/ia64/Linit_remote-ia64.c
rc/ia64/Lis_signal_frame-ia64.c
rc/ia64/Lparser-ia64.c
rc/ia64/Lregs-ia64.c
rc/ia64/Lresume-ia64.c
rc/ia64/Lscript-ia64.c
rc/ia64/Lset_fpreg-ia64.c
rc/ia64/Lset_reg-ia64.c
rc/ia64/Lstep-ia64.c
rc/x86/Lget_proc_info-x86.c
rc/x86/Lget_proc_name-x86.c
rc/x86/Lget_reg-x86.c
rc/x86/Linit-x86.c
rc/x86/Linit_local-x86.c
rc/x86/Lis_signal_frame-x86.c
rc/x86/Lregs-x86.c
rc/x86/Lresume-x86.c
rc/x86/Lset_reg-x86.c
rc/x86/Lstep-x86.c
89c081cd846d49f6f9d467f94eac9c64b6fabeca 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> On HP-UX, unset UNW_LOCAL_ONLY and defined UNW_GENERIC_ONLY, since it makes no
sense to do UNW_LOCAL_ONLY on this platform.

(Logical change 1.75)
nclude/libunwind-ia64.h
d53636d4142ec7a9a3206b39e874bdb75408f1f9 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Move endian-stuff to internal.h.

(Logical change 1.75)
nclude/tdep-ia64.h
a04f38ef199c50e175caa254c9aafc3726a44bb6 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Move endian-related defs from tdep-ia64.h to here.

(Logical change 1.75)
nclude/internal.h
4f8ab6abb9667e6d73179b712d280a04f5a32b83 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> More portability fixes and improvements for HP-UX (libunwind compiles now on HP-UX).

BKrev: 3e8be9d3I-C-yxueB1ndoYTyOhYKGA
e4ea1bcdb899287c4aad0799c8ef7d86fc7d4e67 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Drop include of <endian.h>.

(Logical change 1.75)
rc/Gget_proc_name.c
aa371f972e3eabc42a65bf73af77b7af6c091414 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Don't include <endian.h>.

(Logical change 1.75)
rc/dyn-remote.c
50e11fa8b2ec174a2d45046e89409b4692341538 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Compile an L-file only if UNW_LOCAL_ONLY surives past the include of <libunwind.h>.

(Logical change 1.75)
cripts/make-L-files
8d057cb80042d697dcfb8fe1319af80fd5b32ebd 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Add note on building libunwind on HP-UX.

(Logical change 1.75)
EADME
ebfaebdee9ff0743a6c41102cd6dc2063c3387c7 03-Apr-2003 mostang.com!davidm <mostang.com!davidm> Add check for -luca (needed on HP-UX).
Add check for <sys/uc_access.h> (needed on HP-UX).
(OS_HPUX): New conditional.

(Logical change 1.75)
onfigure.in
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)
rc/ia64/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)
rc/ia64/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)
rc/Makefile.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)
rc/ia64/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)
rc/ia64/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)
rc/_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)
rc/elfxx.h
7c76ce791085ca333685d3c229386fe70b3d5f0d 01-Apr-2003 mostang.com!davidm <mostang.com!davidm> Turn off questions about logging.

(Logical change 1.74)
itKeeper/etc/config
9eb9f31e4cf532cb97cbd191ee20143c0ada4874 01-Apr-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.74)
oc/libunwind-ia64.man
oc/libunwind-ptrace.man
oc/libunwind-setjmp.man
oc/libunwind.man
oc/unw_create_addr_space.man
oc/unw_destroy_addr_space.man
oc/unw_flush_cache.man
oc/unw_get_accessors.man
oc/unw_get_fpreg.man
oc/unw_get_proc_info.man
oc/unw_get_proc_name.man
oc/unw_get_reg.man
oc/unw_getcontext.man
oc/unw_init_local.man
oc/unw_init_remote.man
oc/unw_is_fpreg.man
oc/unw_is_signal_frame.man
oc/unw_regname.man
oc/unw_resume.man
oc/unw_set_caching_policy.man
oc/unw_set_fpreg.man
oc/unw_set_reg.man
oc/unw_step.man
d0028f3b308078fe19b1ec7a29f1d8cf6ebf39ef 01-Apr-2003 mostang.com!davidm <mostang.com!davidm> Put {Name} section contents on a single line to work around a bug in
lexgrog.

(Logical change 1.74)
oc/unw_get_fpreg.tex
oc/unw_get_reg.tex
oc/unw_getcontext.tex
oc/unw_is_fpreg.tex
oc/unw_is_signal_frame.tex
oc/unw_set_fpreg.tex
oc/unw_set_reg.tex
oc/unw_step.tex
1baaf32be470e6b7647081bff5777c84bec8062f 01-Apr-2003 mostang.com!davidm <mostang.com!davidm> More man-page workarounds for lexgrog.

BKrev: 3e893d86yqyCnJZMUdmB3rP5bZo4RA
ae4776829c234f8cf29105d4a8a9749bc78ccf26 31-Mar-2003 esiee.fr!m.delahaye <esiee.fr!m.delahaye> [PATCH] Patch to work around lexgrog bug
lexgrog is an application reading man pages and extract NAME section to
get for example:

libunwind-ia64 -- IA-64-specific support in libunwind

It uses the same algorithm as used for generating db used by whatis
It is usually used for testing correctness of man pages.

But lexgrog generate in our case:
libunwind-ia64.man: parse failed

Which means whatis won;t be usable.

Removing the blank line after .SH

BKrev: 3e889d95zuM8tUj2T2FHY5JDSVtIJQ
972aec70ba48f64db9b635a47a497cd65489d343 31-Mar-2003 esiee.fr!m.delahaye <esiee.fr!m.delahaye> Patch to work around lexgrog bug

(Logical change 1.73)
oc/libunwind-ia64.tex
oc/libunwind-ptrace.tex
oc/libunwind-setjmp.tex
oc/libunwind.tex
oc/unw_create_addr_space.tex
oc/unw_destroy_addr_space.tex
oc/unw_flush_cache.tex
oc/unw_get_accessors.tex
oc/unw_get_proc_info.tex
oc/unw_get_proc_name.tex
oc/unw_init_local.tex
oc/unw_init_remote.tex
oc/unw_regname.tex
oc/unw_resume.tex
oc/unw_set_caching_policy.tex
f20b6f8a4a7cd06e070c87347b9db75fe2e6fe86 31-Mar-2003 esiee.fr!m.delahaye <esiee.fr!m.delahaye> Logging to logging@openlogging.org accepted

(Logical change 1.73)
itKeeper/etc/logging_ok
46149fdccd147c7c544f4d2ef6cd9da3db67db5a 31-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.72)
clocal.m4
onfigure
nclude/config.h.in
e80548e938676794b1e18c9b0e5890d382fd4d40 31-Mar-2003 mostang.com!davidm <mostang.com!davidm> Fix recognition of sighandler_t and rebuild generated files.

BKrev: 3e888616rs9mh7Bu9Xipb1-pjoDzpA
a3cfa43e42ef8e78b8d177303eca3f1b0cd2ecab 31-Mar-2003 mostang.com!davidm <mostang.com!davidm> (AC_CHECK_TYPES): Rename from AC_CHECK_TYPE().

(Logical change 1.72)
onfigure.in
30c13cd415ac95973974bff1bda5b3bcce887e2c 29-Mar-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.71)
itKeeper/etc/gone
3e18ca9660a535966c7ae85a116beb84711ccdc0 29-Mar-2003 hp.com!davidm <hp.com!davidm> Initial revision
itKeeper/etc/gone
fc963e9210a47d55ea329137d9c24f7cfea62acd 29-Mar-2003 hp.com!davidm <hp.com!davidm> Fix open-file leak in libunwind-ptrace.
Make static linking possible without requiring -lpthread.
Make x86 version compile again.

BKrev: 3e854c22ViF4dPNH1yv9LvOTnTY0hQ
f9cc1e4b742db93b398a6350b59a6798c0ac828d 29-Mar-2003 hp.com!davidm <hp.com!davidm> (tdep_get_elf_image): Declare.

(Logical change 1.71)
nclude/tdep-x86.h
1d443a63adfaa890c96ef95a58f2b6bafa82b281 29-Mar-2003 hp.com!davidm <hp.com!davidm> (pthread_mutex_init): Declare as a "weak" symbol.

(Logical change 1.71)
nclude/internal.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)
rc/os-linux.h
e6ddf4c3e0c6aaf858de1f25130e2b6c092d25a6 29-Mar-2003 hp.com!davidm <hp.com!davidm> (main): Fix command-line parsing to allow for more than one argument.

(Logical change 1.71)
ests/test-ptrace.c
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)
rc/_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)
rc/_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)
rc/_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)
rc/_UPT_access_fpreg.c
1da382fb6fe19edcae04c23f118f34cf006a7793 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Various portability improvements & fixes. libunwind now builds with Intel ECC and
passes the same tests as with GCC (see README for tips on building with ECC).

BKrev: 3e83fd1aL3f71egx2oyOFmPfuHk-4A
594e7eb614eb62de9350800e727c795fdb31cbd0 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Update for v0.92.

(Logical change 1.70)
EADME
4f17bce117cf69d572523bbe3cfb2ee86efc0586 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.70)
akefile.in
onfigure
onfigure.in
oc/Makefile.in
rc/Makefile.in
ests/Lia64-test-rbs.c
ests/Lia64-test-stack.c
ests/Ltest-dyn1.c
ests/Ltest-exc.c
ests/Ltest-resume-sig.c
ests/Makefile.in
a4ab1098ea2b47aef9c6b684580849db18fec874 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add copyright header.
(Test_Class): New dummy class so we can define a constructor.
(backtrace): New function.

2003/03/27 16:03:18-08:00 mostang.com!davidm
Rename: tests/test-init.cxx -> tests/Gtest-init.cxx

(Logical change 1.70)
ests/Gtest-init.cxx
b5e1ca5a537e44c06b1894545fc52999f7f8db0c 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/Gtest-init.cxx
ests/Ltest-init.cxx
c2e6b4ced074296773c421b939139c7e93e45351 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Also handle C++ files (.cxx).

(Logical change 1.70)
cripts/make-L-files
294a1e55cca01232d466c3f29c028d7c15c5f24d 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add copyright header.
(Test_Class): New dummy class so we can define a constructor.
(backtrace): New function.

}(Logical change 1.70)
ests/test-init.c
337c0ad98914f06256358ad887f53062cdedd141 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add C++ wrapper.

(Logical change 1.70)
nclude/libunwind-hppa.h
nclude/libunwind-ia64.h
nclude/libunwind-x86.h
5adfead33ce720c41f0ffa9f0f6222794343f67c 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (test_sigsetjmp): Declare "i" as a volatile variable so it gets preserved across
sigsetjmp().

(Logical change 1.70)
ests/test-setjmp.c
6bf5cdd335e04b3b3fbc27f050aa5de920780f3b 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (main): Set di.end_ip based on the region's insn_count (old value for di.end_ip was
too small when using ECC).

(Logical change 1.70)
ests/Gtest-dyn1.c
5907edf94612dae462fe5feb9357b494b8ad40ae 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (main): Portability fix: cast return value from create_func() to proper function-type.

(Logical change 1.70)
ests/ia64-test-dyn1.c
b838c72f9a2d80f0c6252b122eab3ce822b31604 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (lookup_symbol): Portability fix: avoid arithmetic on void *.

(Logical change 1.70)
rc/_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)
rc/ia64/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)
rc/dyn-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)
rc/ia64/unwind_i.h
271d7065c25b9c7561b312d9ee795cd4ba91c208 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (cmpchg_ptr): Cast first argument to "volatile long *", since that is what the
Intel compiler wants.

(Logical change 1.70)
nclude/internal.h
9fe5e68f40f5a463c69e51436326d6c4810c12d7 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (check_PROGRAMS_common): Mention Gtest-init and Ltest-init.
(noinst_PROGRAMS_cdep): Remove test-init.
(Gtest_init_SOURCES): New macro.
(Ltest_init_SOURCES): Ditto.

(Logical change 1.70)
ests/Makefile.am
757746aefbc6edfc77bde6a66ed251b4e1d5c46d 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (a): When compiling with GCC on ia64, use "asm" statement to get the address of the
label. gcc-3.x otherwise notices that the label isn't used for control-flow
and feels free to move it around (usually to the beginning of the basic-block),
with very bad consequences.

(Logical change 1.70)
ests/Gtest-exc.c
453ec65cf02ca0c343af730bc42f256c42af97eb 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.70)
ests/Ltest-init.cxx
5b1f22a309c326d464eebbd5cca05a20d9224d49 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.69)
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
342f52403844abebaa140413eb28c09a65b1cb87 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate Makefile.in files.

BKrev: 3e827f4f_7VlTe6DlLtwREwyiJYnkw
28fe6a6e8b14e780bd79dbe68f6010524cf2e90b 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Work around ECC v7.0 bug by manually definining __sync_val_compare_and_swap()
if it isn't defined yet.

(Logical change 1.68)
nclude/internal.h
a55f2acb86ba641eef647f74649a70cdf4b17219 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Various minor build-environment fixes and portability fixes for Intel ECC.

BKrev: 3e827e13QXYssAe0XjP5kb_bbW_LOw
16192f7eac22ab023e8ef34e3691638599907747 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Separate bundle template directive from instruction with a semicolon. The Intel
assembler wants this.

(Logical change 1.68)
ests/ia64-dyn-asm.S
a4e77a211a2661017c0ed6e3d3e93e8f7ccd80ab 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.68)
oc/libunwind.man
f168752fcfc83ed0aa5df6032faf04ad6bcea39e 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.68)
rc/ia64/global-asm-ia64.S
ests/flush-cache.S
58df2a4b8f2d077b1b35b2a413adb521a3274b09 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/global-asm-ia64.S
ests/flush-cache.S
b0d98c76e447765272ec81021449282828a2994a 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> If we have it, include <ia64intrin.h>.
(flush_cache): Moved to flush-cache.S.

(Logical change 1.68)
ests/ia64-test-dyn1.c
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)
rc/ia64/tables-ia64.c
43d0e03dc65d98357f4053fdc45b87897c06292a 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> If we have it, include "config.h".
If we have it, include <ia64intrin.h>
(handler): Add support for ECC.

(Logical change 1.68)
ests/Gtest-resume-sig.c
2a5ff2db57001bc436d9e3d4b55889fb57399e03 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Fix typo: programss -> programs.

(Logical change 1.68)
oc/libunwind.tex
26ad35667c79bfbd2bb7de934bb9b7ca4f287efc 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Avoid GNU local labels for improved portability.

(Logical change 1.68)
rc/ia64/_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)
rc/ia64/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)
rc/ia64/siglongjmp-ia64.S
b958b51278373adffc02bde9940d59eaf0b7ed8b 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (man3_MANS): Remove $(srcdir)/ prefix as otherwise the man-pages don't get
distributed with "make dist".
(.tex.man): Manually copy .man output file into $(srcdir).

(Logical change 1.68)
oc/Makefile.am
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)
rc/Makefile.am
0231ae5a6f9a5096cf7dcb86f73cd92efaa467d7 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (ia64_test_dyn1_SOURCES): Mention flush-cache.S.
(Gtest_dyn1_SOURCES): Ditto.
(Ltest_dyn1_SOURCES): Ditto.

(Logical change 1.68)
ests/Makefile.am
0e2f4866f2291c9b719064fbd6bf39699bf261e6 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (flush_cache): Move to flush-cache.S.

(Logical change 1.68)
ests/Gtest-dyn1.c
feaf317bf2a786e424eb0bb8399a98a8130be0c0 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (do_unwind_tests): Declare as global. Intel assembler insists on this.
Avoid GNU assembler local labels.

(Logical change 1.68)
ests/ia64-test-stack-asm.S
797322b3b461c7e71d1d072227b5aa65a9ff31fa 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (a): If not compiling with GCC, explain that there is no hope of exercising this
test.

(Logical change 1.68)
ests/Gtest-exc.c
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)
rc/ia64/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)
rc/_UPT_get_dyn_info_list_addr.c
2ff3919fe9a529289a5225c9a6a7b0b0d85c7928 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Patch by Matthieu Delahaye: Fix remaining Elf64 uses and replace them with ElfW().

BKrev: 3e824977Ykr8CIILHmdyTe47sxhN1A
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)
rc/elfxx.c
1c9ce0d96cafac0a496728f036768b0b9e3f9783 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.66)
oc/Makefile.in
rc/Makefile.in
0e0d480cea4abe18b1e693d9de9aea424c9b1f5d 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate Makefile.in.

BKrev: 3e7978d1xZpXCTJpiIS9EwSszR0Aiw
b8fcc6c720a492c075b84d28f96c7bce11346b75 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Fix typo: .text -> .tex

BKrev: 3e797378fTnv-_G26xLppx0lFUbUpg
b577543f09229f91d6a3a3dd83e06ccc7a64318e 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Fix typo: .text -> .tex

(Logical change 1.65)
oc/Makefile.am
09f7ea2cc2b69519b8bffd0675e6ad078b2c1cc7 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Return -UNW_ENOINFO.

(Logical change 1.64)
rc/x86/Gis_signal_frame-x86.c
624251b1ad09a1744465989f6b3326613ebd69e3 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.64)
oc/libunwind.man
oc/unw_create_addr_space.man
27a73b1fe88c4245e261e0e977d3f121e9b2c6cb 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
oc/unw_get_fpreg.man
oc/unw_get_fpreg.tex
oc/unw_get_reg.man
oc/unw_get_reg.tex
oc/unw_getcontext.man
oc/unw_getcontext.tex
oc/unw_is_fpreg.man
oc/unw_is_fpreg.tex
oc/unw_is_signal_frame.man
oc/unw_is_signal_frame.tex
oc/unw_set_fpreg.man
oc/unw_set_fpreg.tex
oc/unw_set_reg.man
oc/unw_set_reg.tex
oc/unw_step.man
oc/unw_step.tex
a21507ddb3f0433a7188e47f6050e7129c06567d 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Correct type of register numbers from "int" to "unw_regnum_t".
Mention unw_is_fpreg().
Add \SeeAlso for newly added man-pages.

(Logical change 1.64)
oc/libunwind.tex
87849a54918a670313ed32dde2dc6ab32a6dfbc1 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Clarify that find_proc_info() may return -UNW_ESTOPUNWIND to terminate frame-chain.

(Logical change 1.64)
oc/unw_create_addr_space.tex
0a4b3db82caf2740caa7fea48f325e431ca1bd36 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add man-pages for unw_get_fpreg(3), unw_get_reg(3), unw_is_fpreg(3),
unw_is_signal_frame(3), unw_set_fpreg(3), unw_set_reg(3), and
unw_step(3).

BKrev: 3e797309YXXgnMLGjzBXIoYsy0d1PA
ad306e6ab6925cc9a21198b91b20eb57d0904191 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add man-pages for unw_get_fpreg(3), unw_get_reg(3), unw_is_fpreg(3),
unw_is_signal_frame(3), unw_set_fpreg(3), unw_set_reg(3), and
unw_step(3).

(Logical change 1.64)
oc/Makefile.am
2e03d8623b572b38786117f98a75e31e3b764c66 20-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.64)
oc/unw_get_fpreg.man
oc/unw_get_fpreg.tex
oc/unw_get_reg.man
oc/unw_get_reg.tex
oc/unw_getcontext.man
oc/unw_getcontext.tex
oc/unw_is_fpreg.man
oc/unw_is_fpreg.tex
oc/unw_is_signal_frame.man
oc/unw_is_signal_frame.tex
oc/unw_set_fpreg.man
oc/unw_set_fpreg.tex
oc/unw_set_reg.man
oc/unw_set_reg.tex
oc/unw_step.man
oc/unw_step.tex
f86dd467137d32349259d6e2b823288cb79b96dd 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Various portability fixes. Also fix "make dist" and "make distclean" targets.

BKrev: 3e78c41edW7zQTmGyBLclHaUk5PUuw
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)
rc/Makefile.am
c7aaa684956dee00ee50e1c0205cc1c4a2c43390 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.63)
akefile.in
onfigure
nclude/config.h.in
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)
rc/_UPT_access_fpreg.c
rc/_UPT_access_mem.c
rc/_UPT_resume.c
6df7b107a40fcd246fb9e4f6fad1944b6ba286bc 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Increment version number to 0.91.
Check for asm/ptrace_offsets.h, endian.h, and execinfo.h.
Check for signal-return type.
Check for sighandler_t.
Check for dl_iterate_phdr() and dlmodinfo().

(Logical change 1.63)
onfigure.in
15693e234bc9533842ae9450e204a7d7970d454e 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include config.h, if we have it (HAVE_CONFIG_H).
Include <sys/types.h>. HP-UX can't include pthread.h otherwise.
Replace test for UNW_TARGET_IA64 with test for HAVE_IA64INTRIN_H.

(Logical change 1.63)
nclude/internal.h
63d7003ef7c8f791d52cd88add0cee0d72cb6a5f 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include <sys/stat.h>.

(Logical change 1.63)
rc/elfxx.h
47c70d7858d94b18e0828fa1b23e15d0c13ef0da 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include <inttypes.h> instead of <stdint.h>. HP-UX doesn't have the latter.
(unw_tdep_save_loc_t): Define a dummy member, so we're ANSI-C compliant (which doesn't
allow empty structs).

(Logical change 1.63)
nclude/libunwind-ia64.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)
nclude/libunwind-hppa.h
nclude/libunwind-x86.h
rc/ia64/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)
rc/_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)
rc/_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)
rc/ia64/rse.h
00cfbc61fec905f70d7991ded4e77d74ba19bef1 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "config.h" if we have it.
Declare "backtrace()" manually if we don't have execinfo.h.
Declare "sighandler_t" manually if the system doesn't do it for us.
On ia64, print sc->sc_ip only if we're on Linux.

(Logical change 1.63)
ests/bt.c
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)
rc/ia64/tables-ia64.c
8033bdfd28c1efa732f69477954d8bacf1dddd67 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "config.h" if we have it.

(Logical change 1.63)
rc/_UPT_internal.h
53bd7613b7f1fb0f67d191dcfabdef5104c011bc 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> If we don't have <endian.h>, define __LITTLE_ENDIAN and __BIG_ENDIAN here and
guess the right value for __BYTE_ORDER.

(Logical change 1.63)
nclude/tdep-ia64.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)
rc/ia64/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)
rc/elfxx.c
e24351b6c03654e638cce787fa182c942b59114d 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.63)
rc/hppa/siglongjmp-hppa.S
rc/x86/siglongjmp-x86.S
3812bbdc00959f2a311f01445500ab08bb5395ea 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/hppa/siglongjmp-hppa.S
rc/x86/siglongjmp-x86.S
836c52dbfbf26c04e2bfdf932e0419036c41bb11 19-Mar-2003 mostang.com!davidm <mostang.com!davidm> (DISTCLEANFILES): New macro. Mention libunwind.h and tdep.h to ensure they get
cleaned for "distclean". Reported by Matthieu Delahaye.

(Logical change 1.63)
akefile.am
1a595c496f59e846a5561f34222bfe1eb5607941 13-Mar-2003 mostang.com!davidm <mostang.com!davidm> Rename "cursor" argument to "cp".

(Logical change 1.62)
oc/unw_resume.tex
9787d3879dcadeb97cbfb0f49e244ca76a9f3302 13-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.62)
oc/libunwind.man
oc/unw_create_addr_space.man
oc/unw_destroy_addr_space.man
oc/unw_init_remote.man
oc/unw_resume.man
dc0fc3b55c761729c75a153563f2e8490a94a43e 13-Mar-2003 mostang.com!davidm <mostang.com!davidm> Note that applications must not destroy unw_local_addr_space.

(Logical change 1.62)
oc/unw_destroy_addr_space.tex
0dd785f10bc0dc3bef35234caf1c4b7acf4733ad 13-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
oc/unw_flush_cache.man
oc/unw_flush_cache.tex
oc/unw_get_accessors.man
oc/unw_get_accessors.tex
oc/unw_get_proc_info.man
oc/unw_get_proc_info.tex
oc/unw_get_proc_name.man
oc/unw_get_proc_name.tex
oc/unw_regname.man
oc/unw_regname.tex
oc/unw_set_caching_policy.man
oc/unw_set_caching_policy.tex
38ec048c0d6fc9cf24323cafd89050e6582be0e0 13-Mar-2003 mostang.com!davidm <mostang.com!davidm> Fix prototype of unw_regname().

(Logical change 1.62)
oc/libunwind.tex
dc1aade2f9a60f9b3e9fe96ab099f85135fa9b00 13-Mar-2003 mostang.com!davidm <mostang.com!davidm> Correct description of what happens of get_proc_name() overflows the available
buffer-space.

(Logical change 1.62)
oc/unw_create_addr_space.tex
0e1ad806d0f5b794435c9b7f22e1ce332ac3de64 13-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add man-pages for unw_flush_cache(), unw_get_accessors(),
unw_get_proc_info(), unw_get_proc_name(), unw_regname(), and
unw_set_caching_policy().

BKrev: 3e6fe9a5zZ_6DW4-oMYNGvN8IWepYw
d5ad49b01396c292f35b03d6d9d080ae45ec8fe4 13-Mar-2003 mostang.com!davidm <mostang.com!davidm> (unw_regname): Correct type of "regnum" from "int" to "unw_regnum_t".

(Logical change 1.62)
nclude/libunwind-common.h
5fea9f709dda89c5c4db446a03c4b60e29fc2f53 13-Mar-2003 mostang.com!davidm <mostang.com!davidm> (man3_MANS): Mention man-pages for unw_flush_cache(), unw_get_accessors(),
unw_get_proc_info(), unw_get_proc_name(), unw_regname(), and
unw_set_caching_policy().
(EXTRA_DIST): Ditto.

(Logical change 1.62)
oc/Makefile.am
27988406b2137e98a236221feac273fcd854fb2f 13-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.62)
oc/unw_flush_cache.man
oc/unw_flush_cache.tex
oc/unw_get_accessors.man
oc/unw_get_accessors.tex
oc/unw_get_proc_info.man
oc/unw_get_proc_info.tex
oc/unw_get_proc_name.man
oc/unw_get_proc_name.tex
oc/unw_regname.man
oc/unw_regname.tex
oc/unw_set_caching_policy.man
oc/unw_set_caching_policy.tex
5b8341492343bf12cd159b1fa145ba830bde0831 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> Move dyn-info-list address caching from call-backs into libunwind proper.

BKrev: 3e6d37b6qPCyWOkW7lcuZpXNxq-_AQ
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)
rc/dyn-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)
rc/ia64/flush_cache-ia64.c
51095505d98582bc1580bd64a2412eb23d3d0159 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> (struct addr_space): Add "dyn_info_list_addr" member.

(Logical change 1.61)
nclude/tdep-hppa.h
nclude/tdep-ia64.h
nclude/tdep-x86.h
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)
rc/_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)
rc/_UPT_get_dyn_info_list_addr.c
455b0acd97d09a596c6932e8ad94a900743dbe45 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.60)
oc/Makefile.in
oc/libunwind.man
oc/unw_resume.man
cc297605d422c8cc5672d596ea4af151dbdee3c5 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
oc/unw_create_addr_space.man
oc/unw_create_addr_space.tex
oc/unw_destroy_addr_space.man
oc/unw_destroy_addr_space.tex
oc/unw_init_local.man
oc/unw_init_local.tex
oc/unw_init_remote.man
oc/unw_init_remote.tex
a494d61a8688b9660eb95f97bfb1807598a46626 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> Correct type in name of unw_local_addr_space.

(Logical change 1.60)
oc/libunwind.tex
1c48aa0448847bca778318def41a1d730817aad1 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add section on thread and signal safety.

(Logical change 1.60)
oc/unw_resume.tex
e77ab65264229b9657ae305a413abe7d874543b1 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add man-pages for unw_init_local(3), unw_init_remote(3), unw_create_addr_space(3),
and unw_destroy_addr_space(3). Correct typo in libunwind(3) man-page.

BKrev: 3e6d366beV9D6ftbgoXhSIerjBpjvA
346fb44f5301240f043cae8308c205dfbd875bdd 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> (man3_MANS): Mention unw_init_local.man, unw_init_remote.man,
unw_create_addr_space.man, and unw_destroy_addr_space.man.
(EXTRA_DIST): Mention unw_init_local.tex, unw_init_remote.tex,
unw_create_addr_space.tex, and unw_destroy_addr_space.tex.

(Logical change 1.60)
oc/Makefile.am
40fe9d445978a588bb36422ad6f097b0c0cf72ac 11-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.60)
oc/unw_create_addr_space.man
oc/unw_create_addr_space.tex
oc/unw_destroy_addr_space.man
oc/unw_destroy_addr_space.tex
oc/unw_init_local.man
oc/unw_init_local.tex
oc/unw_init_remote.man
oc/unw_init_remote.tex
0f0eb30d787f94f560dc2ef872d53a7d0a75fd07 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Up version number to 0.9.

(Logical change 1.59)
onfigure.in
7a7d6113d42f46f5ab6bae453789b010946d4b4d 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.59)
onfigure
oc/libunwind-ia64.man
oc/libunwind-ptrace.man
rc/Makefile.in
ests/Makefile.in
285c381ceace209ad533a5b1a15ecf1a38575183 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/_UPT_resume.c
9003fd20fe4491b536153a0970b436aba2b3ee40 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include <signal.h>. Remove include of <tdep.h>.
(mutex_init): New macro.
(HAVE_CMPXCHG): Ditto.
(cmpxchg_ptr): Ditto.
(unwi_full_sigmask): New variable.

(Logical change 1.59)
nclude/internal.h
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)
rc/longjmp.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)
rc/siglongjmp.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)
rc/mi-init.c
d098282ff550cb1a26e419ad4ab8709d8b52646e 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "tdep.h".

(Logical change 1.59)
rc/Gfind_dynamic_proc_info.c
rc/_UPT_internal.h
rc/elfxx.c
rc/ia64/mk_cursor_i-ia64.c
rc/os-linux.c
5daa8619b7e83ab4650efb7dc7cae793f444aedc 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Include "internal.h".
Define sos_alloc(), mempool_init(), mempool_alloc(), and mempool_free() with
UNWI_ARCH_OBJ() helper macro.
(sos_free): Delete.
(struct mempool): Declare "lock" member.

(Logical change 1.59)
nclude/mempool.h
4d64b2a210ea1ea6f1182c3965ecb3c6b5a12dc8 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Generate.

(Logical change 1.59)
oc/unw_resume.man
d396c31e6f44ed873bd30ed70d7cc5157765ff16 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Enable .resume callback.

(Logical change 1.59)
rc/_UPT_accessors.c
e2561af01f349d86ee8e6ec24ca28cf58fda49aa 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Document that a local unw_resume() across threads results in undefined behavior.

(Logical change 1.59)
oc/unw_resume.tex
eb6d0a751f8a27db70e850530180459df9cfe091 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Document behavior of r1 (gp) more accurately. Minor grammatical fixes.

(Logical change 1.59)
oc/libunwind-ia64.tex
0d7a2e92b018cdd1927e8e5542c929f2ddd729a3 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Document _UPT_resume().

(Logical change 1.59)
oc/libunwind-ptrace.tex
57bdcfeb0d019d232c041ff2a06d170595bc8275 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Delete spurious copyright message.
(struct ia64_script_cache): Declare "lock" member.
(ia64_get_cached_proc_info): Rename from ia64_script_lookup().

(Logical change 1.59)
nclude/ia64/script.h
4f6610b497a4a338a45877d4c562bdf80b043312 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Add proper locking to ia64-implementation.
Implement _UPT_resume().
Lots of small fixes to make tar-based distribution work, make x86 target compile
again, etc.

BKrev: 3e66e74czhAdPIrEkhQdwJEf8gQVng
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)
rc/mempool.c
2853523b39a17e06ea08426606449058fb745e93 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (unwind_and_resume): Rename UNW_REG_EH_ARG0 to UNW_REG_EH+0 and UNW_REG_EH_ARG1 to
UNW_REG_EH+1.

(Logical change 1.59)
ests/Gia64-test-rbs.c
45ce48f2e45200302e119997be0169d23e48ae08 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (unw_tdep_fpreg_t): Declare as "long double".
(UNW_TDEP_EH): Declare.
(UNW_TDEP_NUM_EH_REGS): New macro.

(Logical change 1.59)
nclude/libunwind-x86.h
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)
rc/x86/Gget_proc_name-x86.c
3532dd4a4cb5e5cbaf0a32f8c493bb3c0e0e9898 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (main): Add some explicit casts to avoid "unsigned/signed comparison" warnings.

(Logical change 1.59)
ests/ia64-test-dyn1.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)
rc/Makefile.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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gscript-ia64.c
a6e367131b3d0cff995f7bc6decb9d08433d8cbd 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (UNW_TDEP_EH): Rename from UNW_TDEP_EH_ARG0.
(UNW_TDEP_EH_ARG1): Delete.
(UNW_TDEP_EH_ARG2): Ditto.
(UNW_TDEP_EH_ARG3): Ditto.
(UNT_TDEP_NUM_EH_REGS): New macro.

(Logical change 1.59)
nclude/libunwind-ia64.h
c670abba8fa9de062180e69481ab49000d7bf2e4 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (UNW_REG_EH): Rename from UNW_REG_EH_ARG0.
(UNW_REG_EH_ARG1): Delete.
(UNW_REG_EH_ARG2): Ditto.
(UNW_REG_EH_ARG3): Ditto.
(UNW_NUM_EH_REGS): New macro.
(_UPT_resume): Declare.

(Logical change 1.59)
nclude/libunwind-common.h
515fd742bdcbf846b829ec6779a58af141b26c30 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.59)
rc/_UPT_resume.c
623c4cb79a2d03569675589c4f9d7e340d51f72e 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> (EXTRA_DIST): New macro. Mention run-ia64-test-dyn1.
(Lia64_test_stack_SOURCES): Mention ia64-test-stack.h.
(Gia64_test_stack_SOURCES): Ditto.
(Lia64_test_rbs_SOURCES): Mention ia64-test-rbs.h.
(Gia64_test_rbs_SOURCES): Ditto.

(Logical change 1.59)
ests/Makefile.am
33182308c6080f981b3e104496d8e23bf89e7657 05-Mar-2003 hp.com!davidm <hp.com!davidm> Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2003/03/04 16:13:44-08:00 hp.com!davidm
Make sure elfxx.h and elfxx.c get distributed. Reported by Arun
Sharma.

BKrev: 3e654146-959Szs5FKTAqJu9pNq4KQ
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)
rc/Makefile.am
9d61294fde255d01815a6f40be86761f4256a5dc 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Include <assert.h>.
(main): Clean up region->op_count handling: op_count specifies the length of
the array, not the number of valid op-entries.

(Logical change 1.57)
ests/ia64-test-dyn1.c
c302a346bb56300d27012f31684aea903d9ed1c4 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Clean up ia64-test-dyn1.c with respect to region->op_count.

BKrev: 3e5e4be0LeBIVPR63yfKpjYmBPQhig
64b4ac37da202e427e6e6def480b5c872c340af6 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Use SIGUSR1/SIGUSR2 to start/stop backtrace() verification for trace_mode == TRIGGER.

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

(Logical change 1.56)
rc/ia64/Gparser-ia64.c
26f95915e4ef33562d793ad89fd535a4194d96b8 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.56)
oc/libunwind-ptrace.man
rc/Makefile.in
ests/Makefile.in
62491cc719f5a681e3181c89d26031dff1741102 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Many fixes to get (remote) dynamic unwind info working for real.
Add get_proc_name() callback to accessors so things like the ptrace-support
routines can also print static procedure names.
Try running "tests/test-ptrace -v -t tests/ia64-test-dyn1" for fun.

BKrev: 3e5de161FPiuBUYgFoJGdYn3fGlUUQ
e31015f67f3fdfc2cd9d4369debb5f4196c26694 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.56)
rc/_UPT_get_proc_name.c
ests/run-ia64-test-dyn1
1de6745d5b0b320a59bdccb7270bb5ae0d22e319 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/_UPT_get_proc_name.c
ests/run-ia64-test-dyn1
45776310947e41852765c6c2399f9e090e12dc99 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Don't be verbose by default.
(main): Send SIGUSR1 before dynamic testing starts, SIGUSR2 afterwards (makes it
easy for test-ptrace to catch when verification should begin).
Add test case for func_vframe().

(Logical change 1.56)
ests/ia64-test-dyn1.c
404230b56acf69b1c3db2e686dfc19e2f6bbca47 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Document _UPT_get_proc_name().

(Logical change 1.56)
oc/libunwind-ptrace.tex
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)
rc/Gget_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)
rc/dyn-extract.c
7343841308f1266a37e1eeafd4158ec9aa64f790 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_accessors_t): Add optional get_proc_name() callback.

(Logical change 1.56)
nclude/libunwind-common.h
5428fc629557f772769f8d94244186cc0fde1b1a 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw): Move "psp" member before "bsp_loc".

(Logical change 1.56)
rc/ia64/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)
rc/elfxx.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)
rc/Makefile.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)
rc/dyn-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)
rc/ia64/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)
rc/ia64/Ginit-ia64.c
a3806e7c16dd8e988507a7dab037cd99e74277a7 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (get_proc_name): Add "pid" argument.

(Logical change 1.56)
rc/elfxx.h
0d7396a027d2a7e5480dde9deaf5398957adb829 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (func_add3): Various small fixes.
(func_vframe): New function.

(Logical change 1.56)
ests/ia64-dyn-asm.S
405a7d8adfac2e5769c4ba73b13bb78abbee9989 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (check_SCRIPTS_cdep): New macro
(check_PROGRAMS_cdep): Ditto
(check_SCRIPTS_arch): Ditto.
(check_PROGRAMS_arch): Ditto.
(check_SCRIPTS): Ditto.
(check_PROGRAMS): Ditto.
(TESTS): Define in terms of check_PROGRAMS and check_SCRIPTS.

(Logical change 1.56)
ests/Makefile.am
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)
rc/ia64/Gscript-ia64.c
9430d35c9bef10f22f74fa298deec3cd72ee9fed 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (_U_dyn_region_info_size): Define it in a more straight-forward manner.
(_U_dyn_op_label_state): Drop "qp" and "when" arguments.
(_U_dyn_op_copy_state): Ditto.
(_U_dyn_op_stop): Define qp to _U_QP_TRUE and when to -1.
(_U_QP_TRUE): New macro.

(Logical change 1.56)
nclude/libunwind-dynamic.h
9df94711bf2f5d3ed6664edd97bdb504399b1ca0 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (_U_TDEP_QP_TRUE): New macro.
(UNW_IA64_RP): New register-name.

(Logical change 1.56)
nclude/libunwind-ia64.h
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)
rc/_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)
rc/_UPT_accessors.c
6863c4aaf59bfc73bfd1aec53900a60e699bd535 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (IA64_REG_PSP): Move it ino front of IA64_REG_BSP.
(tdep_get_proc_name): Delete.

(Logical change 1.56)
nclude/tdep-ia64.h
ea8a74ba29d4316f5b3337293b75a71a9eeaa8dd 26-Feb-2003 hp.com!davidm <hp.com!davidm> Rewrite it.

(Logical change 1.55)
ests/ia64-dyn-asm.S
818d0241f200119c08ba8062bc801f70b1719335 26-Feb-2003 hp.com!davidm <hp.com!davidm> Initial revision
ests/ia64-test-dyn1.c
b97fa14ca5dfe9d98a5886e0beaa67b3d6e1f198 26-Feb-2003 hp.com!davidm <hp.com!davidm> Include <asm/ptrace_offsets.h> if host is IA-64.
(trace_mode): New variable.
(main): Support options -i (instruction-by-instruction backtracing), -s
(syscall-level backtracing), -t (triggered instruction-level backtracing).

(Logical change 1.55)
ests/test-ptrace.c
d7903bb9a2103dc948ae5498ce7b9c27c4170f31 26-Feb-2003 hp.com!davidm <hp.com!davidm> Debug remote dynamic unwind info code some more.
Minor build-fixes (e.g., so that libunwind builds with Intel ECC compiler again).

BKrev: 3e5c7bf55VuVnZW_HViwnoR8zoTCag
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)
rc/ia64/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)
rc/dyn-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)
rc/ia64/Ginit-ia64.c
c503981c390d9e03fcdaf1421803d7fb6441534b 26-Feb-2003 hp.com!davidm <hp.com!davidm> (struct ia64_global_unwind_state): Add member "r0".

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

(Logical change 1.55)
rc/ia64/unwind_i.h
43652d9deaa65d1fa1aca67ea3ac3a6f6d852086 26-Feb-2003 hp.com!davidm <hp.com!davidm> (ia64): Undef this macro if it's defined (bug in Intel's ECC v7.0?).
(_Uia64_find_dyn_list): Add "gp" argument.

(Logical change 1.55)
nclude/libunwind-ia64.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)
rc/ia64/tables-ia64.c
cf3b756567fb97f875fd1a1d9aeba65c2848501a 26-Feb-2003 hp.com!davidm <hp.com!davidm> (_U_dyn_op_pop_frames): Fix typo in UNW_DYN_POP_FRAMES.

(Logical change 1.55)
nclude/libunwind-dynamic.h
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)
rc/ia64/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)
rc/_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)
rc/_UPT_access_reg.c
9f48ae3751eab269f9a7e3ec1a88950b9ac09a53 26-Feb-2003 hp.com!davidm <hp.com!davidm> (TESTS_arch): Add ia64-test-dyn1.
(ia64_test_dyn1_SOURCES): New macro.

(Logical change 1.55)
ests/Makefile.am
601494e77189871a3edc715d9585355bd31c8504 26-Feb-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.55)
ests/ia64-test-dyn1.c
31c76129382a9ad0b87c29b0c1fcc3db0cdaf53e 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.54)
rc/Makefile.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)
rc/get_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)
rc/Gget_proc_name.c
3434090e32e1c7c566cf82eff1a14b530e364bdc 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.54)
oc/libunwind-dynamic.tex
rc/Lget_proc_name.c
ests/ia64-dyn-asm.S
5d9d17a5e86345f98a9b247081bdebb74b1f0f5a 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
oc/libunwind-dynamic.tex
rc/Gget_proc_name.c
rc/Lget_proc_name.c
ests/ia64-dyn-asm.S
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)
rc/ia64/Gparser-ia64.c
a01d77efb8d4de59a2afc83b271bd492c676fa5d 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> Fix a bug that kept unw_get_proc_name() from working for the UNW_LOCAL_ONLY case.

Allow region-length to be negative in dynamic region info. This is used to
for describing fixed epilogues and makes it possible to share region descriptors
for such epilogues, regardless of the size of a procedure.

Start working on a dynamic unwind-info tester.

BKrev: 3e57329fpkUAufjGT8s5JT0u6q287A
e20ecc63b8849ede6d2e24b6950e4c78d584ea4f 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unwi_get_proc_name): Don't make it an arch-object. Drop "is_local" argument.

(Logical change 1.54)
nclude/internal.h
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)
rc/hppa/Gget_proc_name-hppa.c
rc/ia64/Gget_proc_name-ia64.c
rc/x86/Gget_proc_name-x86.c
e61440508f5e27d407907dcc7224515542cb3819 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_dyn_region_info_t): Make insn_count signed.

(Logical change 1.54)
nclude/libunwind-dynamic.h
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)
rc/Makefile.am
1a6bf76301ebd7b645e665501b8443af1ad5c864 22-Feb-2003 hp.com!davidm <hp.com!davidm> Rename: tests/test-dyn1.c -> tests/Gtest-dyn1.c

}(Logical change 1.53)
ests/test-dyn1.c
a1aed8c295d14b1e7eb908f3efa1ddd9b75696f7 22-Feb-2003 hp.com!davidm <hp.com!davidm> Rename: tests/test-dyn1.c -> tests/Gtest-dyn1.c

(Logical change 1.53)
ests/Gtest-dyn1.c
ad94265cfffa2151da3d6b7c223b9897ec52d7bb 22-Feb-2003 hp.com!davidm <hp.com!davidm> Rename: tests/ia64-test-stack.c -> tests/Gia64-test-stack.c

}(Logical change 1.53)
ests/ia64-test-stack.c
9c83634f045438d466ef9113820e8bd8b059ceec 22-Feb-2003 hp.com!davidm <hp.com!davidm> Rename: tests/ia64-test-stack.c -> tests/Gia64-test-stack.c

(Logical change 1.53)
ests/Gia64-test-stack.c
7849826bf9a601b625a156ed7d6900500e53c816 22-Feb-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.53)
oc/unw_resume.man
ests/Makefile.in
982f0e1684580f79a0bc42a53e2f0df5315faccd 22-Feb-2003 hp.com!davidm <hp.com!davidm> New file.

}(Logical change 1.53)
ests/ia64-test-rbs.c
690b203671d84c1de6f4327dcbacc905e214161a 22-Feb-2003 hp.com!davidm <hp.com!davidm> New file.

2003/02/21 13:59:32-08:00 hp.com!davidm
Rename: tests/ia64-test-rbs.c -> tests/Lia64-test-rbs.c

(Logical change 1.53)
ests/Lia64-test-rbs.c
bb4f71708d22a89ad6728ee2d28102ee294b2e31 22-Feb-2003 hp.com!davidm <hp.com!davidm> Minor formatting fix.

(Logical change 1.53)
rc/ia64/Ginit_local-ia64.c
fd7e332a1fb18d557735d5ea8e0a7ae1becf44ba 22-Feb-2003 hp.com!davidm <hp.com!davidm> Implement remote-case of unw_resume().
Clarify man-page for unw_resume().
For the test-cases where this makes sense, test both local-only and
generic cases.

BKrev: 3e56e9a6jNuF7S9oLAiyygieyZq22g
a126d452e431cc1045928fb6c466dc4b86519802 22-Feb-2003 hp.com!davidm <hp.com!davidm> Describe behavior difference between local and remote unw_resume().

(Logical change 1.53)
oc/unw_resume.tex
5187d53d312e17555f9efdb640f02640e085b9f6 22-Feb-2003 hp.com!davidm <hp.com!davidm> Delete UNW_LOCAL_ONLY.

}(Logical change 1.53)
ests/test-exc.c
f77ee147ace13e3d500dc3d4468cb1b0dec2b0a4 22-Feb-2003 hp.com!davidm <hp.com!davidm> Delete UNW_LOCAL_ONLY.

2003/02/21 18:58:12-08:00 hp.com!davidm
Rename: tests/test-exc.c -> tests/Gtest-exc.c

(Logical change 1.53)
ests/Gtest-exc.c
4fdeae046bd0cdc8acdb64b21a776f05d4879dab 22-Feb-2003 hp.com!davidm <hp.com!davidm> D

}(Logical change 1.53)
ests/test-resume-sig.c
899ce01967031f46688872e489f886ab6c4e7530 22-Feb-2003 hp.com!davidm <hp.com!davidm> D

2003/02/21 18:59:31-08:00 hp.com!davidm
Rename: tests/test-resume-sig.c -> tests/Gtest-resume-sig.c

(Logical change 1.53)
ests/Gtest-resume-sig.c
a0f3b067b8bca7f64cb86a4416d34ab0bce92a33 22-Feb-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.53)
ests/Gia64-test-rbs.c
ests/Lia64-test-stack.c
ests/Ltest-dyn1.c
ests/Ltest-exc.c
ests/Ltest-resume-sig.c
37d99c0c9fd0ccb3a26b78456213125748ec4421 22-Feb-2003 hp.com!davidm <hp.com!davidm> Initial revision
ests/Gia64-test-rbs.c
ests/Gia64-test-stack.c
ests/Gtest-dyn1.c
ests/Gtest-exc.c
ests/Gtest-resume-sig.c
ests/Lia64-test-rbs.c
ests/Lia64-test-stack.c
ests/Ltest-dyn1.c
ests/Ltest-exc.c
ests/Ltest-resume-sig.c
ea34cc2bee1dea32b87e2db1e7748456d423fce2 22-Feb-2003 hp.com!davidm <hp.com!davidm> (uc_off): Remove (it wasn't used anymore).

(Logical change 1.53)
nclude/tdep-ia64.h
2b0b48fd8acb2ffe9e8085b02942ba6fe9a10c96 22-Feb-2003 hp.com!davidm <hp.com!davidm> (remote_install_cursor): Implement it.

(Logical change 1.53)
rc/ia64/Gresume-ia64.c
1d36e973336c599ae49007a1e4977c9236df347a 22-Feb-2003 hp.com!davidm <hp.com!davidm> (TESTS_arch): Replace ia64-test-rbs with Gia64-test-rbs and
Lia64-test-rbs.
(TESTS_cdep): Replace test-exc, test-resume-sig, and test-dyn1 with
G (generic) and L (local-only) variants.
(Lia64_test_rbs_SOURCES): Rename from ia64_test_rbs_SOURCES.
(Gia64_test_rbs_SOURCES): New macro.
(Lia64_test_stack_SOURCES): Rename from ia64_test_stack_SOURCES.
(Gia64_test_stack_SOURCES): New macro.

(Logical change 1.53)
ests/Makefile.am
b49a5f35e1bca217045642077684c4d102d87b0d 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.52)
oc/unw_resume.man
84bdbf814d576f894f3c073c3b027f8b21f68241 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> Fix ia64 code to use the same modular-arithmetic based test to determine whether
or not a given address is part of a register-backing store. This test is implemented
by rbs_contains().

Fix and greatly simplify ia64 rbs-switching code. ia64-test-rbs now passes
100,000 iterations of random testing.

BKrev: 3e55d6farvnB-gMiDPTFoO1XVBzEtA
88c6bcd7949ac2028ede1a4f8524a25a8de932c3 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> Add note that unw_resume() does NOT execute unwind-handlers (personality-routines).

(Logical change 1.52)
oc/unw_resume.tex
f0c37e16524a301b405e47de87cf1f933bfaa975 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unwind_and_resume): Correct argument printing.
(run_check): Limit unwind_count to range 1..(nfuncs+RECURSION_DEPTH).
Fix off-by-one but that counter-acted a bug in ia64-test-rbs-asm.S.

(Logical change 1.52)
ests/ia64-test-rbs.c
c3412256936103a99d373ce0272fabb0ff70d245 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> (struct cursor): Remove rbs_right_edge.

(Logical change 1.52)
nclude/tdep-ia64.h
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)
rc/ia64/regs.h
749cd255297c458a4f95101669f958a16c73c53c 21-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rbs_underflow): Remove.
(rbs_contains): New function.

(Logical change 1.52)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gstep-ia64.c
4d5c375d3429efd10dea9d4e420c74ce3684669c 20-Feb-2003 mostang.com!davidm <mostang.com!davidm> Fix an off-by-one bug in ia64-test-rbs-asm.S.

BKrev: 3e5518c3r3fTJWpLxBVdJoya8Mkm2g
0d89914d4ee68809cd4c7142ef3c69969198b679 20-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rbs_spill_N): Fix off-by-one bug in indexing into next_func[].

(Logical change 1.51)
ests/ia64-test-rbs-asm.S
6af90d0df45daf5c20c0adc301682b4a74b0618c 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.50)
onfigure
rc/Makefile.in
ests/Makefile.in
80866c48fdaea90707b42971526fb30d86a9ed4d 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate built files.

BKrev: 3e4e0023Hp_Z9ojofV3zSlDNXv7gvg
edf42f2db56c68725c3d93cbb1420e2569cab861 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> Up version number to 0.3.

(Logical change 1.49)
onfigure.in
ff7880fde8fc5a0d267f1c31ea24327ff78ac560 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> Merge bk://unwind@bkbits.net/libunwind
into panda.mostang.com:/data/home/davidm/src/unwind/libunwind

2003/02/15 00:49:49-08:00 mostang.com!davidm
Fix unw_resume() some more. Getting there, slowly. tests/ia64-test-rbs doesn't
pass fully yet, but it's getting quite far already.


BKrev: 3e4dff33_NzEt_iH9gpn6Sexm7Fngg
fb1997ff0ad46efe388fee319ae45db47d78cfd6 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> Add include of "ia64-test-rbs.h".
(NELEMS): New macro.
(RECURSION_DEPTH): Fix definition: loadup() allocates 93 local regs, not 95.
(spill_func_t): Make it return an "int".
(DCL): Adjust accordingly.
(verbose): New variable.
(nerrors): Make it an "int".
(unwind_count): Ditto.
(unwind_and_resume): Make it return an int. Print info-output only if verbose is
set. After unwinding to the desired point, redirect IP to
resumption_point_label and store return value in EH_ARG0 and original
IP in EH_ARG1.
(run_check): New function.
(main): Remove open test code and call run_check() instead.

(Logical change 1.49)
ests/ia64-test-rbs.c
d8023cf208876778cd663e6b52ca80d1c4799f3f 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_set_caching_policy): Call ia64_init() first if necessary.

(Logical change 1.49)
rc/ia64/set_caching_policy-ia64.c
71ab0b2a3cee677026ca27420ad8f6c03bc02749 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> (rbs_spill_NN): If r8 is non-negative on return from subroutine-call, increment it
by one. Take care of restoring the dirty partition before switching back
to original backing store.
(LD_LOC): Load only 4 bytes, not 8 bytes.
(CK_LOC): New macro.
(loadup): ar.pfs is saved in r36, not r34. After returning from subroutine call,
check local variables to make sure they still contain the correct values.
(resumption_point): New function.

(Logical change 1.49)
ests/ia64-test-rbs-asm.S
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)
rc/ia64/rbs-ia64.c
b8c178177a66b3279fe0b0ec60e2528b25c094f5 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> (ia64_local_resume): Remove unused variable "loadrs".

(Logical change 1.49)
rc/ia64/Gresume-ia64.c
44a825a3d5e602f80ecbe072185cc95351891758 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> (TEST_arch): Put ia64-test-stack first.
(TESTS): Put $(TESTS_arch) first.

(Logical change 1.49)
ests/Makefile.am
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)
rc/ia64/flush_cache-ia64.c
0cf429d97178476ae8305d2f937c1b3ebdd23805 15-Feb-2003 hp.com!davidm <hp.com!davidm> More cross-compile bugfixes.

BKrev: 3e4dafa6l-AS3Rzo_-mJZQTszUp8rQ
ad066d35b75eddbc0b88e085f521e106277209a7 15-Feb-2003 hp.com!davidm <hp.com!davidm> Do nothing of UNW_REMOTE_ONLY is defined.

(Logical change 1.48)
rc/elf32.c
rc/elf64.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)
rc/get_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)
rc/Gfind_dynamic_proc_info.c
a45c88823ab3825fde3264f1f056a0c0faa7ba8a 15-Feb-2003 hp.com!davidm <hp.com!davidm> (likely): Make them work even for non-GCC (or old GCC) compilers.
(unlikely): Ditto.
(debug): Print to stderr.
(dprintf): Ditto.

(Logical change 1.48)
nclude/internal.h
7fd45d122cec23084aa3d6ab4041e3f5bd7c93a8 15-Feb-2003 hp.com!davidm <hp.com!davidm> (create_state_record_for): Use dprintf(), not printf().

(Logical change 1.48)
rc/ia64/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)
rc/ia64/rbs-ia64.c
b05848b2aa2d952f8921c34b9222158d55259461 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> Merge bk://unwind@bkbits.net/libunwind
into panda.mostang.com:/data/home/davidm/src/unwind/libunwind

2003/02/13 22:22:00-08:00 mostang.com!davidm
Make unw_resume() work on ia64 even when the register backing store of the frame
being resumed is scattered across multiple backing store areas.

BKrev: 3e4c8be0eOFftTsWIstwNwHfb0wKdQ
894b96b95a2e91323a0416a44f00a3185de0c0e8 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.47)
ests/ia64-test-rbs-asm.S
ests/ia64-test-rbs.c
ests/ia64-test-rbs.h
9b16424457ec791e88c96bf632f0c48141d1e70b 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/ia64-test-rbs-asm.S
ests/ia64-test-rbs.c
ests/ia64-test-rbs.h
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)
rc/Makefile.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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/_Uia64_install_context.S
508348e6931c64e2ca1522ba9675f935f3c73f3b 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> (TESTS_arch): Mention ia64-test-rbs.
(ia64_test_rbs_SOURCES): New macro.

(Logical change 1.47)
ests/Makefile.am
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)
rc/Makefile.am
74f568c602f857848a677c010683c731c80b1e0a 14-Feb-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.46)
nclude/config.h.in
49f992ac07809419614f5bd1dcc566b5c0cf4212 14-Feb-2003 hp.com!davidm <hp.com!davidm> Mention !UNW_REMOTE_ONLY on #else branch.

(Logical change 1.46)
rc/ia64/Ginit-ia64.c
0aa53387e364c154cc676ed4e13b468cf8be29d4 14-Feb-2003 hp.com!davidm <hp.com!davidm> Fix cross-building (UNW_REMOTE_ONLY).

BKrev: 3e4c5de7AVRE9jFQVcwdQSDsiTq5rw
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/_UPT_find_proc_info.c
bbe86eee6881a7db41bb4c62ab6bbacc83b4bc94 14-Feb-2003 hp.com!davidm <hp.com!davidm> (AC_CHECK_HEADERS): Mention ia64intrin.h.
(CCASFLAGS): Define this instead of ASFLAGS.

(Logical change 1.46)
onfigure.in
bbffb334fd052fcf12825713c7d6229bf36fc12c 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> include <string.h>.

(Logical change 1.45)
rc/_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)
rc/_UPT_get_dyn_info_list_addr.c
19a4e775acee96ce314c6f08848dabf4f0b704ec 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Up version number to 0.2-pre5.
(OS_LINUX): New conditional.
(CFLAGS): Turn on -Wsign-compare for gcc.

(Logical change 1.45)
onfigure.in
425adcbda4a4b69cd629b8bfe229c8a6030ea94b 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Rewrite.

}(Logical change 1.45)
rc/ia64/__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)
rc/ia64/_Uia64_install_context.S
a8db0b3fa1eaf6922971ae5e2545347ebb0691c1 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.45)
akefile.in
onfigure
oc/Makefile.in
oc/libunwind.man
rc/Makefile.in
97c8c1ef37fbe4c5d29029914c3ad4493363e46f 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Make it an automatic test.

}(Logical change 1.45)
ests/exc.c
0098b771ce9e40cde19140790b7a71154f8d748b 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Make it an automatic test.

2003/02/07 10:36:32-08:00 mostang.com!davidm
Rename: tests/exc.c -> tests/test-exc.c

(Logical change 1.45)
ests/test-exc.c
824d6619b500a86ff2fc680268357f0215d59b0c 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.45)
oc/libunwind-setjmp.man
oc/libunwind-setjmp.tex
oc/unw_resume.man
oc/unw_resume.tex
rc/elf32.c
rc/elf32.h
rc/elf64.c
rc/elf64.h
rc/elfxx.c
rc/elfxx.h
rc/ia64/mk_cursor_i-ia64.c
rc/ia64/setjmp-ia64.S
rc/ia64/siglongjmp-ia64.S
rc/ia64/sigsetjmp-ia64.S
rc/longjmp.c
rc/os-linux.c
rc/os-linux.h
rc/setjmp.c
rc/siglongjmp.c
rc/sigsetjmp.c
ests/test-setjmp.c
5f94e2d488701fccd474245df3ad6f51aff2a05e 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
oc/libunwind-setjmp.man
oc/libunwind-setjmp.tex
oc/unw_resume.man
oc/unw_resume.tex
rc/elf32.c
rc/elf32.h
rc/elf64.c
rc/elf64.h
rc/elfxx.c
rc/elfxx.h
rc/ia64/_Uia64_install_context.S
rc/ia64/mk_cursor_i-ia64.c
rc/ia64/setjmp-ia64.S
rc/ia64/siglongjmp-ia64.S
rc/ia64/sigsetjmp-ia64.S
rc/longjmp.c
rc/os-linux.c
rc/os-linux.h
rc/setjmp.c
rc/siglongjmp.c
rc/sigsetjmp.c
ests/test-exc.c
ests/test-setjmp.c
108627cab7efa919c77ebbfd6ec809a62cc62933 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Include "elf64.h".
(struct cursor): Add member "eh_valid_mask" to track which eh_args[] are valid.
Fix comment for rbs_curr.
(tdep_get_elf_image): New routine.

(Logical change 1.45)
nclude/tdep-ia64.h
b2a5a9023b8fa5ffeb8fb87b533d56daec817895 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Fix signed/unsigned comparisons.

(Logical change 1.45)
rc/_UPT_access_fpreg.c
rc/ia64/Gparser-ia64.c
rc/ia64/regname-ia64.c
rc/ia64/regs.h
ests/ia64-test-stack.c
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)
rc/_UPT_find_proc_info.c
d0e021d85bebb7c97e81097d6759ca191070ce99 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Add copyright notice.
Make it an automatic test.

(Logical change 1.45)
ests/test-resume-sig.c
31d99ecca6db8e63a40dfc76251f52971ba87c3f 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Add ELF-procedure name lookup for local unwinding.
Add libunwind-based non-local goto support (aka setjmp() in 3 stores).
Start redoing/finalizing the unw_resume() support.
Add more test-cases and documentation.

BKrev: 3e44d7b3QRWc7y6jH7lU6t9FWZ1nyw
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)
rc/Gput_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)
rc/get_proc_name.c
8c2740cfe324131373afa75fec4abb3fd9d44e24 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_tdep_fpreg_t): New type.
(UNW_TDEP_EH_ARG0): Make it an alias for r15.
(UNW_TDEP_EH_ARG1): Make it an alias for r16.
(UNW_TDEP_EH_ARG2): Make it an alias for r17.
(UNW_TDEP_EH_ARG3): Make it an alias for r18.

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

(Logical change 1.45)
rc/ia64/Gresume-ia64.c
f5892c26be52e370133ea0669762651e88ca3af2 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_get_proc_name): Update prototype.
(See Also): Mention libunwind-setjmp(3) and unw_resume(3).

(Logical change 1.45)
oc/libunwind.tex
42cfe4f411ad1f33dbb51fbc99e433db99143ac4 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (unw_get_proc_name): Add "offp" argument.

(Logical change 1.45)
rc/ia64/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)
rc/_UPT_internal.h
ea39f89528d5031f8c23bb55eb4c7d1f1415b549 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (sighandler): Print procedure-name along with address.

(Logical change 1.45)
ests/test-dyn1.c
ed0fad11058a8849caf39cb0e7122f173897523d 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (man3_MANS): Mention libunwind-setjmp.man and unw_resume.man.
(EXTRA_DIST): Mention libunwind-setjmp.tex and unw_resume.tex.

(Logical change 1.45)
oc/Makefile.am
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)
rc/ia64/Gregs-ia64.c
d20530f7ab84f20584518d352759c4d643518092 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (do_backtrace): Adjust for new "offset" argument in unw_get_proc_name().

(Logical change 1.45)
ests/test-ptrace.c
5f82f8e5572722420db2f568b7664cda45482a47 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (do_backtrace): Adjust for "offset" argument in unw_get_proc_name() and print
procedure name in a prettier fashion.

(Logical change 1.45)
ests/bt.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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/_UPT_access_mem.c
981c8cc37b30162b17818bf36d7dff801fd87bc3 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (UNW_REG_EH_ARG0): New well-known register name.
(UNW_REG_EH_ARG1): Ditto.
(UNW_REG_EH_ARG2): Ditto.
(UNW_REG_EH_ARG3): Ditto.
(unw_fpreg_t): Make it a target-dependent type.
(unw_get_proc_name): Also return the offset relative to the function name returned.

(Logical change 1.45)
nclude/libunwind-common.h
5db393915c23fe9f3410479847ebc2d23571970e 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (TESTS_cdep): Add test-setjmp.
(test_setjmp_LDADD): New macro.

(Logical change 1.45)
ests/Makefile.am
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)
rc/Makefile.am
f5265f56ba836982dcca3cf7fa4ec736b29237ab 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (HIDDEN): Make it empty unless we have at least GCC v3.3.
(unwi_get_proc_name): Also return the offset relative to the returned function-name.
(struct elf_image): New structure.

(Logical change 1.45)
nclude/internal.h
9657e6d5ff49c9038e9e04035f64a958e9db5796 28-Jan-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.44)
oc/libunwind.man
64f2bf7735359f0743fda2eeeceb2ace3c2a6be8 28-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.44)
oc/libunwind-ptrace.man
oc/libunwind-ptrace.tex
38867942307f2794b9565f263799321886135a28 28-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
oc/libunwind-ptrace.man
oc/libunwind-ptrace.tex
10b928ac33524f997f8a1b4f0016471c0424cf18 28-Jan-2003 mostang.com!davidm <mostang.com!davidm> Add man-page for libunwind-ptrace(3). Fix typo in debug statements.

BKrev: 3e3631ffN5dWXJUZHIpDMx0q9cQPHg
de4410dce0c6765b4c8f7dee9caf9e6d6f60d630 28-Jan-2003 mostang.com!davidm <mostang.com!davidm> (ui): Make it global instead of local to do_backtrace().
(do_backtrace): Move creation/destruction of the UPT-info structure from here...
(main): ...to here.

(Logical change 1.44)
ests/test-ptrace.c
385b56fb3df112532c6e8f67ccc4bf76a36a9fb4 28-Jan-2003 mostang.com!davidm <mostang.com!davidm> (man3_MANS): Mention libunwind-ptrace.man.
(EXTRA_DIST): Mention libunwind-ptrace.tex.

(Logical change 1.44)
oc/Makefile.am
17220411d47e7d00ff946f325eef77397987ff3f 28-Jan-2003 mostang.com!davidm <mostang.com!davidm> (_UPT_access_reg): Fix typo in debug() statements.

(Logical change 1.44)
rc/_UPT_access_reg.c
ac0e9b4184c85385412db033f50474609f1517b7 28-Jan-2003 mostang.com!davidm <mostang.com!davidm> (See Also): Mention libunwind-ptrace(3).

(Logical change 1.44)
oc/libunwind.tex
644c9193453c17afe4187ad5a0310b1d7481eeaf 28-Jan-2003 hp.com!davidm <hp.com!davidm> Rename UNW_IA64_AR_25 to UNW_IA64_AR_CSD, as per SDM v2.1.
(_Uia64_search_unwind_table): Declare.
(_Uia64_find_dyn_list): Declare as "extern".
(_Uia64_get_kernel_table): Declare.

(Logical change 1.43)
nclude/libunwind-ia64.h
a69cf3deb91a632efdbda5dba6212a5f5610c7ee 28-Jan-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.43)
akefile.in
clocal.m4
onfigure
nclude/config.h.in
rc/Makefile.in
b28af10e4b4009783b3e2fc9804583ce4537bb0e 28-Jan-2003 hp.com!davidm <hp.com!davidm> R

(Logical change 1.43)
ests/Makefile.in
e9e4e5fb29d322105e75577e11ef1cfb0dd0f9db 28-Jan-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.43)
rc/_UPT_access_fpreg.c
rc/_UPT_access_mem.c
rc/_UPT_access_reg.c
rc/_UPT_accessors.c
rc/_UPT_create.c
rc/_UPT_destroy.c
rc/_UPT_find_proc_info.c
rc/_UPT_get_dyn_info_list_addr.c
rc/_UPT_internal.h
rc/_UPT_put_unwind_info.c
rc/_UPT_reg_offset.c
ests/test-ptrace.c
b064eb45748633753e8ae8dbf6a63aeea1102d95 28-Jan-2003 hp.com!davidm <hp.com!davidm> Initial revision
rc/_UPT_access_fpreg.c
rc/_UPT_access_mem.c
rc/_UPT_access_reg.c
rc/_UPT_accessors.c
rc/_UPT_create.c
rc/_UPT_destroy.c
rc/_UPT_find_proc_info.c
rc/_UPT_get_dyn_info_list_addr.c
rc/_UPT_internal.h
rc/_UPT_put_unwind_info.c
rc/_UPT_reg_offset.c
ests/test-ptrace.c
6e5c4b7ebc8c7668c525a55dfd1ff164fb28a75b 28-Jan-2003 hp.com!davidm <hp.com!davidm> Change version number to 0.2-pre4.

(Logical change 1.43)
onfigure.in
68bdac36817388e4c59594f8aefdc952a545d466 28-Jan-2003 hp.com!davidm <hp.com!davidm> Add declarations for the _UPT_* helper routines (libunwind via ptrace helpers).

(Logical change 1.43)
nclude/libunwind-common.h
60be26eeb6a09ed7c5c2d581a223f3a8eb174c23 28-Jan-2003 hp.com!davidm <hp.com!davidm> Add _UPT_*() helper routines to make it easy to use libunwind for ptrace'd processes.

BKrev: 3e35fb96i3Wt4nwNbCAUmtLvp-6Y9g
0d4634d8fefae40b395cfbe06a2f38d28f51b5ea 28-Jan-2003 hp.com!davidm <hp.com!davidm> (unw_get_save_loc): Rename AR_25 to AR_CSD.

(Logical change 1.43)
rc/ia64/Gget_save_loc-ia64.c
bb25a5ed3b7b23290d2e2b74b48f9b4707e950bc 28-Jan-2003 hp.com!davidm <hp.com!davidm> (tdep_search_unwind_table): Explicitly call _Uia64_search_unwind_table().
Remove declaration of same name; this is now done in libunwind-ia64.h.

(Logical change 1.43)
nclude/tdep-ia64.h
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)
rc/ia64/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)
rc/Makefile.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)
rc/get_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)
rc/dyn-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)
rc/ia64/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)
rc/ia64/tables-ia64.c
21e86c6cbad24358a410f2acdab14454275455d8 28-Jan-2003 hp.com!davidm <hp.com!davidm> (TESTS_cdep): Add test-ptrace.c.

(Logical change 1.43)
ests/Makefile.am
4df2088f8a982530e6c2e2484302b53b6e186893 28-Jan-2003 hp.com!davidm <hp.com!davidm> (SIGCONTEXT_AR_CSD_OFF): Rename from SIGCONTEXT_AR_25_OFF.

(Logical change 1.43)
rc/ia64/offsets.h
93bfdaa128741e52b7a1f82f3fe5ef3b2ba733d2 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.42)
rc/Makefile.in
ests/Makefile.in
81eb7031300b598a5aec06be17e83f32d7bbcc04 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/ia64-test-stack.h
4b532b797b28b0527d80d17340c034d6317b1d5c 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fix a bug that caused accesses to invalid RNaT locations.
Make ia64-test-stack and test-dyn1 part of the test-suite.
Add CFM cache.

BKrev: 3e3038d7iwmOn7u1d1Hf25qwRYN88Q
ffaba71c4e6cb9dea362c02d06baf3b4d6aac7bc 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Add copyright header.
(main): Be verbose only if an argument is passed.

(Logical change 1.42)
ests/test-dyn1.c
83893355b0ee67de7012e3b27eb51cb6a90d7029 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (update_frame_state): Handle "cfm" cache.

(Logical change 1.42)
rc/ia64/Gstep-ia64.c
717cb71374c2bdc9ebe1035252d7fb89742f292f 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (struct cursor): Add "cfm" cache.

(Logical change 1.42)
nclude/tdep-ia64.h
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)
rc/ia64/regs.h
0fe74701c5693b19d2b780183db6671d46508aa7 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (nerrors): New global variable.
(verbose): Ditto.
(do_unwind_tests): Add sanity checking.
(main): Be verbose only if there is an argument, print error summary.

(Logical change 1.42)
ests/ia64-test-stack.c
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)
rc/ia64/unwind_i.h
e30bf11e2c854f190b863aaa7152d71323c2a6b4 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (ia64_access_reg): Handle "cfm" cache.

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

(Logical change 1.42)
rc/ia64/init.h
282413e6abbbd29d2d88d41a6ced0147fd2f4d54 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (TESTS_cdep): New macro for configuration-depedent tests.
(noinst_PROGRAMS_cdep): New macro for config-dependent noinst-programs.
(TESTS_arch): New macro for architecture-specific tests.
(TESTS): New macro, so we can run "make check".
(check_PROGRAMS): New macro.

(Logical change 1.42)
ests/Makefile.am
e55b2e04cec117128f6351cf9fd9117477ce65d8 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (NSTACKS): Move into "ia64-test-stack.h".
(STACK_SIZE_SHIFT): Ditto.
(STACK_SIZE): Ditto.

(Logical change 1.42)
ests/ia64-test-stack-asm.S
a3f100b9f07ba2c4aa5f4b541ce97d2d691d71dd 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.42)
ests/ia64-test-stack.h
95d618391db7de9b30695010425f3ab86b5d4a50 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Rename: tests/sig.c -> tests/ia64-test-sig.c

}(Logical change 1.41)
ests/sig.c
e5b4f8a40dc15be7943b3a1996c33e1887e5735e 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Rename: tests/sig.c -> tests/ia64-test-sig.c

(Logical change 1.41)
ests/ia64-test-sig.c
7ec3afd8db47ccb4957432fed8ba38d27c1c8230 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Minor reformatting.

(Logical change 1.41)
rc/ia64/Ginit_local-ia64.c
3f0ebaa7e38f83dd489f6d26293e1824cfda83bf 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.41)
ests/ia64-test-stack-asm.S
ests/ia64-test-stack.c
01ead91d2149c0297a2c7be4d5266479aadc617e 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/ia64-test-sig.c
ests/ia64-test-stack-asm.S
ests/ia64-test-stack.c
de6b7ac827849ec1da3ca36d33a45a87385b868c 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fix

BKrev: 3e2fbe19oD_3TQwUDRm2z-h2xdPvQw
c3e70b0067a2cc80356a342d1f51c43bdf0c3698 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Correct typo.

(Logical change 1.41)
hangeLog
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)
rc/ia64/Gget_save_loc-ia64.c
6dbc6777a3096c7f25d7bf0f919faf235e900c53 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (struct cursor): Rename rbs_wridx to rbs_right_edge, rbs_nvalid to rbs_left_edge,
and reserve two extra slots in rbs_area[].

(Logical change 1.41)
nclude/tdep-ia64.h
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)
rc/ia64/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)
rc/ia64/unwind_i.h
57df2a2981646c637ec44a570a74feb12633fb8b 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (noinst_PROGRAMS_arch): Mention ia64-test-stack.
(ia64_test_stack_SOURCES): New macro.

(Logical change 1.41)
ests/Makefile.am
7e268d256d407e8a57fc089bddd2ee7c682cc513 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (mi_init): Avoid name-space pollution: make mi_init() an arch-object.

(Logical change 1.41)
nclude/internal.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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gregs-ia64.c
51b47e4ecf182fcc76f257b909155b21af5f06df 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Test unwinding across signal delivered on alternate signal stack.

(Logical change 1.40)
ests/bt.c
6e7fb1619c5e7e8c1b5f9fb46b7869d53245c79a 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Support register-backing-store switching. This should make unwinding across signals
delivered on alternate signal stack work. More testing is needed, but the code should
be complete.

BKrev: 3e2d8640dkwvw3HFk-yQoXqN3nmYaA
28490baa523f124ce8cec3d62221e2cc9ad8797a 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.40)
ests/Makefile.in
1efaaab46ee5374ad7f54e48d4246bcaa49643e3 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.40)
rc/ia64/rbs-ia64.c
ests/test-resume-sig.c
81d01dfc274f83a705bc86b8799ad4e2c46383ac 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/rbs-ia64.c
ests/test-resume-sig.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)
rc/ia64/__ia64_install_context.S
4f231eb84ab0a9ff0448aaba7da1e74ea98f032c 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Add copyright notice.

(Logical change 1.40)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Ginit-ia64.c
8b17d136c54d40e0a369135f12108cd052ebf405 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (struct cursor): Replace rbs_top and top_rnat_loc with rbs_wridx, rbs_curr,
rbs_nvalid, and rbs_area. Add new member sigcontext_off.

(Logical change 1.40)
nclude/tdep-ia64.h
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)
rc/ia64/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)
rc/ia64/unwind_i.h
15ea4d442e2ef351ff1a34d6c3ef28979184d0d1 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (noinst_PROGRAMS): Mentio ntest-resume-sig.

(Logical change 1.40)
ests/Makefile.am
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/Makefile.am
66eefe5e66583d29601e2c74f344bc0d88fdba1a 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Various small updates/cleanups.

BKrev: 3e2d0000UwgCCnhp9HK6-DTSbiS_LA
2212e1276b234e6234f31dd8b4d9f4608c2de2b7 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fix comment for ia64_rse_num_regs().

(Logical change 1.39)
rc/ia64/rse.h
cb8d20c0988384fd67ed46bc6bdc5b5c3073c63a 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (unw_regname): Use NELEMS() instead of open code.

(Logical change 1.39)
rc/x86/regname-x86.c
0797f31dd2127d443d159f528d2936b052cc515a 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (main): Add missing return.

(Logical change 1.39)
ests/sig.c
313653f66ea00b1c7625a1cdb73b017a410d25f9 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (likely): New macro.
(unlikely): Ditto.
(NELEMS): Ditto.

(Logical change 1.39)
nclude/internal.h
b5fe317cc85781d11fba59e2a13dd59d5c73e95e 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (UNW_TDEP_CURSOR_LEN): Define.
(UNW_PI_FLAG_IA64_RBS_SWITCH_BIT): New macro.
(UNW_PI_FLAG_IA64_RBS_SWITCH): Ditto.

(Logical change 1.39)
nclude/libunwind-ia64.h
26f6cf761e71fee9162b0beac6a8b90fd2f2f5c0 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (UNW_TDEP_CURSOR_LEN): Define.

(Logical change 1.39)
nclude/libunwind-hppa.h
nclude/libunwind-x86.h
a4bea2c466cb478f6b74c8b76522df55df6c3c6d 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (UNW_STATE_LEN): Remove (replaced by UNW_TDEP_CURSOR_LEN).
(UNWPI_FLAG_FIRST_TDEP_BIT): Define.
Fix typo in comment: LITTLE not LITLE...

(Logical change 1.39)
nclude/libunwind-common.h
54653ccacc82c5c073cf62f0442c1dd859a9067c 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (.tex.man): Check source file out of bitkeeper with write-lock (-e).

(Logical change 1.39)
oc/Makefile.in
5ffeae6637f6c7996a48eec7f6a991a8d9c0e856 18-Jan-2003 mostang.com!davidm <mostang.com!davidm> Use \SeeAlso{} in the See Also section.

(Logical change 1.38)
oc/libunwind.tex
9f4c59d95e7f7703780433e6e28aad76f7927cdd 18-Jan-2003 mostang.com!davidm <mostang.com!davidm> Some reformatting for clarity. Add SeeAlso macro.

(Logical change 1.38)
oc/libunwind.trans
edc22a3a7e6d50d691466b5cdbbd7b0daaa538b7 18-Jan-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.38)
oc/Makefile.in
oc/libunwind.man
e9b93ad9c3430d28052beff70ad925c578b1daf5 18-Jan-2003 mostang.com!davidm <mostang.com!davidm> More documentation updates. In particular, add libunwind-ia64(3) man-page.

BKrev: 3e290c00nMCoOzkrl5uQA7xsgqYC9g
a308875278b90df56d155b43e910f7795129049e 18-Jan-2003 mostang.com!davidm <mostang.com!davidm> Add \sloppy to avoid overfull hboxes.
(SeeAlso): New command.

(Logical change 1.38)
oc/common.tex.in
827ab382f25ee0f8ef35d2e96fd7a958f1aa428d 18-Jan-2003 mostang.com!davidm <mostang.com!davidm> (man3_MANS): Generate man pages into _source_ directory.
(EXTRA_DIST): Mention libunwind-ia64.tex.
(L2P): New macro.
(.tex.man): Optionally do a "bk get -e" to get a writelock.
(html): Append section name to generated php-page.
(pdf): New make target.

(Logical change 1.38)
oc/Makefile.am
bd2b4658cb223d68a339dc9b838aa7f9eb3a6c3e 18-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.38)
oc/libunwind-ia64.man
oc/libunwind-ia64.tex
68518d5b24d88b87e833dcedd3b201a5d1b019b7 18-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
oc/libunwind-ia64.man
oc/libunwind-ia64.tex
1d9504ddecb9dabff08f1e6463a6068be9bb3186 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fix checkin lossage.

BKrev: 3e2847a71a3emJBVAYE41FJXzDGZQg
0440c53608b69add964fda57d174742060b873db 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fix checkin lossage.

(Logical change 1.37)
akefile.in
clocal.m4
ux/config.guess
ux/config.sub
ux/ltmain.sh
oc/Makefile.in
nclude/config.h.in
rc/Makefile.in
ests/Makefile.in
3631469c786076a4dfc0659d405a683b31ec8095 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fix typo in unw_set_fpreg().

(Logical change 1.36)
oc/libunwind.tex
bd00905997f5eabaaff552623e52aa61b41ab8fb 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fix typo in libunwind(3) man page.

BKrev: 3e27b783XumOP2WROUNRQTOREFQOww
f648f6f24350a2dd7601a4b29cfe68cc86943dec 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.35)
onfigure
b5a5406e0f043387d41a1e8bfd5fa1772d3f5cd7 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.35)
oc/common.tex.in
oc/libunwind.man
oc/libunwind.tex
oc/libunwind.trans
5299120ed3585e9537eb1b44316cf4e20d3f40c7 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
oc/common.tex.in
oc/libunwind.man
oc/libunwind.tex
oc/libunwind.trans
bd94f81b991f218e856f1bbcb032949a2c7268ed 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Convert old-style AC_OUTPUT() to new-style AC_CONFIG_FILES()/AC_OUTPUT.

(Logical change 1.35)
onfigure.in
fa47e3f3bcd388d936635dc4a052abdb7c646536 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Added first man page: libunwind(3).

BKrev: 3e27b564ySIbApfmHueF1SCtAADxog
d1b5c8a0bc68e58529cc3aa184e9ec46d85a1afe 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Add rules to generate man-pages and html version of man-pages.

(Logical change 1.35)
oc/Makefile.am
a38baad7f3343c99f65e8ebb2ccfb02b83cc417c 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> (unw_init_local): Fix typo: the context type should be unw_context_t.

(Logical change 1.35)
nclude/libunwind-common.h
6a8ede68c975b3532248f5385fb28be67a7c208d 16-Jan-2003 mostang.com!davidm <mostang.com!davidm> Upgrade from libtool v1.3.5 to v1.4.3. This should fix an hp-ux problem with
nm -p not being detected properly.

(Logical change 1.34)
ux/libtool
b253a99d8eb3f20ba44fc0e09bdd2c1fb735619b 16-Jan-2003 mostang.com!davidm <mostang.com!davidm> Up version number to 0.2-pre3.
Change "test" equality-test operator from "==" to "=". The former is a non-standard
GNU extension.

(Logical change 1.34)
onfigure.in
1f8991fc5fe11aaa98cfbdbaa80cc2f38436687d 16-Jan-2003 mostang.com!davidm <mostang.com!davidm> Remove libtool.m4 gunk---it's no longer needed with libtool v1.4.3.

(Logical change 1.34)
cinclude.m4
f26451a3b77674a9f02fec1bf6d088fdbd2ed07e 16-Jan-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.34)
onfigure
600e175faa89c03d59270a48611c94850f568329 16-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fixup build environment to make it work better on hp-ux. Upgrade to libtool 1.4.3.

BKrev: 3e262293lO8V6USVLuJon-1WMPr4oA
75dab40474566e7c6c11b7e464021f342afc0f21 16-Jan-2003 mostang.com!davidm <mostang.com!davidm> Delete: aux/ltconfig

}(Logical change 1.34)
ux/ltconfig
8d5c44b16789e62da6a97e52a38b9fbea4079eeb 14-Jan-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.33)
onfigure
8ec7b349f1b9c60e6657da069648a5205c85635b 14-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
nclude/libunwind-hppa.h
nclude/tdep-hppa.h
rc/hppa/Gget_proc_info-hppa.c
rc/hppa/Gget_proc_name-hppa.c
rc/hppa/Gget_reg-hppa.c
rc/hppa/Ginit-hppa.c
rc/hppa/Ginit_local-hppa.c
rc/hppa/Gregs-hppa.c
rc/hppa/Gstep-hppa.c
rc/hppa/Lget_proc_info-hppa.c
rc/hppa/Lget_proc_name-hppa.c
rc/hppa/Lget_reg-hppa.c
rc/hppa/Linit-hppa.c
rc/hppa/Linit_local-hppa.c
rc/hppa/Lregs-hppa.c
rc/hppa/Lstep-hppa.c
rc/hppa/flush_cache-hppa.c
rc/hppa/get_accessors-hppa.c
rc/hppa/global-hppa.c
rc/hppa/init.h
rc/hppa/tables-hppa.c
rc/hppa/unwind_i.h
7776832389a478c5123f51268d101281d996d71a 14-Jan-2003 mostang.com!davidm <mostang.com!davidm> Change ucontext_t to unw_context_t.
Change getcontext() to unw_getcontext().

(Logical change 1.33)
oc/NOTES
ad2276c314819b0c0d04f43fe606ed022ba814ad 14-Jan-2003 mostang.com!davidm <mostang.com!davidm> Add skeletal support for HP PA-RISC architecture.

BKrev: 3e23b83ccfWp--mg27S48bCNTulpMw
676b9901cde8f8f9a9a38f04e07593dcf8b2b397 14-Jan-2003 mostang.com!davidm <mostang.com!davidm> Add ARCH_HPPA.
(EXTRA_DIST): Mention x86 and hppa headers.

(Logical change 1.33)
akefile.am
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)
rc/Makefile.am
9f3bcd7c73473eb8b416555e4f97fae8c46efbb6 14-Jan-2003 mostang.com!davidm <mostang.com!davidm> (get_arch): Handle hppa.
(ARCH_HPPA): New AM_CONDITIONAL.

(Logical change 1.33)
onfigure.in
6d611572ef706848cb374160567dea2a2901c5db 14-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.33)
nclude/libunwind-hppa.h
nclude/tdep-hppa.h
rc/hppa/Gget_proc_info-hppa.c
rc/hppa/Gget_proc_name-hppa.c
rc/hppa/Gget_reg-hppa.c
rc/hppa/Ginit-hppa.c
rc/hppa/Ginit_local-hppa.c
rc/hppa/Gregs-hppa.c
rc/hppa/Gstep-hppa.c
rc/hppa/Lget_proc_info-hppa.c
rc/hppa/Lget_proc_name-hppa.c
rc/hppa/Lget_reg-hppa.c
rc/hppa/Linit-hppa.c
rc/hppa/Linit_local-hppa.c
rc/hppa/Lregs-hppa.c
rc/hppa/Lstep-hppa.c
rc/hppa/flush_cache-hppa.c
rc/hppa/get_accessors-hppa.c
rc/hppa/global-hppa.c
rc/hppa/init.h
rc/hppa/tables-hppa.c
rc/hppa/unwind_i.h
3604b05a6c35e1b6bcc38f1f0f6ebc8e02c6f7d8 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> ia32 -> x86.

(Logical change 1.32)
EWS
003246a5bae7f266cc91feb020b29a8dc2eb134c 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/mempool.h -> include/mempool.h

}(Logical change 1.32)
rc/mempool.h
2d80409b226afeaff1bf69e3e18ab83f5e0eaf1f 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/mempool.h -> include/mempool.h

(Logical change 1.32)
nclude/mempool.h
1dd1cfc2b5f892b4769c2d56af390d7452d06999 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/mempool-ia64.c -> src/mempool.c

(Logical change 1.32)
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/get_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)
rc/dyn-remote.c
8bcc9b73a929af90619b3c4947f2f6bfbc5d119b 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/dyn-register-ia64.c -> src/dyn-register.c

(Logical change 1.32)
c99441aafacc703395202245ae87f148a1134bb0 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/dyn-extract-ia64.c -> src/dyn-extract.c

(Logical change 1.32)
rc/dyn-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)
rc/dyn-cancel.c
11c9400e8f8795a244d9b98563cfda5219f2d1b9 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename: src/backtrace-ia64.c -> src/backtrace.c

(Logical change 1.32)
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)
rc/Lput_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)
rc/Lfind_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)
rc/Gput_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)
rc/Gfind_dynamic_proc_info.c
6fd20088619b83c1553755c386bd40d913fe347c 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

}(Logical change 1.32)
rc/ia64/Gget_fpreg.c
rc/ia64/Gget_proc_info.c
rc/ia64/Gget_proc_name.c
rc/ia64/Gget_reg.c
rc/ia64/Gget_save_loc.c
rc/ia64/Ginit_local.c
rc/ia64/Ginit_remote.c
rc/ia64/Gis_signal_frame.c
rc/ia64/Gparser.c
rc/ia64/Gregs.c
rc/ia64/Gresume.c
rc/ia64/Gscript.c
rc/ia64/Gset_fpreg.c
rc/ia64/Gset_reg.c
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gget_fpreg-ia64.c
c333cb0d25eca3b6c4b2ed170396df6be7a2d894 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia64_cursor -> cursor.

(Logical change 1.32)
rc/ia64/init.h
rc/ia64/regs.h
e2e110850f7a50ad5f4e215ac7b4430427f6bfe6 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rename ia32 to x86.
(EXTRA_DIST): Mention mempool.h.

(Logical change 1.32)
akefile.am
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)
rc/ia64/unwind_i.h
8c52e5fec15643a95a9b089606db5c3930ccf521 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

}(Logical change 1.32)
rc/ia64/Gflush_cache.c
rc/ia64/Gget_accessors.c
rc/ia64/Lcreate_addr_space.c
rc/ia64/Ldestroy_addr_space.c
rc/ia64/Lget_fpreg.c
rc/ia64/Lget_proc_info.c
rc/ia64/Lget_proc_name.c
rc/ia64/Lget_reg.c
rc/ia64/Lget_save_loc.c
rc/ia64/Linit.c
rc/ia64/Linit_local.c
rc/ia64/Linit_remote.c
rc/ia64/Lis_signal_frame.c
rc/ia64/Lparser.c
rc/ia64/Lregs.c
rc/ia64/Lresume.c
rc/ia64/Lscript.c
rc/ia64/Lset_fpreg.c
rc/ia64/Lset_reg.c
rc/ia64/Lstep.c
rc/ia64/tables.c
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Lcreate_addr_space-ia64.c
7c3e12ee43650405e4af65e45914d0240af43ebf 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.32)
akefile.in
onfigure
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
ccfcac6e20c515205936972e64b0abe40d40705d 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Make it compile cleanly on x86.

(Logical change 1.32)
ests/bt.c
ests/exc.c
ests/test-dyn1.c
9f32da41c322bb8943ae37e3adb9547a3520b87f 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
nclude/libunwind-x86.h
nclude/mempool.h
nclude/tdep-x86.h
cripts/make-L-files
rc/ia64/Gcreate_addr_space-ia64.c
rc/ia64/Gdestroy_addr_space-ia64.c
rc/ia64/Gget_fpreg-ia64.c
rc/ia64/Gget_proc_info-ia64.c
rc/ia64/Gget_proc_name-ia64.c
rc/ia64/Gget_reg-ia64.c
rc/ia64/Gget_save_loc-ia64.c
rc/ia64/Ginit-ia64.c
rc/ia64/Ginit_local-ia64.c
rc/ia64/Ginit_remote-ia64.c
rc/ia64/Gis_signal_frame-ia64.c
rc/ia64/Gparser-ia64.c
rc/ia64/Gregs-ia64.c
rc/ia64/Gresume-ia64.c
rc/ia64/Gscript-ia64.c
rc/ia64/Gset_fpreg-ia64.c
rc/ia64/Gset_reg-ia64.c
rc/ia64/Gstep-ia64.c
rc/ia64/Lcreate_addr_space-ia64.c
rc/ia64/Ldestroy_addr_space-ia64.c
rc/ia64/Lget_accessors-ia64.c
rc/ia64/Lget_fpreg-ia64.c
rc/ia64/Lget_proc_info-ia64.c
rc/ia64/Lget_proc_name-ia64.c
rc/ia64/Lget_reg-ia64.c
rc/ia64/Lget_save_loc-ia64.c
rc/ia64/Linit-ia64.c
rc/ia64/Linit_local-ia64.c
rc/ia64/Linit_remote-ia64.c
rc/ia64/Lis_signal_frame-ia64.c
rc/ia64/Lparser-ia64.c
rc/ia64/Lregs-ia64.c
rc/ia64/Lresume-ia64.c
rc/ia64/Lscript-ia64.c
rc/ia64/Lset_fpreg-ia64.c
rc/ia64/Lset_reg-ia64.c
rc/ia64/Lstep-ia64.c
rc/ia64/flush_cache-ia64.c
rc/ia64/get_accessors-ia64.c
rc/ia64/global-ia64.c
rc/ia64/regname-ia64.c
rc/ia64/set_caching_policy-ia64.c
rc/ia64/tables-ia64.c
rc/mi-init.c
rc/x86/Gget_proc_info-x86.c
rc/x86/Gget_proc_name-x86.c
rc/x86/Gget_reg-x86.c
rc/x86/Ginit-x86.c
rc/x86/Ginit_local-x86.c
rc/x86/Gis_signal_frame-x86.c
rc/x86/Gregs-x86.c
rc/x86/Gresume-x86.c
rc/x86/Gset_reg-x86.c
rc/x86/Gstep-x86.c
rc/x86/Lflush_cache-x86.c
rc/x86/Lget_accessors-x86.c
rc/x86/Lget_proc_info-x86.c
rc/x86/Lget_proc_name-x86.c
rc/x86/Lget_reg-x86.c
rc/x86/Linit-x86.c
rc/x86/Linit_local-x86.c
rc/x86/Lis_signal_frame-x86.c
rc/x86/Lregs-x86.c
rc/x86/Lresume-x86.c
rc/x86/Lset_reg-x86.c
rc/x86/Lstep-x86.c
rc/x86/flush_cache-x86.c
rc/x86/get_accessors-x86.c
rc/x86/global-x86.c
rc/x86/init.h
rc/x86/regname-x86.c
rc/x86/tables-x86.c
rc/x86/unwind_i.h
a60cacd8f5dbf923e61e4ca705b93f548bc6097b 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Include "mempool.h">

(struct cursor): Move to here from unwind_i.h.
(struct ia64_global_unwind_state): Ditto.

(Logical change 1.32)
nclude/tdep-ia64.h
010e6701793bdfbc56c18f1b73db820ba352da89 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Delete: src/ia64/Lset_caching_policy.c

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

}(Logical change 1.32)
rc/ia64/Lflush_cache.c
c9f67822dc82b3508af527230e3738bfe8ff34b8 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Check for assembler with AM_PROG_AS.
(get_arch): Fix typo: $target_cpu -> $1.
(ARCH_X86): Rename from ARCH_IA32.

(Logical change 1.32)
onfigure.in
99b6fe2870ca7f84e259501c19856f5f7f828692 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Add minimal x86 unwind support. The code is good enough to pass tests/bt, but
not much else. It can only unwind through functions with a frame-pointer (i.e.,
it does not use DWARF2 unwind info yet).

BKrev: 3e017262rBxRgRARXf-6VxhaVepPsA
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Ginit-ia64.c
db59d4f98f16cc4e577013a7a93afa4218d24e52 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (struct cursor): Rename from "struct ia64_cursor".

(Logical change 1.32)
nclude/ia64/script.h
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)
rc/Makefile.am
20a6c1adf1e61df9d0a1abb57e9f568f7b7ed997 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (get_accessors): Make it an arch-obj.
(flush_cache): Ditto.
(set_caching_policy): Ditto.
(regname): Ditto.

(Logical change 1.32)
nclude/libunwind-common.h
93daa3b08df88abd959e2318b2abff094413e9d5 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (UNW_TARGET_IA64): Define.

(Logical change 1.32)
nclude/libunwind-ia64.h
bf070a994a6fce530a967737c56113fe1ee2a97f 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (UNW_DEBUG): Move here from ia64/unwind_i.h
(debug): Ditto.
(dprintf): Ditto.
(inline): Ditto.
(mi_init): Declare.

(Logical change 1.32)
nclude/internal.h
a85267d16bbb01ee8d6c5b23bde75ac4c23bf116 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.32)
nclude/libunwind-x86.h
nclude/tdep-x86.h
cripts/make-L-files
rc/ia64/global-ia64.c
rc/mi-init.c
rc/x86/Gget_proc_info-x86.c
rc/x86/Gget_proc_name-x86.c
rc/x86/Gget_reg-x86.c
rc/x86/Ginit-x86.c
rc/x86/Ginit_local-x86.c
rc/x86/Gis_signal_frame-x86.c
rc/x86/Gregs-x86.c
rc/x86/Gresume-x86.c
rc/x86/Gset_reg-x86.c
rc/x86/Gstep-x86.c
rc/x86/Lflush_cache-x86.c
rc/x86/Lget_accessors-x86.c
rc/x86/Lget_proc_info-x86.c
rc/x86/Lget_proc_name-x86.c
rc/x86/Lget_reg-x86.c
rc/x86/Linit-x86.c
rc/x86/Linit_local-x86.c
rc/x86/Lis_signal_frame-x86.c
rc/x86/Lregs-x86.c
rc/x86/Lresume-x86.c
rc/x86/Lset_reg-x86.c
rc/x86/Lstep-x86.c
rc/x86/flush_cache-x86.c
rc/x86/get_accessors-x86.c
rc/x86/global-x86.c
rc/x86/init.h
rc/x86/regname-x86.c
rc/x86/tables-x86.c
rc/x86/unwind_i.h
68f77774e6422c370a4ec58984cc41f869f1a293 18-Dec-2002 mostang.com!davidm <mostang.com!davidm> Move declration of _U_dyn_info_list to src/ia64/Ginit.c so each platform can do its
own magic. Define _Uia64_find_dyn_list() as a helper routine for implementing
the get_dyn_info_list_addr().

BKrev: 3e000530-YiHvkTR7eXFehxli5T5jA
3ec98c2032674de08e0aeb4b0d0f4ecf019c4bae 18-Dec-2002 mostang.com!davidm <mostang.com!davidm> Delete: src/dyn-local.c

}(Logical change 1.31)
rc/dyn-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)
rc/ia64/tables.c
1c8ee38936b364114cd13660221fc4dfba94c274 18-Dec-2002 mostang.com!davidm <mostang.com!davidm> (_Uia64_find_dyn_list): Declare and document this ia64-specific helper routine.

(Logical change 1.31)
nclude/libunwind-ia64.h
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)
rc/ia64/Ginit.c
39b1d3a61fd51f16c5770605c843c7639fb49e8a 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Use unw_get_proc_name() to obtain procedure name (if available).

(Logical change 1.30)
ests/bt.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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gdestroy_addr_space.c
51e4d340758fe0491e8b9e5d05e05735d2d47bc2 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.30)
akefile.in
onfigure
rc/Makefile.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)
rc/dyn-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)
rc/ia64/unwind_i.h
793c8a3005c4c0da52d4eb098b37e25b35e98974 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
nclude/ia64/script.h
nclude/internal.h
nclude/tdep-ia64.h
rc/Gfind_dynamic_proc_info.c
rc/Gput_dynamic_unwind_info.c
rc/Lfind_dynamic_proc_info.c
rc/Lput_dynamic_unwind_info.c
rc/dyn-cancel.c
rc/dyn-extract.c
rc/dyn-remote.c
rc/get_proc_name.c
rc/ia64/Gcreate_addr_space.c
rc/ia64/Gdestroy_addr_space.c
rc/ia64/Gflush_cache.c
rc/ia64/Gget_accessors.c
rc/ia64/Gget_fpreg.c
rc/ia64/Gget_proc_info.c
rc/ia64/Gget_proc_name.c
rc/ia64/Gget_reg.c
rc/ia64/Gget_save_loc.c
rc/ia64/Ginit.c
rc/ia64/Ginit_local.c
rc/ia64/Ginit_remote.c
rc/ia64/Gis_signal_frame.c
rc/ia64/Gparser.c
rc/ia64/Gregs.c
rc/ia64/Gresume.c
rc/ia64/Gscript.c
rc/ia64/Gset_caching_policy.c
rc/ia64/Gset_fpreg.c
rc/ia64/Gset_reg.c
rc/ia64/Gstep.c
rc/ia64/Lcreate_addr_space.c
rc/ia64/Ldestroy_addr_space.c
rc/ia64/Lflush_cache.c
rc/ia64/Lget_accessors.c
rc/ia64/Lget_fpreg.c
rc/ia64/Lget_proc_info.c
rc/ia64/Lget_proc_name.c
rc/ia64/Lget_reg.c
rc/ia64/Lget_save_loc.c
rc/ia64/Linit_local.c
rc/ia64/Linit_remote.c
rc/ia64/Lis_signal_frame.c
rc/ia64/Lresume.c
rc/ia64/Lset_caching_policy.c
rc/ia64/Lset_fpreg.c
rc/ia64/Lset_reg.c
rc/ia64/Lstep.c
86f8635442e47dde831b182b197877709892dd34 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Finish (almost) dynamic registration support. Summary of API changes:

- the proc_name member has been removed from unw_proc_info_t because it
caused memory-management issues
- unw_get_proc_name(): new routine to look up the name of a procedure
(if available)
- unw_create_addr_space() now takes an additional byte-order argument
- new accessor callbacks:
put_unwind_info() to release memory allocated by find_proc_info()
get_dyn_info_list_addr() to lookup the address of the dynamic
registration-list

BKrev: 3df85435qyOszxDiLfsgzfB4lSF6IA
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)
rc/dyn-local.c
75c710131e9f5ffaf0ed5058dc656200abd21964 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Delete: src/dyn-common.h

}(Logical change 1.30)
rc/dyn-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)
rc/backtrace.c
744b910408c8bffeddb8041c32d86716eca64531 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Clarify comment on how when to use a pointer type and when to use unw_word_t.
(unw_dyn_info_format_t): New type.
(unw_dyn_op): Decrease "tag" from 16 to 8 bits, ditto for "qp" member.
(unw_dyn_proc_info): Change "name" pointer to "name_ptr" value (unw_word_t) and
make padding explicit.
(unw_dyn_table_info): Change "name" pointer to "name_ptr" value. Rename
"table_size" to "table_len" and change type of table_data from
void * to "unw_word_t *".
(unw_dyn_info): Switch to doubly-linked list so _U_dyn_cancel() can be O(1).
Change type of "format" member from enum to int32_t. Make padding explicit.
(unw_dyn_info_list): Make "generation" member 32 bits wide. Add "version" member
to enable future extensions to the dynamic info list.
(_U_dyn_register): Don't return anything (it can't fail).
(_U_dyn_cancel): Ditto.

(Logical change 1.30)
nclude/libunwind-dynamic.h
639ba64f8ed1aad92b0b1095e36fa8bde0b6fc1a 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Always create a symlink from target's libunwind.h to libunwind.h (it only gets
for the local case, of course).

(Logical change 1.30)
onfigure.in
c5307b2398bbf4cf8997a7fd7fcd3ef6a45fd3a8 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

}(Logical change 1.30)
rc/ia64/Lunw_create_addr_space.c
rc/ia64/Lunw_destroy_addr_space.c
rc/ia64/Lunw_flush_cache.c
rc/ia64/Lunw_get_accessors.c
rc/ia64/Lunw_get_fpreg.c
rc/ia64/Lunw_get_proc_info.c
rc/ia64/Lunw_get_reg.c
rc/ia64/Lunw_get_save_loc.c
rc/ia64/Lunw_init_local.c
rc/ia64/Lunw_init_remote.c
rc/ia64/Lunw_is_signal_frame.c
rc/ia64/Lunw_resume.c
rc/ia64/Lunw_set_caching_policy.c
rc/ia64/Lunw_set_fpreg.c
rc/ia64/Lunw_set_reg.c
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Lcreate_addr_space.c
a3b302887419a986ffcc7b84874fad3f50f64cda 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file-rename.

(Logical change 1.30)
rc/ia64/Linit.c
rc/ia64/Lparser.c
rc/ia64/Lregs.c
rc/ia64/Lscript.c
c23934ce5f8e2a19eb2c00fe14d6933d28b86c64 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Adjust for big file rename.

}(Logical change 1.30)
rc/ia64/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)
rc/Lfind_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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/script.h
01e35a5d939cf1267cff5bcbd0bc1b8d1c57c937 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> Add copyright header and forward-declration of ia64_cursor.

2002/12/05 15:32:45-08:00 mostang.com!davidm
Rename: src/ia64/script.h -> include/ia64/script.h

(Logical change 1.30)
nclude/ia64/script.h
b29266f262da00c99acc9495e57538a2508d34e3 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_sysdep_search_unwind_table): Remove.

(Logical change 1.30)
nclude/libunwind-ia64.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)
rc/ia64/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)
rc/ia64/Gresume.c
b6251b0f412120ef39beab4de52161c2e3fc3224 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (unw_proc_info_t): Remove proc_name member and replace it with unw_get_proc_name().
The former didn't work because of memory management issues (there was no
reasonable way to allocate/free the memory needed for the string).
Shorten unwind_info_size from size_t to int.
(unw_accessors_t): Add new callbacks put_unwind_info() and get_dyn_info_list_addr().
(unw_create_addr_space): Take byte-order as second argument.
(unw_get_proc_name): New routine.
(unw_find_dynamic_proc_info): Remove (it's brother is in internal.h now).
(unw_flush_cache): Add missing declaration.
(unw_set_caching_policy): Ditto.

(Logical change 1.30)
nclude/libunwind-common.h
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/Gscript.c
eb1797b8da7ce93977a7f81c6134cbf181b5dc9f 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (main): Clear di to zero before filling in any values. Remove return-value checking
of _U_dyn_register() and _U_dyn_cancel().

(Logical change 1.30)
ests/test-dyn1.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)
rc/ia64/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)
rc/Gfind_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)
rc/Makefile.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)
rc/ia64/tables.c
9420207ac6c0aa5e2d5f981234914465d6eac608 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (include_HEADERS_common): Mention libunwind-dynamic.h.
(EXTRA_DIST): Mention include/internal.h, include/tdep-ia64.h, and
include/ia64/script.h.

(Logical change 1.30)
akefile.am
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/init.h
653c9006ac876d521a4caf36de57089f0a74c6af 12-Dec-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.30)
nclude/internal.h
nclude/tdep-ia64.h
rc/Gput_dynamic_unwind_info.c
rc/Lput_dynamic_unwind_info.c
rc/dyn-cancel.c
rc/dyn-extract.c
rc/dyn-remote.c
rc/get_proc_name.c
rc/ia64/Gget_proc_name.c
rc/ia64/Lget_proc_name.c
991519dea78abd60db4c7444a84645993b314203 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Update API to support dynamically generated code. This is still work-in-progress and
rough on the edges, but at least one test-program that uses dynamic code-generation
is working now (see tests/test-dyn1.c).

BKrev: 3dec692emetvXbc3o2rQICS8CjrGTw
dfc08eaef4812ce894563cf07074d2669952d03e 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Rewrite to resemble something that actually might work.

(Logical change 1.29)
nclude/libunwind-dynamic.h
57f5fae02b37474072d36b200530a34a84644309 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.29)
onfigure
rc/Makefile.in
ests/Makefile.in
3b836fed25fb9d1042fddd47263451e8a5696516 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Mention automake-cache directory.

(Logical change 1.29)
itKeeper/etc/ignore
b691bb13009ffeb2e93261f7c879e4e93b646e18 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.29)
rc/dyn-common.h
rc/dyn-local.c
rc/dyn-register.c
rc/ia64/Lunw_find_dynamic_proc_info.c
rc/ia64/Lunw_get_accessors.c
rc/ia64/Lunw_get_proc_info.c
rc/ia64/unw_find_dynamic_proc_info.c
rc/ia64/unw_get_accessors.c
rc/ia64/unw_get_proc_info.c
ests/test-dyn1.c
612e33825c83aa606bfd7198df3cdbf9782cf1c9 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/dyn-common.h
rc/dyn-local.c
rc/dyn-register.c
rc/ia64/Lunw_find_dynamic_proc_info.c
rc/ia64/Lunw_get_accessors.c
rc/ia64/Lunw_get_proc_info.c
rc/ia64/tables.c
rc/ia64/unw_find_dynamic_proc_info.c
rc/ia64/unw_get_accessors.c
rc/ia64/unw_get_proc_info.c
ests/test-dyn1.c
1b7547ec76a378c8d3200c6ba514b66337640152 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Add section title for dynamic unwind info (well, it's a start... ;-).

(Logical change 1.29)
oc/NOTES
50d7a155ff8c1c47dd52ca358d5878140265a4e5 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Add include of <libunwind-dyamic.h>.

(UNW_ARCH_OBJ): New macro.
(unw_proc_info_t): New type.
(unw_accessors): Replace acquire_unwind_info and release_unwind_info callbacks
with find_proc_info callback. Change remaining prototypes to take
address-space pointer as the first argument.
(unw_get_accessors): New routine.
(unw_get_proc_info): New routine.
(unw_regname): Make it an UNW_ARCH_OBJ.
(unw_find_dynamic_proc_info): New routine.

(Logical change 1.29)
nclude/libunwind-common.h
4ea5c42ebae90321155872cb3105169f58c120cf 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Add LIBUNWIND__THREAD test.

(Logical change 1.29)
cinclude.m4
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/unw_get_save_loc.c
b1c1f146cc00b2fb3ae7791a52eb1043689f897f 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (struct unw_ia64_table): Delete.
(unw_sysdep_search_unwind_table): New macro.

(Logical change 1.29)
nclude/libunwind-ia64.h
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/unwind_i.h
d48c437782ab286cb9a5120005d0dd40cba9ecb1 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (noinst_PROGRAMS): Mention test-dyn1.

(Logical change 1.29)
ests/Makefile.am
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)
rc/Makefile.am
75952fdf41a3bfb90e88c9c2648d2a20879ad602 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (ia64_local_resume): Adjust for new address-space argument.

(Logical change 1.29)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/parser.c
15eec54cc883dcde219c901956ff0f054ba5491d 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (do_backtrace): Replace reading of UNW_REG_PROC_START, UNW_REG_HANDLER, and
UNW_REG_LSDA with call to unw_get_proc_info().

(Logical change 1.29)
ests/bt.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)
rc/ia64/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)
rc/ia64/init.c
d7e9f75df69b8d0d3c71994adab481e254391a08 23-Nov-2002 hp.com!davidm <hp.com!davidm> (Logical change 1.28)
nclude/libunwind-dynamic.h
f7d795a4128881a0183e2b05657ccbf4ffd3b029 23-Nov-2002 hp.com!davidm <hp.com!davidm> Initial revision
nclude/libunwind-dynamic.h
edaa11ccfed8a2fcfc5b3eff119bcda27834ef72 23-Nov-2002 hp.com!davidm <hp.com!davidm> First (rought) draft of an API to support dynamic code generation.

BKrev: 3ddee40eGymjbeNAPfICExNXHdkJcQ
acdc3566a48cd45618c137efcaee8bcff9396ece 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.27)
rc/Makefile.in
9f4a51e8cf9817fa38a8fa04523c00db84d84907 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Mention new files.

(Logical change 1.27)
rc/Makefile.am
eeedef96bb2305bd94307b3a47113ea3cbc7d9b7 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Introduce the concept of an "address-space" to more cleanly support remote-unwinding
of multiple address spaces (as might arise for a multi-process debugger, for example).
Impace on existing libunwind users should be minimal:

unw_init_remote(cursor, accessors);

needs to be changed to:

as = unw_create_addr_space(accessors);
if (!as)
error;
else
unw_init_remote(cursor, as, as_arg);

where "as_arg" is the argument ("arg") that used to be stored
in the accessors structure. Everything else is the same.

BKrev: 3dd5ea9cOx-Y3gnNoajvFfm4KaPCww
f277006b837c8b5b24c60c0bc710e28ef3861db4 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.27)
rc/ia64/Lunw_create_addr_space.c
rc/ia64/Lunw_destroy_addr_space.c
rc/ia64/unw_create_addr_space.c
rc/ia64/unw_destroy_addr_space.c
f6ba78341f87845e4b121f196135799106b8b9d0 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/Lunw_create_addr_space.c
rc/ia64/Lunw_destroy_addr_space.c
rc/ia64/unw_create_addr_space.c
rc/ia64/unw_destroy_addr_space.c
87bc2e3242eb708043e5b75527ba2d30d4fe9a35 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Document which routines are signal-safe.

(unw_addr_space_t): New type.
(unw_accessors_t): Remove "arg" member.
(unw_local_addr_space): New variable.
(unw_create_addr_space): New function.
(unw_destroy_addr_space): Ditto.
(unw_init_remote): Take address-space and accessor-argument pointer instead of
accessor structure as argument.
(unw_set_caching_policy): Take address-space as first argument.
(unw_flush_cache): Take address space and address-range (lo & hi) arguments.

(Logical change 1.27)
nclude/libunwind-common.h
5287e145c371892f26d28e817efcedfe30b5c044 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (unw_set_caching_policy): Adjust for new interface.

(Logical change 1.27)
rc/ia64/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)
rc/ia64/init.c
1481ba336b2893600aab1daf44dfc478316be2ae 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (unw_init_remote): Adjust for new interface.

(Logical change 1.27)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/regs.c
990790c880ff486703c12e6150e54117f0cd323d 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> (

(Logical change 1.27)
rc/ia64/unwind_i.h
d1ded59cb0ae387c0a954a89e42288cfc68e9c3c 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Switch to MIT license.

BKrev: 3dd5bab07jnB20RQi_e_96h6MYUilg
aca3843d6f53f2b36cb66c167a10e3e30e8ebd3a 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Switch to MIT license.

(Logical change 1.26)
nclude/libunwind-common.h
nclude/libunwind-ia64.h
rc/backtrace.c
rc/ia64/__ia64_install_context.S
rc/ia64/init.c
rc/ia64/init.h
rc/ia64/parser.c
rc/ia64/regs.c
rc/ia64/script.c
rc/ia64/script.h
rc/ia64/tables-glibc.c
rc/ia64/ucontext_i.h
rc/ia64/unw_get_fpreg.c
rc/ia64/unw_get_reg.c
rc/ia64/unw_init_local.c
rc/ia64/unw_init_remote.c
rc/ia64/unw_is_signal_frame.c
rc/ia64/unw_resume.c
rc/ia64/unw_set_fpreg.c
rc/ia64/unw_set_reg.c
rc/ia64/unw_step.c
rc/ia64/unwind_decoder.h
rc/ia64/unwind_i.h
rc/mempool.h
ests/bt.c
ests/exc.c
ests/sig.c
ests/verify.c
445f16a03335674d22dbfdcb459886ab5be29669 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Switch to MIT license.

(Logical change 1.25)
OPYING
780af9ac22a01ea057b6a53638f50e66dc5f5399 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> COPYING:
Switch to MIT license.

BKrev: 3dd5ba1f8tIu5-CzeHGzhZEzhZ7xvQ
c2262737f7313096b2aaa1ebbd3c7ae062005ba2 14-Nov-2002 model.com!marky <model.com!marky> Fix typo in ia64_put()

(Logical change 1.24)
rc/ia64/unwind_i.h
790d1442a0619f6ce5fb10f6d9ed432faccb7512 14-Nov-2002 hp.com!davidm <hp.com!davidm> unwind_i.h:
Fix typo in ia64_put()

BKrev: 3dd3f5bap3o97WXkkQDRPTgDWG87Uw
0216fd8f079f9a95ea304551187cb6c0873b8396 12-Nov-2002 hp.com!davidm <hp.com!davidm> ia64: Add missing update to unwind_i.h to support multiple script
caches.

BKrev: 3dd04ecbpgFa9YdMJbnJaVKCuH2ZcQ
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)
rc/ia64/unwind_i.h
fb2c7eb56d674005464b8401e3f4a58c4147f76d 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.22)
onfigure
aca9360701ca47398ae72fd50a4ccb65fdbc35ab 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.22)
rc/ia64/Lunw_flush_cache.c
rc/ia64/Lunw_set_caching_policy.c
rc/ia64/unw_flush_cache.c
rc/ia64/unw_set_caching_policy.c
e04493ac30c7b4b3fabccd50329d9ef6fecb44ba 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/Lunw_flush_cache.c
rc/ia64/Lunw_set_caching_policy.c
rc/ia64/unw_flush_cache.c
rc/ia64/unw_set_caching_policy.c
74fc55a61a21cd8493e83be74b562b95030bd6bc 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Add routines to control caching policy. The caching policy can be set to
(1) single (global) cache, (2) per-thread cache, or (3) no cache at all.
This is loosely based on a per-thread cache patch by Brian Sumner.

BKrev: 3dccc046NlGdtX_BSyDVZDR6vE4lIw
0a7fdb7878656df51796589b5e061c62aeb3ea5c 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Add call to LIBUNWIND___THREAD.

(Logical change 1.22)
onfigure.in
16f2189512cbed676bf933de821743c1969b2520 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (unw_caching_policy_t): New type.
(unw_set_caching_policy): New function.
(unw_flush_cache): Ditto.

(Logical change 1.22)
nclude/libunwind-common.h
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/script.c
56c93299f026b76c6a36aaf3841109041319c27d 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (LIBUNWIND__THREAD): New test.

(Logical change 1.22)
clocal.m4
193ba2859f8989aa6c59cf7e330ba33e360f4687 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (HAVE___THREAD): Mention it.

(Logical change 1.22)
nclude/config.h.in
027b1d967f4e132e77fa91faf8c1d155d0318008 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Regenerated with automake.

(Logical change 1.21)
ests/Makefile.in
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)
rc/ia64/unwind_i.h
dee2508b2c1390f4279acfc4215559bf9c4056f3 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.21)
hangeLog
ests/test-init.c
ests/test-varargs.c
9f708e3bb21bf3ba640b985db3bd7f6c31d496ac 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
ests/test-init.c
ests/test-varargs.c
8da6258e3ecb077d7266b1e575f3ea795c772335 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Fix comment regarding frame and preserved registers.
Add a note on the meaning of of UNW_IA64_BSP.

(Logical change 1.21)
oc/NOTES
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)
rc/ia64/unw_get_save_loc.c
6c1ccd723f861db8471d3baaaff217cb1f70da85 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Fix bugs reported by Robert Faught and Brian Sumner.

BKrev: 3dcc881fIVyOxMG7qkRqmLxDlPFR1w
e0ac536efcbb76131cef2b4fbe2030af2e0ff660 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (noinst_PROGRAMS): Mention test-init and test-varargs.

(Logical change 1.21)
ests/Makefile.am
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)
rc/ia64/regs.c
3f5161f47f70d50b44a6b47135db3b93434d81c9 27-Sep-2002 mostang.com!davidm <mostang.com!davidm> Sanitize contents.

(Logical change 1.20)
itKeeper/etc/ignore
aa54b9f4a84ac643224c97b7f3d97c79d04d83fc 27-Sep-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.20)
akefile.in
onfigure
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
27cce009640d953f71eb607db7ad6721c5a569d5 27-Sep-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
akefile.in
onfigure
oc/Makefile.in
rc/Makefile.in
ests/Makefile.in
75c93b844a5cbc5e1e7882815311767bb0df99b7 27-Sep-2002 mostang.com!davidm <mostang.com!davidm> Include autoconf/automake-generated files.

BKrev: 3d93938d5QNIU4qjrq1AGnqCIc7BQA
4e1f57e38f8da7ace5f273ca0a6ccf127a51c197 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Use -Wall when compiling with GCC.

(Logical change 1.19)
onfigure.in
3569969a3ee6383bd1608f9483b888bb3e2c45a8 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Update copyright message.

(Logical change 1.19)
nclude/libunwind-common.h
fc116ff852067731f0da50383d7b9bdc4113ccbb 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Replace malloc()/free() with private memory allocator to avoid deadlock issues
and problems under low-memory conditions. This is accomplished via the mempool
interface (see mempool.h).

BKrev: 3d363ceagprsu6_TUZv4rJkQui-iSg
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)
rc/ia64/unwind_i.h
b4d191544aa1337cb3945ab19100413a0b05e30b 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Keep list of things to test.

(Logical change 1.19)
rc/ia64/TODO
dd3c681c6a60f6f26125d6a7ce42f53c54a41101 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.19)
rc/mempool.c
rc/mempool.h
5b6078357d227c20b37bda66ba0776076a7920b5 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/mempool.c
rc/mempool.h
7e8c5066e841efe949dff93aa4570805fa26639f 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Include <unistd.h>.

(sighandler): Correct return type to "void". Delete unused variables buffer[] and n.
(main): Cast sighandler to (sighandler_t).

(Logical change 1.19)
ests/bt.c
21647f4830023ed86a14fa61f1f29d575a89ddc7 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Include <stdlib.h>.

(sighandler): Parenthesize IP check.

(Logical change 1.19)
ests/sig.c
0938b0320100150cf4773a21407daf28aecbf651 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Added doc/Dwarf3-draft7-011029-dif-draft6.pdf doc/dwarf-2.0.0.pdf src/mempool.c~ src/mempool.h~ to the ignore list

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

(Logical change 1.19)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/Makefile.am
ce831876f24dabfe25be08380327d824a336aac0 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (ia64_init): Initialize mempools.

(Logical change 1.19)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/init.h
5a9743cd77486301bfeb3ebe584c28e2f07c5c49 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> (b): Add a printf() after raise_exception() to avoid triggering the sibcall
optimization for this call.

(Logical change 1.19)
ests/exc.c
cfe616f0f688e964bb9f8ede8d9e35b1d64a0c66 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> Undefine HAVE_GETUNWIND by default.

(Logical change 1.18)
nclude/config.h.in
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)
rc/ia64/regs.c
c0a60b6f82c7b72ac6a50db8ddd420ac1b5e57e6 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.18)
rc/ia64/Lunw_is_signal_frame.c
f7381ce536dc3bfd7302c549baaf5c9920d62b03 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/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)
rc/ia64/init.c
e324c4c115d3d32f937eb797a7213b0aafe595e1 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> Include <libunwind-ia64.h> instead of <libunwind.h> (this program is slightly
ia64-specific).
(sighandler): Rename rp to ip.
(doit): Declare argument as volatile pointer.

(Logical change 1.18)
ests/sig.c
934d3b52b03fdc0e0723510eb78694fe6bff7426 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> Fix up things so that unwinding across signal handlers starts to work.

BKrev: 3cc7a681Zo3mtY13CWzcMbI5J8kSKw
b8478404743c1c0dae36f461d9717204350c2cb4 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> Check for getunwind() system call.

(Logical change 1.18)
onfigure.in
83ca335b081f82fc2b1e24b084ffde671ddfbfd7 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> Added src/Makefile.in~ to the ignore list

(Logical change 1.18)
itKeeper/etc/ignore
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/unwind_i.h
72e98c4610ffd161fff52c327482a455bd0e5d8b 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (sighandler): New function.
(main): Install SIGTERM handler and send SIGTERM to self to test backtracing through
signal handler.

(Logical change 1.18)
ests/bt.c
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)
rc/ia64/regs.h
053cda26f27fad06a515cd73f3806c0c913c2649 25-Apr-2002 mostang.com!davidm <mostang.com!davidm> (noinst_PROGRAMS_arch): New macro to get "sig" built when the target is ia64.
(noinst_PROGRAMS): Mention $(noinst_PROGRAMS_arch).
(LDADD): Link against architecture-specific name, because symlinks don't exist yet
when this directory gets built.

(Logical change 1.18)
ests/Makefile.am
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/Makefile.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)
rc/ia64/unw_regname.c
21c000c080780a1e81883afa2449018feecc5e7c 19-Apr-2002 mostang.com!davidm <mostang.com!davidm> Fix typo in unw_regname(). Fix libunwind installation.

BKrev: 3cbfacb2IfwMFqgjDA8Kwewh48wPCg
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)
rc/Makefile.am
52b352dcc95b415c9bc3c6a4c6eb2142fac1b0e1 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> Sync up ia64 implementation with new naming scheme. Make unw_regname() and official
API routine.

BKrev: 3cb66a70N-NqhfYmHK4cszu1aDrZgQ
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)
rc/ia64/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)
rc/Makefile.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)
rc/ia64/unw_regname.c
27cb8c28449f5010e2355c180474d7a217afb37e 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/unw_regname.c
82248d8a12b923c746051c6171965bf961bc559c 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> Change prefix from _U_ia64 to _Uia64.

(Logical change 1.16)
rc/ia64/tables-glibc.c
74775e31d98b32e1270d454e2764e344df272938 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> (unw_tdep_getcontext): Make it an expression returning zero (no error).

(Logical change 1.16)
nclude/libunwind-ia64.h
58142c0a21a641488f0a86946b0531ec97df3d81 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> (unw_regname): New routine to obtain canonical name of a register.

(Logical change 1.16)
nclude/libunwind-common.h
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)
rc/ia64/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)
rc/ia64/unwind_i.h
e252752f91755e7e660fb0fe860d87ed46db9319 12-Apr-2002 mostang.com!davidm <mostang.com!davidm> Delete old Makefile.

BKrev: 3cb6610cywJj12ckSg1g3JsRQU3lIw
9d2502ff14a5fb341f5221dc72572625d306dc64 12-Apr-2002 hp.com!davidm <hp.com!davidm> Add missing include file (src/ia64/regs.h).

BKrev: 3cb660bfxkIuOL-ulEsqMBEdYlpfyQ
73645af561319e580ba285d4eb49129dffddd273 12-Apr-2002 hp.com!davidm <hp.com!davidm> (libunwind_la_SOURCES_ia64): Mention ia64/regs.h.

(Logical change 1.14)
rc/Makefile.am
dfca3c7e7e2d51de63f9f30dc290d072fcd6bb09 12-Apr-2002 hp.com!davidm <hp.com!davidm> configure.in:
Change version to 0.2-pre1.

BKrev: 3cb6554apY9wrsIW0IbvbOXQ-wDmdQ
6b2b140e923a83a2a38142c7196f7f707b156055 12-Apr-2002 hp.com!davidm <hp.com!davidm> Change version to 0.2-pre1.

(Logical change 1.13)
onfigure.in
cc5ee5947ac4d3db60be829ba6b391256897e422 06-Apr-2002 hp.com!davidm <hp.com!davidm> Update.

(Logical change 1.12)
EWS
rc/ia64/TODO
41659aa324c959af29de48efd4da4cb72fea1716 06-Apr-2002 hp.com!davidm <hp.com!davidm> Multi-architecture support. Rename ARCH_x86 to ARCH_IA32.

(Logical change 1.12)
onfigure.in
6432d81f05c0d660e2b713016f255a837b4826ee 06-Apr-2002 hp.com!davidm <hp.com!davidm> Multi-architecture support.

(Logical change 1.12)
rc/Makefile.am
a2d64d9efb77b9893cf1bcdceaa78b881cf403a9 06-Apr-2002 hp.com!davidm <hp.com!davidm> Modify for multi-architecture support.

(Logical change 1.12)
akefile.am
76166fb955cf61fe9e3998a82f38f78bcc554e08 06-Apr-2002 hp.com!davidm <hp.com!davidm> (UNW_PREFIX): Include the target name in the prefix.

2002/04/05 14:33:32-08:00 hp.com!davidm
Rename: include/libunwind.h -> include/libunwind-common.h

(Logical change 1.12)
nclude/libunwind-common.h
5a0a6457b1d82f3a8d875c38e9a426974f58ce75 06-Apr-2002 hp.com!davidm <hp.com!davidm> Initial revision
nclude/libunwind-common.h
1f20cef0573ab930e574675298a12160dcb3f18c 06-Apr-2002 hp.com!davidm <hp.com!davidm> Include libunwind-ia64.h instead of libunwind.h.

(Logical change 1.12)
rc/ia64/unwind_i.h
4b00b1f7b5c3d1db92e22da67d830f007fd1e941 06-Apr-2002 hp.com!davidm <hp.com!davidm> Describe multi-architecture support.

(Logical change 1.12)
oc/NOTES
1f3b87ad500cb34e4a4a4ac298267cb73ad47c1e 06-Apr-2002 hp.com!davidm <hp.com!davidm> Add multi-architecture support: include libunwind-common.h instead
of having a libunwind.h include the target-specific header.

(Logical change 1.12)
nclude/libunwind-ia64.h
4830286a5c58e983e6f0fa41757b3a6bc9503725 06-Apr-2002 hp.com!davidm <hp.com!davidm> Add multi-architecture support.

BKrev: 3cae35534--aiPnHez4HVaSqtngryQ
2a8477a76a7583bccb5df17088be00fbef75a35d 06-Apr-2002 hp.com!davidm <hp.com!davidm> (UNW_PREFIX): Include the target name in the prefix.

}(Logical change 1.12)
nclude/libunwind.h
f8cdbb6ef032df3ab40cc096f7a0f2faf942081e 04-Apr-2002 mostang.com!davidm <mostang.com!davidm> Update.

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

(Logical change 1.11)
rc/ia64/init.h
551e17933d2bb8b5d5d3bd08cd2c64fd2bffbc45 04-Apr-2002 mostang.com!davidm <mostang.com!davidm> New routine unw_is_fpreg() to check whether a register is a
floating-point register.

BKrev: 3caca3a9U2TwWX884qBzLr1DkdjAuw
0e9e557a6b2625f8533a5d07c65d4f0967222531 04-Apr-2002 mostang.com!davidm <mostang.com!davidm> Added src/ia64/unw_get_fpreg.c~ src/ia64/unw_get_save_loc.c~ src/ia64/unw_set_fpreg.c~ to the ignore list

(Logical change 1.11)
itKeeper/etc/ignore
5c6360b856e53436acf1833d8e192dbf69843a6d 04-Apr-2002 mostang.com!davidm <mostang.com!davidm> (unw_tdep_is_fpreg): New macro.

(Logical change 1.11)
nclude/libunwind-ia64.h
4208867819cbea7ce81e92d4556fbcfd51ecb4fc 04-Apr-2002 mostang.com!davidm <mostang.com!davidm> (unw_is_fpreg): New macro.

(Logical change 1.11)
nclude/libunwind.h
56ca4f04aea9ed7774750fc6b75f886790cfbcfe 03-Apr-2002 hp.com!davidm <hp.com!davidm> Logging to logging@openlogging.org accepted

(Logical change 1.10)
itKeeper/etc/logging_ok
b682349b33c86364669bd4e1016075695507d567 03-Apr-2002 hp.com!davidm <hp.com!davidm> (Logical change 1.10)
rc/ia64/Lunw_get_save_loc.c
rc/ia64/regs.h
3b315369bcf6e55ccffd9c5df40003ba991d06d6 03-Apr-2002 hp.com!davidm <hp.com!davidm> Initial revision
rc/ia64/Lunw_get_save_loc.c
rc/ia64/regs.h
4e41f21f65d3c492bf990c8196237fef864997e5 03-Apr-2002 hp.com!davidm <hp.com!davidm> Fix typo in comment.

(Logical change 1.10)
rc/ia64/unwind_i.h
6bcb1d54c6fc3c9479080702f2cb67f3dd1dbb1e 03-Apr-2002 hp.com!davidm <hp.com!davidm> First draft-implementation of unw_get_save_loc().

BKrev: 3caaa676Ngbdu2c-fzGSHsnuVS8xAw
aae78f02e077515e3873b501c2133ce162422d00 03-Apr-2002 hp.com!davidm <hp.com!davidm> Added src/ia64/regs.h~ to the ignore list

(Logical change 1.10)
itKeeper/etc/ignore
f1d10c0fb34f593a0c546c40fc1a740cdb1cae46 03-Apr-2002 hp.com!davidm <hp.com!davidm> (unw_tdep_save_loc_t): New type.

(Logical change 1.10)
nclude/libunwind-ia64.h
48da72afd7da7dc46b78a2497edc1e147dc2b61d 03-Apr-2002 hp.com!davidm <hp.com!davidm> (unw_save_loc_t): New member "extra" to hold arch-specific save-location info.
(unw_get_save_loc): Define.

(Logical change 1.10)
nclude/libunwind.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)
rc/ia64/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)
rc/ia64/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)
rc/Makefile.am
0f1a0c4b4e234771d75064f14de455fe24a5661a 03-Apr-2002 hp.com!davidm <hp.com!davidm> (AM_CPPFLAGS): Define.

(Logical change 1.10)
ests/Makefile.am
99639fb162e8ed476b1d572d18404791a406e3ec 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Rename UNW_IA64_CURRENT_BSP to UNW_IA64_BSP.

(Logical change 1.9)
nclude/libunwind-ia64.h
rc/ia64/regs.c
ests/bt.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)
rc/Makefile.am
5e30dcbde3003a8efbc499f88f24a3a95f47e3a1 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Mention debugger requirements.

(Logical change 1.9)
rc/ia64/TODO
6f514a672633048b2f6eb2e9b2353643bd4c444a 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.9)
rc/ia64/Lunw_get_fpreg.c
rc/ia64/Lunw_set_fpreg.c
rc/ia64/unw_get_fpreg.c
rc/ia64/unw_get_save_loc.c
rc/ia64/unw_set_fpreg.c
3d5c9efd1e3208252665ba8e6200a17b8473e76d 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/Lunw_get_fpreg.c
rc/ia64/Lunw_set_fpreg.c
rc/ia64/unw_get_fpreg.c
rc/ia64/unw_get_save_loc.c
rc/ia64/unw_set_fpreg.c
883ce4ca59f75d0956ba3d3ae2916015ae6eed97 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Drop useless STAT() call.

(Logical change 1.9)
rc/ia64/unw_step.c
cec1997e0c4083ba742682e18c7f23d1fb84cbd8 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> Add missing routines to set/get fp-registers.
Begin working on enhancements for debuggers.

BKrev: 3ca8e6c2bLwAvO1tnQI63RwEAeoQog
70dd4fbccfdbd12d4b9fcd39b1524f85d7c6eb61 02-Apr-2002 mostang.com!davidm <mostang.com!davidm> (unw_save_loc_type_t): New type.
(unw_save_loc_t): New type.
(get_save_loc): New prototype.

(Logical change 1.9)
nclude/libunwind.h
85bd7b8e9d07b911f0eaab42a2ae51017dbdcb0d 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Regenerate with "aclocal" to get AM_MAINTAINER_MODE macro.

(Logical change 1.8)
clocal.m4
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)
rc/ia64/unwind_i.h
59f4f0d4c12883ae3d6c7cd805789f4b28e6a478 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Move sharable stuff into shared.c.

(Logical change 1.8)
rc/ia64/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)
rc/ia64/tables-glibc.c
3083f408428ac6c1de1428295748f81371ec3a3c 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
rc/ia64/Linit.c
rc/ia64/Lparser.c
rc/ia64/Lregs.c
rc/ia64/Lscript.c
rc/ia64/Lscript.c~
rc/ia64/Lunw_get_reg.c
rc/ia64/Lunw_init_local.c
rc/ia64/Lunw_init_remote.c
rc/ia64/Lunw_resume.c
rc/ia64/Lunw_set_reg.c
rc/ia64/Lunw_step.c
rc/ia64/init.h
rc/ia64/shared.c
78a71343b5f41f752f8d58d55f57ac16297f38ef 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Enable building of local-only version of the code. Applications get this version
by defining UNW_LOCAL_ONLY before including <libunwind.h>.

BKrev: 3c7e59d0_BxB6JTA5slt2sbN5jkx8Q
97ae3ba79aeb53a3d497f711b27c8822f90427e6 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Define UNW_LOCAL_ONLY before including libunwind.h.

(Logical change 1.8)
rc/backtrace.c
ests/exc.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)
rc/ia64/regs.c
f6cd0daa977284003140eaa75fcfa8696d85d70c 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Added src/ia64/Linit.c~ src/ia64/Lscript.c~ src/ia64/Lregs.c~ src/ia64/Lparser.c~ src/ia64/Lunw_get_reg.c~ src/ia64/Lunw_init_local.c~ src/ia64/Lunw_init_remote.c~ src/ia64/Lunw_resume.c~ src/ia64/Lunw_set_reg.c~ src/ia64/Lunw_step.c~ src/ia64/init.h~ src/ia64/shared.c~ to the ignore list

(Logical change 1.8)
itKeeper/etc/ignore
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)
rc/Makefile.am
525afd567672e7f58b302aad31f3f8e65b43ce9e 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Add AM_MAINTAINER_MODE.
Add command-line option --enable-debug to enable debugging.
In CPPFLAGS, define DEBUG when debugging, NDEBUG otherwise.
Add CPPFLAGS to ASFLAGS.


(Logical change 1.8)
onfigure.in
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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/unw_init_local.c
5e34685f1847c7b616bee0055176231ef5012d37 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.8)
rc/ia64/Linit.c
rc/ia64/Lparser.c
rc/ia64/Lregs.c
rc/ia64/Lregs.c~
rc/ia64/Lscript.c
rc/ia64/Lscript.c~
rc/ia64/Lunw_get_reg.c
rc/ia64/Lunw_get_reg.c~
rc/ia64/Lunw_init_local.c
rc/ia64/Lunw_init_remote.c
rc/ia64/Lunw_resume.c
rc/ia64/Lunw_set_reg.c
rc/ia64/Lunw_step.c
rc/ia64/init.h
rc/ia64/shared.c
468db8fdeae24bb934c7ac7b7714a9b978d12d07 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> mvdir

}(Logical change 1.7)
rc/tests/bt.c
rc/tests/exc.c
rc/tests/sig.c
rc/tests/verify.c
0660b2b7bbb3e4949036a9cb7e84d9722b4199b7 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
354f1c77b175de1fc0b1347398971e9072445af6 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Update version number and build instructions.

(Logical change 1.7)
EADME
cc4d70dfe6671bb59a3aaf029b0213a433af3e4c 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Switch build environment to automake + autoconf + libtool.

BKrev: 3c77fb17m0Es9xJjHhx0sCGyqBmVIA
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)
rc/ia64/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)
rc/ia64/unwind_decoder.h
bbc09de14d95196dff0bba9efcb89de119ba5e3e 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Rename: NOTES -> doc/NOTES

}(Logical change 1.7)
OTES
be72029dac30b48436b1905d4846ed17f269eb34 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Rename: NOTES -> doc/NOTES

(Logical change 1.7)
oc/NOTES
96e3133a62952fedab8f4828052d6da1822e437a 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Remove include of libunwind-config.h. Include libunwind-tdep.h instead of
opencoding an architecture-specific include.

2002/02/23 12:16:40-08:00 mostang.com!davidm
Rename: include/libunwind.h.in -> include/libunwind.h

(Logical change 1.7)
nclude/libunwind.h
95ce9146a75cc7e572842af61519fed591264a38 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
UTHORS
NSTALL
akefile.am
EWS
cinclude.m4
clocal.m4
ux/config.guess
ux/config.sub
ux/depcomp
ux/install-sh
ux/libtool
ux/ltconfig
ux/ltmain.sh
ux/missing
ux/mkinstalldirs
onfigure.in
oc/Makefile.am
oc/NOTES
nclude/config.h.in
nclude/stamp-h.in
rc/Makefile.am
rc/ia64/unwind_decoder.h
ests/Makefile.am
ests/bt.c
ests/exc.c
ests/sig.c
ests/verify.c
2f69df1d92b369bd406e99ff7ccd42ccb4850a83 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Include unwind_decoder.h instead of unwind_decoder.c.

(Logical change 1.7)
rc/ia64/parser.c
1888c151fc8a42809c8e483b18cf49d197b0db56 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Delete: tests/Makefile

}(Logical change 1.7)
rc/tests/Makefile
02acb8d4dd229ac4af569d0ef63d88c1f0758c29 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Delete: src/Makefile

}(Logical change 1.7)
rc/Makefile
9da5d9e6ec1e06a7d2eff8a312db760cecc4dbdc 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Delete: include/libunwind-config.h

}(Logical change 1.7)
nclude/libunwind-config.h
99afd3edc112e0d161d3f6e6228c59625efcd0fc 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Added Makefile.in configure doc/Makefile.in include/libunwind-tdep.h include/stamp-h include/stamp-h1 libunwind-0.2.tar.gz src/Makefile-orig src/Makefile.in tests/Makefile.in to the ignore list

(Logical change 1.7)
itKeeper/etc/ignore
1a9fe6168df55990771e82024273d0992ad6a706 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.7)
UTHORS
NSTALL
akefile.am
EWS
cinclude.m4
clocal.m4
ux/config.guess
ux/config.sub
ux/depcomp
ux/install-sh
ux/libtool
ux/ltconfig
ux/ltmain.sh
ux/missing
ux/mkinstalldirs
onfigure.in
oc/Makefile.am
nclude/config.h.in
nclude/stamp-h.in
rc/Makefile.am
ests/Makefile.am
0d1108748fca8dd735ff7b5a33fc4138a4acc556 22-Feb-2002 (none)!davidm <(none)!davidm> Delete: include/config.h

}(Logical change 1.6)
nclude/config.h
36c22aa3ef448526fbfd21ae5be0bef870168855 22-Feb-2002 (none)!davidm <(none)!davidm> Delete include/config.h; it's no longer needed.

BKrev: 3c76c198B2QHDakzsFDqg1LkZT1y9Q
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)
rc/ia64/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)
rc/ia64/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)
rc/Makefile
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)
rc/ia64/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)
rc/ia64/script.h
60cbd737abc62f0337115f9dc3ac806e65a45bb5 22-Feb-2002 (none)!davidm <(none)!davidm> Reformat preg_index initialization to GNU Coding standard.

(Logical change 1.5)
rc/ia64/init.c
3fd31aa7f2221adafb2acd0185e797e42675d19d 22-Feb-2002 (none)!davidm <(none)!davidm> Logging to logging@openlogging.org accepted

(Logical change 1.5)
itKeeper/etc/logging_ok
4224f76cfd2edcd761db73be13a57576d85e6dc1 22-Feb-2002 (none)!davidm <(none)!davidm> Initial revision
rc/ia64/offsets.h
cfdd6ece845cf96d058a51f8f0a7082f4e87f818 22-Feb-2002 (none)!davidm <(none)!davidm> Include architecture-specific header file first and then define
various other types and constants based on it.
(unw_error_t): A UNW_EINVAL, UNW_EBADVERSION, and UNW_ENOINFO.
(unw_frame_regnum_t): Instead of hardcoding the numbers for the
well-known frame registers, use the architecture-specific
(target-dependent) values instead.

(Logical change 1.5)
nclude/libunwind.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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/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)
rc/ia64/unw_resume.c
79106f99235f705d28689b72477d5185f54fc3a3 22-Feb-2002 (none)!davidm <(none)!davidm> Fine-tune the API for remote-unwinding support. Fix up the
implementation to support cross-compilation (e.g., to build the
IA-64 unwinder on x86).

BKrev: 3c76bf1dI_YzKWI7-5-E3JJ_fhW7mg
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)
rc/ia64/tables-glibc.c
4588bf926d4b63b9b03e05049da3fdead124dfec 22-Feb-2002 (none)!davidm <(none)!davidm> Build only if UNW_REMOTE_ONLY is not defined.

(Logical change 1.5)
rc/ia64/__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)
rc/tests/Makefile
f275c38236ac92ffce14fcf03a60d1e5a73d3d1f 22-Feb-2002 (none)!davidm <(none)!davidm> Added src/Makefile.bak src/ia64/init.o src/ia64/offsets.h~ src/ia64/parser.o src/ia64/regs.o src/ia64/script.o src/ia64/unw_get_reg.o src/ia64/unw_init_local.o src/ia64/unw_init_remote.o src/ia64/unw_resume.o src/ia64/unw_set_reg.o src/ia64/unw_step.o src/libunwind.a to the ignore list

(Logical change 1.5)
itKeeper/etc/ignore
cd66944a2c0f6e897e28af64e778973c60dd329d 22-Feb-2002 (none)!davidm <(none)!davidm> (unw_tdep_word_t): New type.
(ia64_regnum_t): Define well-known frame registers here and add
TDEP-aliases for use by libunwind.h.
(unw_ia64_table_t): Use unw_tdep_word_t instead of unw_word_t so this
file can be included by libunwind.h.
Change type of "array" member to void *. On OSes that support
ILP32, it may point to a 32-bit unwind table.

(Logical change 1.5)
nclude/libunwind-ia64.h
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)
rc/ia64/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)
rc/ia64/script.c
73c10de341a80823fbd6e15503fe1813a918929f 22-Feb-2002 (none)!davidm <(none)!davidm> (Logical change 1.5)
rc/ia64/offsets.h
0e254786c6c46ee9208fb1861eb32cd1cc37c5df 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> Update ia64 specific NOTES.

BKrev: 3c6d9f009AHscjNje1WJ1Ui9FdJtsQ
444b815950bbde98ab81800cf07923093566cc2a 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> Clarify comment about proc_info.

(Logical change 1.4)
rc/ia64/NOTES
7fbfe0a255eb7ff3f27efa5adc6ed69dab471ecf 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.3)
itKeeper/etc/logging_ok
OPYING
hangeLog
OTES
EADME
nclude/config.h
nclude/libunwind-config.h
nclude/libunwind-ia64.h
nclude/libunwind.h
rc/Makefile
rc/backtrace.c
rc/ia64/NOTES
rc/ia64/TODO
rc/ia64/__ia64_install_context.S
rc/ia64/init.c
rc/ia64/parser.c
rc/ia64/regs.c
rc/ia64/rse.h
rc/ia64/script.c
rc/ia64/script.h
rc/ia64/tables-glibc.c
rc/ia64/ucontext_i.h
rc/ia64/unw_get_reg.c
rc/ia64/unw_init_local.c
rc/ia64/unw_init_remote.c
rc/ia64/unw_is_signal_frame.c
rc/ia64/unw_resume.c
rc/ia64/unw_set_reg.c
rc/ia64/unw_step.c
rc/ia64/unwind_decoder.c
rc/ia64/unwind_i.h
rc/tests/Makefile
rc/tests/bt.c
rc/tests/exc.c
rc/tests/sig.c
rc/tests/verify.c
63669f7ad4fc6eb752c88713235e2438a8e327d5 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
itKeeper/etc/logging_ok
OPYING
hangeLog
OTES
EADME
nclude/config.h
nclude/libunwind-config.h
nclude/libunwind-ia64.h
nclude/libunwind.h
rc/Makefile
rc/backtrace.c
rc/ia64/NOTES
rc/ia64/TODO
rc/ia64/__ia64_install_context.S
rc/ia64/init.c
rc/ia64/parser.c
rc/ia64/regs.c
rc/ia64/rse.h
rc/ia64/script.c
rc/ia64/script.h
rc/ia64/tables-glibc.c
rc/ia64/ucontext_i.h
rc/ia64/unw_get_reg.c
rc/ia64/unw_init_local.c
rc/ia64/unw_init_remote.c
rc/ia64/unw_is_signal_frame.c
rc/ia64/unw_resume.c
rc/ia64/unw_set_reg.c
rc/ia64/unw_step.c
rc/ia64/unwind_decoder.c
rc/ia64/unwind_i.h
rc/tests/Makefile
rc/tests/bt.c
rc/tests/exc.c
rc/tests/sig.c
rc/tests/verify.c
6d8fc3bc30b10c134f9e90461b9dad6c5f8087b0 16-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial checkin into bitkeeper.

BKrev: 3c6d981dR_x2wQyXJUe60wYU-j17Aw
5de8126b0d96f0808c0b2677e6bdecf75ae7e80c 15-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial repository create

BKrev: 3c6d515aBUQMglrIzL_V-dcSBCH1Hw
eafd2dddcc26b813a5228762b5e4eee4f86da143 15-Feb-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.2)
itKeeper/etc/config
itKeeper/etc/ignore
42b1c2937347c781e88af043bcc8b8c60bdcc322 15-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
itKeeper/etc/config
itKeeper/etc/ignore
hangeSet