mostang.com!davidm
64b4ac37da
Use SIGUSR1/SIGUSR2 to start/stop backtrace() verification for trace_mode == TRIGGER.
...
(Logical change 1.56)
2003-02-27 09:58:57 +00:00
mostang.com!davidm
26f95915e4
Regenerate.
...
(Logical change 1.56)
2003-02-27 09:58:57 +00:00
mostang.com!davidm
e31015f67f
(Logical change 1.56)
2003-02-27 09:58:57 +00:00
mostang.com!davidm
1de6745d5b
Initial revision
2003-02-27 09:58:57 +00:00
mostang.com!davidm
4577631094
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)
2003-02-27 09:58:57 +00:00
mostang.com!davidm
0d7396a027
(func_add3): Various small fixes.
...
(func_vframe): New function.
(Logical change 1.56)
2003-02-27 09:58:57 +00:00
mostang.com!davidm
405a7d8adf
(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)
2003-02-27 09:58:57 +00:00
hp.com!davidm
ea8a74ba29
Rewrite it.
...
(Logical change 1.55)
2003-02-26 08:33:57 +00:00
hp.com!davidm
818d0241f2
Initial revision
2003-02-26 08:33:57 +00:00
hp.com!davidm
b97fa14ca5
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)
2003-02-26 08:33:57 +00:00
hp.com!davidm
9f48ae3751
(TESTS_arch): Add ia64-test-dyn1.
...
(ia64_test_dyn1_SOURCES): New macro.
(Logical change 1.55)
2003-02-26 08:33:57 +00:00
hp.com!davidm
601494e771
(Logical change 1.55)
2003-02-26 08:33:57 +00:00
mostang.com!davidm
3434090e32
(Logical change 1.54)
2003-02-22 08:19:43 +00:00
mostang.com!davidm
5d9d17a5e8
Initial revision
2003-02-22 08:19:43 +00:00
hp.com!davidm
1a6bf76301
Rename: tests/test-dyn1.c -> tests/Gtest-dyn1.c
...
}(Logical change 1.53)
2003-02-22 03:08:22 +00:00
hp.com!davidm
a1aed8c295
Rename: tests/test-dyn1.c -> tests/Gtest-dyn1.c
...
(Logical change 1.53)
2003-02-22 03:08:22 +00:00
hp.com!davidm
ad94265cff
Rename: tests/ia64-test-stack.c -> tests/Gia64-test-stack.c
...
}(Logical change 1.53)
2003-02-22 03:08:22 +00:00
hp.com!davidm
9c83634f04
Rename: tests/ia64-test-stack.c -> tests/Gia64-test-stack.c
...
(Logical change 1.53)
2003-02-22 03:08:22 +00:00
hp.com!davidm
7849826bf9
Regenerate.
...
(Logical change 1.53)
2003-02-22 03:08:22 +00:00
hp.com!davidm
982f0e1684
New file.
...
}(Logical change 1.53)
2003-02-22 03:08:22 +00:00
hp.com!davidm
690b203671
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)
2003-02-22 03:08:22 +00:00
hp.com!davidm
5187d53d31
Delete UNW_LOCAL_ONLY.
...
}(Logical change 1.53)
2003-02-22 03:08:22 +00:00
hp.com!davidm
f77ee147ac
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)
2003-02-22 03:08:22 +00:00
hp.com!davidm
4fdeae046b
D
...
}(Logical change 1.53)
2003-02-22 03:08:22 +00:00
hp.com!davidm
899ce01967
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)
2003-02-22 03:08:22 +00:00
hp.com!davidm
a0f3b067b8
(Logical change 1.53)
2003-02-22 03:08:22 +00:00
hp.com!davidm
37d99c0c9f
Initial revision
2003-02-22 03:08:22 +00:00
hp.com!davidm
1d36e97333
(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)
2003-02-22 03:08:22 +00:00
mostang.com!davidm
f0c37e1652
(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)
2003-02-21 07:36:26 +00:00
mostang.com!davidm
0d89914d4e
(rbs_spill_N): Fix off-by-one bug in indexing into next_func[].
...
(Logical change 1.51)
2003-02-20 18:04:51 +00:00
mostang.com!davidm
6af90d0df4
Regenerate.
...
(Logical change 1.50)
2003-02-15 08:53:55 +00:00
mostang.com!davidm
fb1997ff0a
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)
2003-02-15 08:49:55 +00:00
mostang.com!davidm
71ab0b2a3c
(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)
2003-02-15 08:49:55 +00:00
mostang.com!davidm
44a825a3d5
(TEST_arch): Put ia64-test-stack first.
...
(TESTS): Put $(TESTS_arch) first.
(Logical change 1.49)
2003-02-15 08:49:55 +00:00
mostang.com!davidm
894b96b95a
(Logical change 1.47)
2003-02-14 06:25:36 +00:00
mostang.com!davidm
9b16424457
Initial revision
2003-02-14 06:25:36 +00:00
mostang.com!davidm
508348e693
(TESTS_arch): Mention ia64-test-rbs.
...
(ia64_test_rbs_SOURCES): New macro.
(Logical change 1.47)
2003-02-14 06:25:36 +00:00
mostang.com!davidm
97c8c1ef37
Make it an automatic test.
...
}(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
0098b771ce
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)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
824d6619b5
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
5f94e2d488
Initial revision
2003-02-08 10:10:59 +00:00
mostang.com!davidm
b2a5a9023b
Fix signed/unsigned comparisons.
...
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
d0e021d85b
Add copyright notice.
...
Make it an automatic test.
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
ea39f89528
(sighandler): Print procedure-name along with address.
...
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
d20530f7ab
(do_backtrace): Adjust for new "offset" argument in unw_get_proc_name().
...
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
5f82f8e557
(do_backtrace): Adjust for "offset" argument in unw_get_proc_name() and print
...
procedure name in a prettier fashion.
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
5db393915c
(TESTS_cdep): Add test-setjmp.
...
(test_setjmp_LDADD): New macro.
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
de4410dce0
(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)
2003-01-28 07:32:15 +00:00
hp.com!davidm
b28af10e4b
R
...
(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
e9e4e5fb29
(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
b064eb4574
Initial revision
2003-01-28 03:40:06 +00:00
hp.com!davidm
21e86c6cba
(TESTS_cdep): Add test-ptrace.c.
...
(Logical change 1.43)
2003-01-28 03:40:06 +00:00
mostang.com!davidm
93bfdaa128
Regenerate.
...
(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
81eb703130
Initial revision
2003-01-23 18:47:51 +00:00
mostang.com!davidm
ffaba71c4e
Add copyright header.
...
(main): Be verbose only if an argument is passed.
(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
0fe74701c5
(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)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
282413e6ab
(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)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
e55b2e04ce
(NSTACKS): Move into "ia64-test-stack.h".
...
(STACK_SIZE_SHIFT): Ditto.
(STACK_SIZE): Ditto.
(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
a3f100b9f0
(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
95d618391d
Rename: tests/sig.c -> tests/ia64-test-sig.c
...
}(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
e5b4f8a40d
Rename: tests/sig.c -> tests/ia64-test-sig.c
...
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
3f0ebaa7e3
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
01ead91d21
Initial revision
2003-01-23 10:04:09 +00:00
mostang.com!davidm
57df2a2981
(noinst_PROGRAMS_arch): Mention ia64-test-stack.
...
(ia64_test_stack_SOURCES): New macro.
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
51b47e4ecf
Test unwinding across signal delivered on alternate signal stack.
...
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
28490baa52
Regenerate.
...
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
1efaaab46e
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
81d01dfc27
Initial revision
2003-01-21 17:41:20 +00:00
mostang.com!davidm
15ea4d442e
(noinst_PROGRAMS): Mentio ntest-resume-sig.
...
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
0797f31dd2
(main): Add missing return.
...
(Logical change 1.39)
2003-01-21 08:08:32 +00:00
mostang.com!davidm
0440c53608
Fix checkin lossage.
...
(Logical change 1.37)
2003-01-17 18:12:55 +00:00
mostang.com!davidm
7c3e12ee43
Regenerate.
...
(Logical change 1.32)
2002-12-19 07:16:50 +00:00
mostang.com!davidm
ccfcac6e20
Make it compile cleanly on x86.
...
(Logical change 1.32)
2002-12-19 07:16:50 +00:00
mostang.com!davidm
39b1d3a61f
Use unw_get_proc_name() to obtain procedure name (if available).
...
(Logical change 1.30)
2002-12-12 09:17:41 +00:00
mostang.com!davidm
eb1797b8da
(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)
2002-12-12 09:17:41 +00:00
mostang.com!davidm
57f5fae02b
Regenerate.
...
(Logical change 1.29)
2002-12-03 08:19:58 +00:00
mostang.com!davidm
b691bb1300
(Logical change 1.29)
2002-12-03 08:19:58 +00:00
mostang.com!davidm
612e33825c
Initial revision
2002-12-03 08:19:58 +00:00
mostang.com!davidm
d48c437782
(noinst_PROGRAMS): Mention test-dyn1.
...
(Logical change 1.29)
2002-12-03 08:19:58 +00:00
mostang.com!davidm
15eec54cc8
(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)
2002-12-03 08:19:58 +00:00
mostang.com!davidm
aca3843d6f
Switch to MIT license.
...
(Logical change 1.26)
2002-11-16 03:25:36 +00:00
mostang.com!davidm
027b1d967f
Regenerated with automake.
...
(Logical change 1.21)
2002-11-09 03:59:27 +00:00
mostang.com!davidm
dee2508b2c
(Logical change 1.21)
2002-11-09 03:59:27 +00:00
mostang.com!davidm
9f708e3bb2
Initial revision
2002-11-09 03:59:27 +00:00
mostang.com!davidm
e0ac536efc
(noinst_PROGRAMS): Mention test-init and test-varargs.
...
(Logical change 1.21)
2002-11-09 03:59:27 +00:00
mostang.com!davidm
aa54b9f4a8
(Logical change 1.20)
2002-09-26 23:09:01 +00:00
mostang.com!davidm
27cce00964
Initial revision
2002-09-26 23:09:01 +00:00
mostang.com!davidm
7e8c5066e8
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)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
21647f4830
Include <stdlib.h>.
...
(sighandler): Parenthesize IP check.
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
5a9743cd77
(b): Add a printf() after raise_exception() to avoid triggering the sibcall
...
optimization for this call.
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
e324c4c115
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)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
72e98c4610
(sighandler): New function.
...
(main): Install SIGTERM handler and send SIGTERM to self to test backtracing through
signal handler.
(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
053cda26f2
(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)
2002-04-25 06:47:29 +00:00
hp.com!davidm
0f1a0c4b4e
(AM_CPPFLAGS): Define.
...
(Logical change 1.10)
2002-04-03 06:51:34 +00:00
mostang.com!davidm
99639fb162
Rename UNW_IA64_CURRENT_BSP to UNW_IA64_BSP.
...
(Logical change 1.9)
2002-04-01 23:01:22 +00:00
mostang.com!davidm
97ae3ba79a
Define UNW_LOCAL_ONLY before including libunwind.h.
...
(Logical change 1.8)
2002-02-28 16:24:48 +00:00
mostang.com!davidm
0660b2b7bb
mvdir
...
(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
95ce9146a7
Initial revision
2002-02-23 20:27:03 +00:00
mostang.com!davidm
1a9fe6168d
(Logical change 1.7)
2002-02-23 20:27:03 +00:00