diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-sigcontext-get_pc.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-sigcontext-get_pc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-sigcontext-get_pc.c b/sysdeps/unix/sysv/linux/tst-sigcontext-get_pc.c index ea375f9..df1c9c4 100644 --- a/sysdeps/unix/sysv/linux/tst-sigcontext-get_pc.c +++ b/sysdeps/unix/sysv/linux/tst-sigcontext-get_pc.c @@ -38,8 +38,10 @@ handler (int signal, siginfo_t *info, void *ctx) uintptr_t pc = sigcontext_get_pc (ctx); printf ("info: address in signal handler: 0x%" PRIxPTR "\n", pc); + printf ("info: siginfo_t address: %p\n", info); + printf ("info: ucontext_t address: %p\n", ctx); - void *callstack[10]; + void *callstack[20]; int callstack_count = backtrace (callstack, array_length (callstack)); TEST_VERIFY_EXIT (callstack_count > 0); TEST_VERIFY_EXIT (callstack_count <= array_length (callstack)); |