diff options
author | Zhi-Gang Liu <zliu@tilera.com> | 2014-09-02 17:35:41 -0400 |
---|---|---|
committer | Zhi-Gang Liu <zliu@tilera.com> | 2014-09-08 16:21:53 -0400 |
commit | 790be1e40d4c27c4aa1c3160722673ac3e1bbaaf (patch) | |
tree | 660b60f35f5a2a832e120112bd62789d3317345a /tests/Gtest-resume-sig.c | |
parent | 4791a76d26ffb65d56aa16f6b760aa1ee7abdc14 (diff) | |
download | libunwind-790be1e40d4c27c4aa1c3160722673ac3e1bbaaf.tar.gz |
Add TileGx platform support to libunwind.
"make check" passed.
======================================================
All 34 tests behaved as expected (2 expected failures)
======================================================
Zhi-Gang Liu @ Tilera
Diffstat (limited to 'tests/Gtest-resume-sig.c')
-rw-r--r-- | tests/Gtest-resume-sig.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Gtest-resume-sig.c b/tests/Gtest-resume-sig.c index 55eb00a0..147ecd03 100644 --- a/tests/Gtest-resume-sig.c +++ b/tests/Gtest-resume-sig.c @@ -115,6 +115,11 @@ handler (int sig) if ((ret = unw_step (&c)) < 0) /* step to kill() */ panic ("unw_step(2) failed: ret=%d\n", ret); +#if defined(UNW_TARGET_TILEGX) + if ((ret = unw_step (&c)) < 0) /* step to signal trampoline */ + panic ("unw_step(2) failed: ret=%d\n", ret); +#endif + if ((ret = unw_get_reg (&c, UNW_REG_IP, &ip)) < 0) panic ("unw_get_reg(IP) failed: ret=%d\n", ret); if (verbose) |