• Home
  • History
  • Annotate
  • only in /external/libunwind/tests/
History log of /external/libunwind/tests/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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.
akefile.am
563b0ff3144c0e60a9aa63fdafb4dea66ecd3d50 19-Apr-2013 Matt Fischer <matt.fischer@garmin.com> Added --enable-setjmp

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

This change adds a manual override to control building of the ptrace
library, similar to the existing --enable-coredump option. The
default is set based on the existence of sys/ptrace.h, allowing it
to be automatically disabled for platforms that do not have ptrace.
akefile.am
ae3dd9417a3d178cf51ce744d85b695dbf025b44 28-Oct-2012 Arun Sharma <asharma@fb.com> Add known test failures to XFAIL_TESTS
akefile.am
6456da2dc10d13e00b79ac3b366617342d964e5a 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Assign `func' just once in Ltest-nocalloc glibc case
test-nocalloc.c
65f936402d0dd0e62191ed249f86946203476e28 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Add arguments to malloc and calloc prototypes in Ltest-nocalloc
test-nocalloc.c
249ff2f840123823ae05d90bf44ba89d744c14c7 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Remove unused variable in Ltest-nocalloc
test-nocalloc.c
e9f161a677087dfdf8e543b9e70c7131ac3fd942 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Replace empty argument lists with `void' in tests
test-nomalloc.c
rs-race.c
test-nocalloc.c
890e23eb9d3ffd9be2a025189a21794b5ed0e0ff 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Prefer NULL over zero
apper.c
est-ptrace.c
2fbbf276b3cebd60a41f61d9a7f9dac56f513a23 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Use shared `ARRAY_SIZE' in IA64 tests
ia64-test-nat.c
ia64-test-rbs.c
6b55e0ab51eee7dbea679fda2b37ecf61f0025e5 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Use `UNUSED' in tests
test-bt.c
test-concurrent.c
test-dyn1.c
test-init.cxx
test-resume-sig.c
test-trace.c
rs-race.c
test-varargs.c
est-async-sig.c
est-coredump-unwind.c
est-init-remote.c
est-mem.c
est-proc-info.c
est-ptrace-misc.c
est-setjmp.c
est-static-link-loc.c
est-strerror.c
5e7e890a0b75fc9b64838dd197f554c6c6285d88 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Plug in `ALIAS' attribute
rasher.c
e3e49dc28aee0dc78f0243d932a5c950aaec7e3e 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Define and use `NOINLINE'
perf-simple.c
perf-trace.c
test-varargs.c
rasher.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.
perf-simple.c
perf-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.
perf-trace.c
akefile.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.
est-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'.
test-nocalloc.c
test-nocalloc.c
akefile.am
aeb1afc65de3f395d760f7b8b7c70eb5545aef7e 17-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Call `unw_backtrace()' explicitly in test-flush-cache.c
est-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.
rs-race.c
akefile.am
s-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.
test-bt.c
test-trace.c
est-coredump-unwind.c
est-proc-info.c
est-ptrace.c
438d9de675771faaceaec362fbf4cf37eb06e295 14-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Remove unneeded `config.h' inclusion in Gtest-nomalloc
test-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.
test-varargs.c
akefile.am
est-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]
est-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]
test-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]
test-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'
a64-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
ia64-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]
est-coredump-unwind.c
d3fd3dc3ca842a7ec2f796fc84117a71738209b5 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Default to non-verbose mode in Ltest-cxx-exceptions
test-cxx-exceptions.cxx
80e852cb38970f76ed59059012cc29c6369ef7f8 17-Sep-2012 Konstantin Belousov <kib@freebsd.org> Do not allow the reference to the local var to outlive the local var scope.
est-ptrace.c
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.
akefile.am
pc64-test-wchar.c
3a5d7ff694aa95773a402309aaec37a28a921539 15-Sep-2012 Cody P Schafer <cody@linux.vnet.ibm.com> build: make libunwind-coredump build optional

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

Allow overriding of this autodetection via --enable-coredump and
--disable-coredump.
akefile.am
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.
test-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.
akefile.am
est-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.
test-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.
test-init.cxx
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().
test-dyn1.c
akefile.am
lush-cache.S
lush-cache.h
a64-test-dyn1.c
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.''.
test-dyn1.c
lush-cache.S
a64-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]
test-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.
test-resume-sig-rt.c
test-resume-sig.c
test-resume-sig-rt.c
akefile.am
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]
rasher.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]
est-async-sig.c
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.
heck-namespace.sh.in
erf-startup
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.
test-bt.c
test-concurrent.c
test-dyn1.c
test-init.cxx
test-resume-sig.c
test-trace.c
s-race.c
est-async-sig.c
est-coredump-unwind.c
est-init-remote.c
est-mem.c
est-proc-info.c
est-ptrace-misc.c
est-setjmp.c
est-static-link-loc.c
est-strerror.c
47a99b6f0007c69959d7d56e52243c1780102d80 21-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Eliminate unused parameters in tests
test-nocalloc.c
test-nomalloc.c
apper.c
est-ptrace.c
est-varargs.c
6f374ccb5a3da0af7c6f39ef9ea06eacfe8542c6 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Ignore _fbss, _fdata, _ftext and _gp symbols on MIPS
heck-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.
heck-namespace.sh.in
201bb8733d385c86b9d78ee061db071b92d03938 18-Aug-2012 Arun Sharma <asharma@fb.com> Use libtool to build libunwind-ptrace
akefile.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 ]
akefile.am
rasher.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
est-ptrace.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>
akefile.am
un-coredump-unwind
un-coredump-unwind-mdi
est-coredump-unwind.c
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>
un-coredump-unwind
est-coredump-unwind.c
707b1dba99323c80ed9730870f6eab949f5b9b98 05-Aug-2012 Arun Sharma <asharma@fb.com> Fix a SIGSEGV in test-ptrace.c

./test-ptrace -v resulted in a SIGSEGV.
est-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
test-nocalloc.c
814bd79fb1814eb5bbeb2fdb652d5ae08f1edd28 04-Aug-2012 Arun Sharma <asharma@fb.com> Fix some compiler warnings
est-coredump-unwind.c
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 *'
test-bt.c
test-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.
test-trace.c
est-coredump-unwind.c
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.
test-bt.c
test-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>
akefile.am
0f6c8313b78b9bc292a36388b23436d0e71a8fd9 18-Jun-2012 Konstantin Belousov <kib@FreeBSD.org> Port crasher to FreeBSD.
rasher.c
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>
akefile.am
rasher.c
un-coredump-unwind
est-coredump-unwind.c
61a173763ea4fdc46b34785fc343a483bf3f4c9e 23-May-2012 Konstantin Belousov <kib@FreeBSD.org> Fix test build on FreeBSD.
est-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>
akefile.am
46dfe3ecf5ee60eec08c063b5b58fc38a685440d 15-Mar-2012 Arun Sharma <asharma@fb.com> Fixup whitespace in Makefile.
akefile.am
7e5d2791f9218e5d00c1ce52c6ebe8474bf476c3 13-Mar-2012 Arun Sharma <asharma@fb.com> Update namespace checks for dwarf_find_unwind_tables
heck-namespace.sh.in
6da4dde70ed83e5dc5e9d03af342466ef4dd6145 13-Mar-2012 Arun Sharma <asharma@fb.com> Compile fix for platforms other than linux-i386
est-coredump-unwind.c
f0bb806ecbbdc62f0e59716221212d75cc78e9f8 13-Mar-2012 Arun Sharma <asharma@fb.com> Move the test case to tests dir.
akefile.am
est-coredump-unwind.c
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>
test-dyn1.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>
heck-namespace.sh.in
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>
akefile.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>
est-proc-info.c
1d8e2c1ae568a1d684015350097d493b1b13c0c7 11-Sep-2011 Arun Sharma <asharma@fb.com> Explicitly specify the libraries

Without this linking fails with gold and newer versions of ld.
akefile.am
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().
akefile.am
4dbc2bcb94960e9aa76696dfca5d662090496d4e 16-Aug-2011 Arun Sharma <asharma@fb.com> Fix a compiler warning

backtrace() needs execinfo.h
perf-trace.c
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>
test-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>
test-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>
test-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>
akefile.am
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>
test-bt.c
test-trace.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>
test-nocalloc.c
test-nocalloc.c
akefile.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.
akefile.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.
test-trace.c
heck-namespace.sh.in
50bc12afba900c478d5d760966ef5b6f32229c99 01-Apr-2011 Lassi Tuura <lat@cern.ch> Export unw_backtrace() and alias backtrace() to it.
heck-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).
akefile.am
27d0dbfecb25c3bacaaaebf47b5ee2072a334aa6 25-Mar-2011 Arun Sharma <asharma@fb.com> Ensure tests pass on 32 bit x86.
test-trace.c
3b9fd99cb78383e0ce8cd1a31e3b824a30ef965e 25-Mar-2011 Lassi Tuura <lat@iki.fi> Assign copyright as requested by the author.
test-trace.c
741a5a2149b111d6d180cb789031b9da9ef0b621 25-Mar-2011 Arun Sharma <asharma@fb.com> Add some performance tests for fast backtracing.
perf-trace.c
perf-trace.c
akefile.am
7ff83c051e33de1adbcbc20bf63ea368c2745a70 25-Mar-2011 Arun Sharma <asharma@fb.com> Fix up compilation and test failures
test-trace.c
akefile.am
heck-namespace.sh.in
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.
test-trace.c
test-trace.c
akefile.am
heck-namespace.sh.in
6c1a58fd06eea3a45c6de38eb5d1f79f636bb8d5 25-Mar-2011 Arun Sharma <asharma@fb.com> Remove the unused arm_extbl_test_LDADD from Makefile.am
akefile.am
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>
akefile.am
rm-extbl-test.c
04fc88fa31ffac9e6189c4debd745c965473d1d4 22-Mar-2011 Konstantin Belousov <kostikbel@gmail.com> Fix build and distribution on the FreeBSD.

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

Signed-off-by: Arun Sharma <asharma@fb.com>
akefile.am
rm-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>
akefile.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>
akefile.am
rm-extbl-test.c
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>
est-ptrace.c
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>
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>
akefile.am
651e9bb4fdef2f6f4dbdb4f85bee071ef72bcd25 29-Oct-2010 Zachary T Welch <zwelch@codesourcery.com> Add MAINTAINERCLEANFILES to Makefile.am files.

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

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
982d590ddb778f0d301fe2e5647abd9135a2f9bc 05-Aug-2010 Arun Sharma <aruns@google.com> Add Gtest-nomalloc.c to EXTRA_DIST so we pass "make check"
akefile.am
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>
heck-namespace.sh.in
215afa30b782970479e956b7bb96dca7cd9325ea 29-Apr-2010 Arun Sharma <aruns@google.com> Add unwind descriptors to getcontext.S
un-ptrace-mapper
c2d78041cc41e8455bd97584d5a5bb3638554632 12-Apr-2010 Arun Sharma <aruns@google.com> GCC compatibility on x86 for C++ exception handling
test-cxx-exceptions.cxx
akefile.am
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
heck-namespace.sh.in
459b2a5ba89c3ae0002e741cadbc723e4b1dd0a6 04-Apr-2010 Konstantin Belousov <kostik@pooma.home> Normalize test code
est-async-sig.c
574d32a8296567752507e45816a43346d6113137 04-Apr-2010 Konstantin Belousov <kostik@pooma.home> malloc.h is not needed.
test-dyn1.c
6e07e94d5dc29425d4f28995e7fed11ac618810d 04-Apr-2010 Konstantin Belousov <kostik@pooma.home> Revert "Test for malloc.h."

This reverts commit 22b17269cf508711b0ab209b50f6a65882672bc8.
test-dyn1.c
22b17269cf508711b0ab209b50f6a65882672bc8 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Test for malloc.h.
test-dyn1.c
9bb9c972e6f0a776740ad17ee230973bdefad553 31-Mar-2010 Konstantin Belousov <kostik@pooma.home> Merge with origin/master
d3ddc9b96b57ff2d535178487669d081f8fecbb7 11-Mar-2010 Arun Sharma <aruns@google.com> Cap the runtime for rs-race
s-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.
test-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.
test-bt.c
d7377096400e73db989ebb6b0985a84754a413ca 10-Mar-2010 Konstantin Belousov <kostikbel@gmail.com> Close #if
test-bt.c
3b026a7ed8e4c03e7d0177ac198b2649427f80d1 10-Mar-2010 Konstantin Belousov <kostik@pooma.home> Fix i386 distinctions between freebsd and linux for mcontext.
test-bt.c
4b3ca293bf941ee2122afc9e7ccef92de55899a0 08-Mar-2010 Konstantin Belousov <kostik@pooma.home> Fix PT_SYSCALL ignoring of ip
est-ptrace.c
ad932154a687d381482b66b01b4aaf11fe690969 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Port test-ptrace
est-ptrace.c
da357e3c2e34c4d9d51e22d778a6dcea6eccef56 07-Mar-2010 Konstantin Belousov <kostik@pooma.home> Revert "sys/types.h"

This reverts commit 5976f1a5b33ba1af3e7dbc663ffbebca3b944024.
perf-simple.c
59d38aaccd53c13d962f07dbcb44b3ec5513c5ca 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> Properly handle -ldl and -lutil
akefile.am
5976f1a5b33ba1af3e7dbc663ffbebca3b944024 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> sys/types.h
perf-simple.c
d7f51410753f67c0ae1caa5fbdb428f7718b99ec 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> MAP_ANONYMOUS
apper.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.
akefile.am
s-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
test-concurrent.c
570c09a2afe255ce30b64e3298218ffbcff73e80 16-Oct-2009 Belisko Marek <marek.belisko@gmail.com> Fix another compiler warning.
test-dyn1.c
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.
test-bt.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.
est-async-sig.c
2fce54102cdb03aa2d3105c750685dc7cf2677b1 03-Apr-2009 Arun Sharma <aruns@google.com> Implement _Unwind_GetIPInfo() as required by the C++ ABI

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

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

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
heck-namespace.sh.in
1227c41d20be7e31ce8b5284b27d1d75009cd3eb 17-Mar-2009 Arun Sharma <aruns@google.com> Disable C++ exception support by default on x86.
heck-namespace.sh.in
0bce5f0016c181fbdc9e24db3535929d1a261457 16-Mar-2009 Arun Sharma <aruns@google.com> Remove auto generated files.
akefile.in
83cef8b8f51eb46b23f6e72493d070c95a544919 16-Mar-2009 Arun Sharma <aruns@google.com> Don't check C++ ABI when it's not enabled.
heck-namespace.sh.in
576b59e4b15ddf2f2d3f17036b9c2f43c7504777 15-Mar-2009 Arun Sharma <aruns@google.com> Verify that we don't call malloc when unwinding locally.
test-nomalloc.c
test-nomalloc.c
akefile.am
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>
heck-namespace.sh.in
183d28a0668f100a181cc665ea702985d2ee717e 16-Jun-2008 David Mosberger-Tang <davidm@koala.mostang.com> Rebuild autoconf files with autoreconf.
akefile.in
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>
lush-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>
test-bt.c
test-dyn1.c
heck-namespace.sh.in
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.in
79c943b92217da79102c4e5abff91fa5fb2dd86c 10-Dec-2007 David Mosberger-Tang <davidm@koala.mostang.com> Make tests/perf-startup executable. Suggested by Mark Wielaard.
erf-startup
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.
lush-cache.S
a64-dyn-asm.S
a64-test-nat-asm.S
a64-test-rbs-asm.S
a64-test-readonly-asm.S
a64-test-stack-asm.S
4499bb29a6214b5df5b3b21e03c6b4f3c8f26cfd 13-Sep-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> [PPC32] First check-in to add preliminary support for Linux/PPC32.
lush-cache.S
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.
lush-cache.S
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.
a64-test-setjmp.c
297315675e0e7c112b93d733879e514e141df859 07-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Recreate autoconf files.
akefile.in
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.
akefile.am
fad8b04c9f874c996da59c319b931270e2b8bec9 07-Aug-2007 David Mosberger-Tang <davidm@koala.mostang.com> Rebuilt configure and Makefile.in files.
akefile.in
b33021e4b2f3a92141c01eb24b98bc51a97c498d 02-Aug-2007 Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> Add PPC64 support.
akefile.am
pc64-test-altivec-utils.c
pc64-test-altivec.c
pc64-test-wchar.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
apper.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.
a64-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>
est-async-sig.c
est-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'.
test-dyn1.c
est-async-sig.c
est-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
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.
erf-startup
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
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.
ia64-test-readonly.c
a64-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.
orker.c
a64-test-stack.h
un-check-namespace
un-ia64-test-dyn1
un-ptrace-mapper
un-ptrace-misc
est-strerror.c
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)
ia64-test-nat.c
da5e9ba2978cf0a9be75818789ee679748acfc86 20-May-2005 hp.com!davidm <hp.com!davidm> (ARRAY_SIZE): Rename from NELEMS.

(Logical change 1.294)
ia64-test-rbs.c
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)
ia64-test-nat.c
3d881cd0cb0a1c4e9c223a978098f033b42f326f 17-May-2005 hp.com!davidm <hp.com!davidm> (save_static_to_scratch): Initialize ar.ec.

(Logical change 1.293)
a64-test-nat-asm.S
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)
ia64-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)
a64-test-nat-asm.S
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)
test-concurrent.c
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)
est-mem.c
6ef1640a5f43bc84e6f7953e522a9e5eb3db4e64 03-May-2005 mostang.com!davidm <mostang.com!davidm> (main): Fix a typo in the argument-checking code.

(Logical change 1.290)
est-proc-info.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)
test-resume-sig.c
3ff39e9fc9189155c2caffbb7d261d3f7b6f9ed8 03-May-2005 mostang.com!davidm <mostang.com!davidm> (flush_cache): Provide dummy implementation for HPPA.

(Logical change 1.290)
lush-cache.S
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)
test-bt.c
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)
perf-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)
akefile.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)
heck-namespace.sh.in
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)
test-exc.c
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)
ia64-test-nat.c
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)
est-ptrace.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)
a64-test-setjmp.c
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)
test-concurrent.c
9fa361ed372422e9cf784d618a92ff05b4857556 03-May-2005 hp.com!davidm <hp.com!davidm> (bar): Fix missing initialization warned on by GCC v4.

(Logical change 1.290)
est-ptrace-misc.c
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)
akefile.am
272caabbfae28e542c4c6b30f1c558a8e5fd748b 16-Nov-2004 hp.com!davidm <hp.com!davidm> Regenerate.

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

(Logical change 1.280)
akefile.in
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)
a64-test-nat-asm.S
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)
a64-test-setjmp.c
e4d5a228124d967da1fa4267744cf57138e7b0c4 15-Oct-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.276)
akefile.in
beca885a4bcd578e8648aa54ca5f72520b8923fb 15-Oct-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.276)
dent.c
un-ptrace-misc
est-ptrace-misc.c
935d735557be4f62e592c78d99960dc54815709b 15-Oct-2004 hp.com!davidm <hp.com!davidm> Initial revision
dent.c
un-ptrace-misc
est-ptrace-misc.c
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)
test-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)
est-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)
akefile.am
b62e5e37b3b0ff99ae0c08bc3a3ecb19cdce2b89 05-Oct-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

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

(Logical change 1.270)
akefile.in
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)
t.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)
test-bt.c
18cd500bf7d59b4b49c0050e47ce630938f7a46b 15-Sep-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.270)
test-bt.c
373a106072c9686d5ead26c0ef5e0833249730d9 15-Sep-2004 hp.com!davidm <hp.com!davidm> Initial revision
test-bt.c
test-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)
akefile.am
34be77c7b22160ab82deed3c2bd9435141bd7c92 09-Sep-2004 mostang.com!davidm <mostang.com!davidm> (test_generic): Fix "unused variable" warning.

(Logical change 1.266)
est-static-link-gen.c
112fcdd1728aac85495660cb903ffa24cec41cb9 08-Sep-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.261)
akefile.in
f7671b5cf72699e8e4a81957e3799b2660b1290e 31-Aug-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.259)
akefile.in
197c9d517b4e459a33ce79192c1469e0844a1a8e 31-Aug-2004 hp.com!davidm <hp.com!davidm> Initial revision
a64-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)
a64-test-sig.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)
akefile.am
e29611e7d343a6f84dd9c5fd94415615ef49a4b0 31-Aug-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.259)
a64-test-setjmp.c
efa755a556f760e8a208bfd7a26c1e4063a64bd2 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> Add checks for __libunwind_* aliases.

(Logical change 1.255)
heck-namespace.sh.in
18acb9253071fe5a643013e825b6b9a7f8dec8db 20-Aug-2004 homeip.net!davidm <homeip.net!davidm> (flush_cache): Provide dummy-implementation for x86-64.

(Logical change 1.253)
lush-cache.S
982b64232d8ceb19342af1d36ae438b30d2cbecd 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.252)
akefile.in
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)
akefile.am
95dea64712c5b1013ba07a14c8ae2fa453e13a82 19-Aug-2004 homeip.net!davidm <homeip.net!davidm> (do_backtrace): Delete unused variable "pi".

(Logical change 1.250)
est-init-remote.c
779632ee820e9a329667e0cb8a101f67b56d9a69 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> Regenerate.

(Logical change 1.245)
akefile.in
0f818455ce1cd28bcd7602d194b5e29f6f61eba7 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> Initial revision
est-strerror.c
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)
heck-namespace.sh.in
42a90f14d5b324e3b8cf5a98760b646d1d0706c3 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> (check_PROGRAMS_common): Mention test-strerror.

(Logical change 1.245)
akefile.am
48cc8c5712f2565c5f71cbff56019fa4f0f13776 18-Aug-2004 bea.com!thallgre <bea.com!thallgre> (Logical change 1.245)
est-strerror.c
0588a0bcc3087de745f7b7eb796bf4307d6ff3df 18-Aug-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.243)
akefile.in
b71d3fd5d26a90a03be26cdf1614d475b9bdeb6e 18-Aug-2004 hp.com!davidm <hp.com!davidm> Initial revision
est-init-remote.c
d5933d6e7424e175d04c86e4fd60cde517221f2b 18-Aug-2004 hp.com!davidm <hp.com!davidm> (check_PROGRAMS_common): Mention test-init-remote.

(Logical change 1.243)
akefile.am
f9a2d5dfd8d08a829621846cffc3f676c79483da 18-Aug-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.243)
est-init-remote.c
34fa122ac275313047399baeb7adf832e24e44f1 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Regenerate.

(Logical change 1.241)
akefile.in
16230294973478ce572122dc05015580b400d5e0 15-Jul-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.239)
akefile.in
7886a0d946b4da4b268c967881ca41ac9fac6be4 12-May-2004 hp.com!davidm <hp.com!davidm> (create_func): Change %Zu to %zu.

(Logical change 1.236)
a64-test-dyn1.c
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)
heck-namespace.sh.in
30649af75a17501565e5d649344d37bcaa0ba87c 07-May-2004 hp.com!davidm <hp.com!davidm> Pass arguments along to check-namespace.sh.

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

(Logical change 1.233)
heck-namespace.sh.in
683c9b411725315d160eb64e95918729e3ded2b6 06-May-2004 hp.com!davidm <hp.com!davidm> (main): Remove unused variable "i".

(Logical change 1.232)
ia64-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)
test-exc.c
d5c1bfe77230320e377d6e23e47189989b53d2ad 06-May-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.231)
akefile.in
de2a42042ee5a18185a83435b67bc51cb3874ba9 06-May-2004 hp.com!davidm <hp.com!davidm> (Logical change 1.231)
ia64-test-readonly.c
ia64-test-readonly.c
a64-test-readonly-asm.S
9427f8eae40ad52ebfb1e83a4ebdc936021c6961 06-May-2004 hp.com!davidm <hp.com!davidm> Initial revision
ia64-test-readonly.c
ia64-test-readonly.c
a64-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)
akefile.am
7b989938b7fd555ef4bfb6831652ff5b25d9aaad 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.227)
akefile.in
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)
heck-namespace.sh.in
0c8baa7a79b686afef5ef6c853ff08e24085640a 05-May-2004 mostang.com!davidm <mostang.com!davidm> (EXTRA_DIST): Also mention run-check-namespace.

(Logical change 1.227)
akefile.am
2d2129a5bc71e8c6574896e7c6981b046fc886ab 05-May-2004 mostang.com!davidm <mostang.com!davidm> (sighandler): Adjust for <asm/rse.h> -> <ia64/rse.h> changes.

(Logical change 1.226)
ia64-test-nat.c
542e026ae444a205c1b14b156131eb0959a66a18 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.225)
akefile.in
3640bb40a264ce250153f5463e2ad24b16e94205 05-May-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.225)
heck-namespace.sh.in
un-check-namespace
3db9cf3812456a39527d52850a52e28acc53d796 05-May-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
heck-namespace.sh.in
un-check-namespace
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)
akefile.am
bd193e05094c3d04204b129a4f4724341129a269 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.223)
akefile.in
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)
akefile.am
823c634376f4f6bdf50f3923861fdea3000dd7b1 05-May-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.222)
ia64-test-nat.c
ia64-test-rbs.c
ia64-test-stack.c
perf-simple.c
test-concurrent.c
test-dyn1.c
test-exc.c
test-init.cxx
test-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)
est-ptrace.c
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)
ia64-test-nat.c
43ccdff0d92f9c6e61d35b27d722129a9a1b795f 04-May-2004 mostang.com!davidm <mostang.com!davidm> Delete: tests/verify.c

}(Logical change 1.219)
erify.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)
est-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)
est-static-link-gen.c
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)
est-proc-info.c
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)
ia64-test-nat.c
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)
test-dyn1.c
f20b7f838a853d1d652637a3d6306639e1b3f162 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.209)
akefile.in
3e718ea00430a1c63819135e848bde86c23f63c8 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.209)
apper.c
un-ptrace-mapper
35c9f15ab7dc611f0ade446cb0d3436c98dae912 21-Apr-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
apper.c
un-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)
est-ptrace.c
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)
akefile.am
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)
akefile.in
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)
akefile.am
b9c2ed48de8e15a236a22f7a2601aedf1b7080a2 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.204)
akefile.in
4471c1e8c3958dc55e4abb0de5c5a8e69fe0a765 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.204)
est-async-sig.c
4cda328838ff47a18e51519b41d84c239d860f52 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
est-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)
akefile.am
471e4e5fa698a9eeaef184d9acea32ad9aac2fe9 01-Apr-2004 mostang.com!davidm <mostang.com!davidm> Minor whitespace fixes.

(Logical change 1.202)
test-concurrent.c
50c2be0ca322727d5a4f53fbf70fa579c853bc70 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Undo some temporary testing hacks.

(Logical change 1.198)
perf-simple.c
201f7d6671bf32eb259d5671183e6b19e075e94c 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.197)
akefile.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)
perf-simple.c
69052ef3ea201d25307f5feda2c02ecfe33cf4da 31-Mar-2004 mostang.com!davidm <mostang.com!davidm> (Lperf_simple_LDADD): Delete.
(Gperf_simple_LDADD): Likewise.

(Logical change 1.197)
akefile.am
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)
perf-simple.c
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)
perf-simple.c
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)
perf-simple.c
e8be590f3df5ed19f4ce93d0ab81ed6bc547c678 20-Mar-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.187)
akefile.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)
perf-simple.c
8e8fe5002977ea13565fa0061abdcea3437a507a 20-Mar-2004 mostang.com!davidm <mostang.com!davidm> (Lperf_simple_LDADD): Mention -lrt.
(Gperf_simple_LDADD): Likewise.

(Logical change 1.186)
akefile.am
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)
a64-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)
ia64-test-nat.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)
ia64-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)
a64-test-nat-asm.S
77a27f0baf35f1490c006143f12f7556367c9e85 19-Mar-2004 hp.com!davidm <hp.com!davidm> Update with rotation-test.

(Logical change 1.183)
ia64-test-nat.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)
a64-test-nat-asm.S
23dd2c4c4a7223746418a40b52a724aed10462ae 27-Feb-2004 mostang.com!davidm <mostang.com!davidm> Update.

(Logical change 1.181)
ia64-test-nat.c
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)
ia64-test-nat.c
1f3439fc5d4fe4c57af5d1278f92e203044d1db1 27-Feb-2004 hp.com!davidm <hp.com!davidm> (save_static_to_scratch): New routine.

(Logical change 1.179)
a64-test-nat-asm.S
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)
ia64-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)
a64-test-nat-asm.S
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)
ia64-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)
a64-test-nat-asm.S
907bac3434245ebe31efd7eb1b6d54947062eec6 19-Feb-2004 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.170)
akefile.in
05a9101485fd5a5c42c546cc720bc35fa4e3f06b 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.168)
ia64-test-nat.c
ia64-test-nat.c
a64-test-nat-asm.S
a49786f031d94e830ddda6225f68ff1a8aa2de7c 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
ia64-test-nat.c
ia64-test-nat.c
a64-test-nat-asm.S
66482c4494d842bd68ea542ed35aaa3634d59012 14-Feb-2004 mostang.com!davidm <mostang.com!davidm> Add copyright message.

(Logical change 1.168)
ia64-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)
akefile.am
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)
est-static-link-gen.c
bc0f7315934045e05f6f3b1c67fdfd3d4bc713e4 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.157)
akefile.in
be177c8b06294d3218ecc0d3ee92ac5b6bda9de2 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Initial revision
orker.c
erf-startup
est-static-link-gen.c
est-static-link-loc.c
e1da71810155740b4cffe9b9e009fe5273802214 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Add copyright notice.

(Logical change 1.157)
perf-simple.c
est-mem.c
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)
akefile.am
a54ee8800953d330752704157f58e8375d850b86 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> (Logical change 1.157)
orker.c
erf-startup
est-static-link-gen.c
est-static-link-loc.c
40a1558927a7e74acbc6c73a5fc6e58711091136 21-Jan-2004 mostang.com!davidm <mostang.com!davidm> Include <libunwind-ptrace.h> instead of <libunwind.h>.

(Logical change 1.156)
est-ptrace.c
95589da62c3092798bf52e90a43948c61a3f1462 14-Jan-2004 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.152)
akefile.in
32f19d0e09def03b25de038315a92ff032e1cdee 03-Jan-2004 hp.com!davidm <hp.com!davidm> (test_ptrace_LDADD): New macro.

(Logical change 1.151)
akefile.am
d799003645296b3af5e5aee81d0bad9607524fcf 05-Dec-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.137)
akefile.in
dde43e2bee0b4273aef6c01366225f774d29cd69 05-Dec-2003 hp.com!davidm <hp.com!davidm> Initial revision
est-mem.c
d154b86e841cc0b0e920b1d0dc40010f005a679e 05-Dec-2003 hp.com!davidm <hp.com!davidm> (check_PROGRAMS_cdep): Mention test-mem.

(Logical change 1.137)
akefile.am
5e111c69df0a0b9e733a662ea7877b3cb73fc661 05-Dec-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.137)
est-mem.c
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)
t.c
dcf293aa30c4609abcec076021dc56e0716d84db 27-Nov-2003 hp.com!davidm <hp.com!davidm> Cast printf() argument to avoid compiler-warning.

(Logical change 1.130)
t.c
722933b6bc92464a55d971a490d39d9c98ff9514 27-Nov-2003 hp.com!davidm <hp.com!davidm> Cast printf() argument to avoid compiler warning.

(Logical change 1.130)
test-resume-sig.c
06e572340efed7b938f0fc984ab561fd448e1f5a 27-Nov-2003 hp.com!davidm <hp.com!davidm> (a): Don't use inline-asm for Intel-compiler.

(Logical change 1.130)
test-exc.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)
perf-simple.c
89d2adc59abdc8c24048bffc690357cb9093984f 24-Nov-2003 hp.com!davidm <hp.com!davidm> Drop include of ia64intrin.h.

(Logical change 1.123)
a64-test-dyn1.c
94f198b28835ff21668abb53bf146cabf209fbb7 24-Nov-2003 hp.com!davidm <hp.com!davidm> (handler): Adjust printf format to avoid compiler warning.

(Logical change 1.123)
test-concurrent.c
2c9be974dceb79ef5a3b72919b2b852f024fefe1 22-Nov-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.115)
akefile.in
e83a18421896dc56c46ea2c13d5d838aa96ac76f 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.114)
akefile.in
7a346fbf8ce35978524e85dd2c19768640f20c89 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> Measure with caching disabled, global caching, and thread-local
caching.

(Logical change 1.114)
perf-simple.c
716484f0009c474bb72cbf096f933b4118bf17a5 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.114)
test-concurrent.c
test-concurrent.c
634e645f67f3b3bdfb78fdeee378b2253bc42e50 20-Nov-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
test-concurrent.c
test-concurrent.c
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)
akefile.am
587bba5c1f8491f852ef531d6266bec490a45f15 25-Sep-2003 hp.com!davidm <hp.com!davidm> Print normal output only if "verbose" mode is requested.

(Logical change 1.104)
test-init.cxx
d7d831e9bbb4e6dc7c84167b7f16105968df8e17 25-Sep-2003 hp.com!davidm <hp.com!davidm> Fix x86 b

(Logical change 1.104)
t.c
29f2f89a8fc3cd7f103fb7ed7e1c9f79adfd59b8 25-Sep-2003 hp.com!davidm <hp.com!davidm> (measure_unwind): Return 0.

(Logical change 1.104)
perf-simple.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)
akefile.am
1c5c60b8ad9fa2094fb03aa211d9717dd8b30f05 25-Sep-2003 hp.com!davidm <hp.com!davidm> Add some more debug statements and fix some typos.

(Logical change 1.103)
est-setjmp.c
048d4239ae39842884678f5493265d576b852cbc 24-Sep-2003 hp.com!davidm <hp.com!davidm> Collect 20 samples per run.

(Logical change 1.102)
perf-simple.c
1be40c4ff644b432dfbfaa66c6b2060fe3b85ab8 24-Sep-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.100)
akefile.in
dce915e1f6512286484edf9ce296bcde998566b7 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> Update.

(Logical change 1.99)
ia64-test-rbs.c
ia64-test-stack.c
test-dyn1.c
test-exc.c
test-init.cxx
test-resume-sig.c
12876ef7815e26325a187fd5dbc0fda417011d7b 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.98)
perf-simple.c
perf-simple.c
ee803e7accc3ee551cee1e16f7654f7e8f64d72e 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
perf-simple.c
perf-simple.c
e1bdc44e0f4cea85c1e72b50bd457c8a0f186bce 24-Sep-2003 mostang.com!davidm <mostang.com!davidm> (noinst_PROGRAMS_cdep): Add Gperf-simple and Lperf-simple.

(Logical change 1.98)
akefile.am
2eec12620187b1198a5ae5b4779b6300a6863595 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> Add copyright message.

(Logical change 1.97)
est-proc-info.c
ef593732e747516535dadc3286a139ea52d37c13 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.96)
est-flush-cache.c
9c8195cb413953a2e9389ccfc4c96953760c08d0 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
est-flush-cache.c
29358553a96c99441e8e9d51cd55a2f3e3197174 19-Sep-2003 mostang.com!davidm <mostang.com!davidm> (check_PROGRAMS_common): Mention test-flush-cache.

(Logical change 1.96)
akefile.am
dcd786be805b4f1c6cc049c550e12581c0b0e349 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> R

(Logical change 1.95)
akefile.in
9339de49da0ec6ddb1e195db70717344e498a000 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.95)
est-proc-info.c
b36317df37eb35907dceeb345c78d27f30c5181e 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
est-proc-info.c
6f01170a2649d49926f06562dc098e5a7f57aba0 18-Sep-2003 mostang.com!davidm <mostang.com!davidm> (check_PROGRAMS_common): Mention test-proc-info.

(Logical change 1.95)
akefile.am
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)
t.c
6c3716a92a5239fd32a4b110b5b96cf141b6d403 22-Apr-2003 hp.com!davidm <hp.com!davidm> (flush_cache): Implement x86-version as a no-op.

(Logical change 1.81)
lush-cache.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)
t.c
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)
est-ptrace.c
4f17bce117cf69d572523bbe3cfb2ee86efc0586 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.70)
ia64-test-rbs.c
ia64-test-stack.c
test-dyn1.c
test-exc.c
test-resume-sig.c
akefile.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)
test-init.cxx
b5e1ca5a537e44c06b1894545fc52999f7f8db0c 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
test-init.cxx
test-init.cxx
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)
est-init.c
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)
est-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)
test-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)
a64-test-dyn1.c
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)
akefile.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)
test-exc.c
453ec65cf02ca0c343af730bc42f256c42af97eb 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.70)
test-init.cxx
5b1f22a309c326d464eebbd5cca05a20d9224d49 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.69)
akefile.in
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)
a64-dyn-asm.S
f168752fcfc83ed0aa5df6032faf04ad6bcea39e 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.68)
lush-cache.S
58df2a4b8f2d077b1b35b2a413adb521a3274b09 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
lush-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)
a64-test-dyn1.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)
test-resume-sig.c
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)
akefile.am
0e2f4866f2291c9b719064fbd6bf39699bf261e6 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (flush_cache): Move to flush-cache.S.

(Logical change 1.68)
test-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)
a64-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)
test-exc.c
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)
t.c
7a7d6113d42f46f5ab6bae453789b010946d4b4d 06-Mar-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.59)
akefile.in
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)
ia64-test-rbs.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)
a64-test-dyn1.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)
akefile.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)
a64-test-dyn1.c
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)
est-ptrace.c
26f95915e4ef33562d793ad89fd535a4194d96b8 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.56)
akefile.in
e31015f67f3fdfc2cd9d4369debb5f4196c26694 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.56)
un-ia64-test-dyn1
1de6745d5b0b320a59bdccb7270bb5ae0d22e319 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
un-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)
a64-test-dyn1.c
0d7396a027d2a7e5480dde9deaf5398957adb829 27-Feb-2003 mostang.com!davidm <mostang.com!davidm> (func_add3): Various small fixes.
(func_vframe): New function.

(Logical change 1.56)
a64-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)
akefile.am
ea8a74ba29d4316f5b3337293b75a71a9eeaa8dd 26-Feb-2003 hp.com!davidm <hp.com!davidm> Rewrite it.

(Logical change 1.55)
a64-dyn-asm.S
818d0241f200119c08ba8062bc801f70b1719335 26-Feb-2003 hp.com!davidm <hp.com!davidm> Initial revision
a64-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)
est-ptrace.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)
akefile.am
601494e77189871a3edc715d9585355bd31c8504 26-Feb-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.55)
a64-test-dyn1.c
3434090e32e1c7c566cf82eff1a14b530e364bdc 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.54)
a64-dyn-asm.S
5d9d17a5e86345f98a9b247081bdebb74b1f0f5a 22-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
a64-dyn-asm.S
1a6bf76301ebd7b645e665501b8443af1ad5c864 22-Feb-2003 hp.com!davidm <hp.com!davidm> Rename: tests/test-dyn1.c -> tests/Gtest-dyn1.c

}(Logical change 1.53)
est-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)
test-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)
a64-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)
ia64-test-stack.c
7849826bf9a601b625a156ed7d6900500e53c816 22-Feb-2003 hp.com!davidm <hp.com!davidm> Regenerate.

(Logical change 1.53)
akefile.in
982f0e1684580f79a0bc42a53e2f0df5315faccd 22-Feb-2003 hp.com!davidm <hp.com!davidm> New file.

}(Logical change 1.53)
a64-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)
ia64-test-rbs.c
5187d53d312e17555f9efdb640f02640e085b9f6 22-Feb-2003 hp.com!davidm <hp.com!davidm> Delete UNW_LOCAL_ONLY.

}(Logical change 1.53)
est-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)
test-exc.c
4fdeae046bd0cdc8acdb64b21a776f05d4879dab 22-Feb-2003 hp.com!davidm <hp.com!davidm> D

}(Logical change 1.53)
est-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)
test-resume-sig.c
a0f3b067b8bca7f64cb86a4416d34ab0bce92a33 22-Feb-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.53)
ia64-test-rbs.c
ia64-test-stack.c
test-dyn1.c
test-exc.c
test-resume-sig.c
37d99c0c9fd0ccb3a26b78456213125748ec4421 22-Feb-2003 hp.com!davidm <hp.com!davidm> Initial revision
ia64-test-rbs.c
ia64-test-stack.c
test-dyn1.c
test-exc.c
test-resume-sig.c
ia64-test-rbs.c
ia64-test-stack.c
test-dyn1.c
test-exc.c
test-resume-sig.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)
akefile.am
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)
a64-test-rbs.c
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)
a64-test-rbs-asm.S
6af90d0df45daf5c20c0adc301682b4a74b0618c 15-Feb-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.50)
akefile.in
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)
a64-test-rbs.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)
a64-test-rbs-asm.S
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)
akefile.am
894b96b95a2e91323a0416a44f00a3185de0c0e8 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.47)
a64-test-rbs-asm.S
a64-test-rbs.c
a64-test-rbs.h
9b16424457ec791e88c96bf632f0c48141d1e70b 14-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
a64-test-rbs-asm.S
a64-test-rbs.c
a64-test-rbs.h
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)
akefile.am
97c8c1ef37fbe4c5d29029914c3ad4493363e46f 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Make it an automatic test.

}(Logical change 1.45)
xc.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)
est-exc.c
824d6619b500a86ff2fc680268357f0215d59b0c 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.45)
est-setjmp.c
5f94e2d488701fccd474245df3ad6f51aff2a05e 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
est-exc.c
est-setjmp.c
b2a5a9023b8fa5ffeb8fb87b533d56daec817895 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Fix signed/unsigned comparisons.

(Logical change 1.45)
a64-test-stack.c
d0e021d85bebb7c97e81097d6759ca191070ce99 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> Add copyright notice.
Make it an automatic test.

(Logical change 1.45)
est-resume-sig.c
ea39f89528d5031f8c23bb55eb4c7d1f1415b549 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (sighandler): Print procedure-name along with address.

(Logical change 1.45)
est-dyn1.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)
est-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)
t.c
5db393915c23fe9f3410479847ebc2d23571970e 08-Feb-2003 mostang.com!davidm <mostang.com!davidm> (TESTS_cdep): Add test-setjmp.
(test_setjmp_LDADD): New macro.

(Logical change 1.45)
akefile.am
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)
est-ptrace.c
b28af10e4b4009783b3e2fc9804583ce4537bb0e 28-Jan-2003 hp.com!davidm <hp.com!davidm> R

(Logical change 1.43)
akefile.in
e9e4e5fb29d322105e75577e11ef1cfb0dd0f9db 28-Jan-2003 hp.com!davidm <hp.com!davidm> (Logical change 1.43)
est-ptrace.c
b064eb45748633753e8ae8dbf6a63aeea1102d95 28-Jan-2003 hp.com!davidm <hp.com!davidm> Initial revision
est-ptrace.c
21e86c6cbad24358a410f2acdab14454275455d8 28-Jan-2003 hp.com!davidm <hp.com!davidm> (TESTS_cdep): Add test-ptrace.c.

(Logical change 1.43)
akefile.am
93bfdaa128741e52b7a1f82f3fe5ef3b2ba733d2 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.42)
akefile.in
81eb7031300b598a5aec06be17e83f32d7bbcc04 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
a64-test-stack.h
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)
est-dyn1.c
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)
a64-test-stack.c
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)
akefile.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)
a64-test-stack-asm.S
a3f100b9f07ba2c4aa5f4b541ce97d2d691d71dd 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.42)
a64-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)
ig.c
e5b4f8a40dc15be7943b3a1996c33e1887e5735e 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Rename: tests/sig.c -> tests/ia64-test-sig.c

(Logical change 1.41)
a64-test-sig.c
3f0ebaa7e38f83dd489f6d26293e1824cfda83bf 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.41)
a64-test-stack-asm.S
a64-test-stack.c
01ead91d2149c0297a2c7be4d5266479aadc617e 23-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
a64-test-sig.c
a64-test-stack-asm.S
a64-test-stack.c
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)
akefile.am
51b47e4ecf182fcc76f257b909155b21af5f06df 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Test unwinding across signal delivered on alternate signal stack.

(Logical change 1.40)
t.c
28490baa523f124ce8cec3d62221e2cc9ad8797a 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.40)
akefile.in
1efaaab46ee5374ad7f54e48d4246bcaa49643e3 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (Logical change 1.40)
est-resume-sig.c
81d01dfc274f83a705bc86b8799ad4e2c46383ac 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> Initial revision
est-resume-sig.c
15ea4d442e2ef351ff1a34d6c3ef28979184d0d1 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (noinst_PROGRAMS): Mentio ntest-resume-sig.

(Logical change 1.40)
akefile.am
0797f31dd2127d443d159f528d2936b052cc515a 21-Jan-2003 mostang.com!davidm <mostang.com!davidm> (main): Add missing return.

(Logical change 1.39)
ig.c
0440c53608b69add964fda57d174742060b873db 17-Jan-2003 mostang.com!davidm <mostang.com!davidm> Fix checkin lossage.

(Logical change 1.37)
akefile.in
7c3e12ee43650405e4af65e45914d0240af43ebf 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.32)
akefile.in
ccfcac6e20c515205936972e64b0abe40d40705d 19-Dec-2002 mostang.com!davidm <mostang.com!davidm> Make it compile cleanly on x86.

(Logical change 1.32)
t.c
xc.c
est-dyn1.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)
t.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)
est-dyn1.c
57f5fae02b37474072d36b200530a34a84644309 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Regenerate.

(Logical change 1.29)
akefile.in
b691bb13009ffeb2e93261f7c879e4e93b646e18 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.29)
est-dyn1.c
612e33825c83aa606bfd7198df3cdbf9782cf1c9 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
est-dyn1.c
d48c437782ab286cb9a5120005d0dd40cba9ecb1 03-Dec-2002 mostang.com!davidm <mostang.com!davidm> (noinst_PROGRAMS): Mention test-dyn1.

(Logical change 1.29)
akefile.am
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)
t.c
aca3843d6f53f2b36cb66c167a10e3e30e8ebd3a 16-Nov-2002 mostang.com!davidm <mostang.com!davidm> Switch to MIT license.

(Logical change 1.26)
t.c
xc.c
ig.c
erify.c
027b1d967f4e132e77fa91faf8c1d155d0318008 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Regenerated with automake.

(Logical change 1.21)
akefile.in
dee2508b2c1390f4279acfc4215559bf9c4056f3 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.21)
est-init.c
est-varargs.c
9f708e3bb21bf3ba640b985db3bd7f6c31d496ac 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
est-init.c
est-varargs.c
e0ac536efcbb76131cef2b4fbe2030af2e0ff660 09-Nov-2002 mostang.com!davidm <mostang.com!davidm> (noinst_PROGRAMS): Mention test-init and test-varargs.

(Logical change 1.21)
akefile.am
aa54b9f4a84ac643224c97b7f3d97c79d04d83fc 27-Sep-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.20)
akefile.in
27cce009640d953f71eb607db7ad6721c5a569d5 27-Sep-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
akefile.in
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)
t.c
21647f4830023ed86a14fa61f1f29d575a89ddc7 18-Jul-2002 mostang.com!davidm <mostang.com!davidm> Include <stdlib.h>.

(sighandler): Parenthesize IP check.

(Logical change 1.19)
ig.c
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)
xc.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)
ig.c
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)
t.c
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)
akefile.am
0f1a0c4b4e234771d75064f14de455fe24a5661a 03-Apr-2002 hp.com!davidm <hp.com!davidm> (AM_CPPFLAGS): Define.

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

(Logical change 1.9)
t.c
97ae3ba79aeb53a3d497f711b27c8822f90427e6 28-Feb-2002 mostang.com!davidm <mostang.com!davidm> Define UNW_LOCAL_ONLY before including libunwind.h.

(Logical change 1.8)
xc.c
0660b2b7bbb3e4949036a9cb7e84d9722b4199b7 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> mvdir

(Logical change 1.7)
t.c
xc.c
ig.c
erify.c
95ce9146a75cc7e572842af61519fed591264a38 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> Initial revision
akefile.am
t.c
xc.c
ig.c
erify.c
1a9fe6168df55990771e82024273d0992ad6a706 23-Feb-2002 mostang.com!davidm <mostang.com!davidm> (Logical change 1.7)
akefile.am