diff options
| author | Mark Wielaard <[email protected]> | 2014-04-09 11:48:23 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-04-14 11:31:28 +0200 |
| commit | 66637fa21044ac0058b25522f473669e73de328b (patch) | |
| tree | e3faa5f63f822ebad19dceaca203727443a79fa9 /tests | |
| parent | 7f1eec317db79627b473c5b149a22a1b20d1f68f (diff) | |
backends: Add aarch64 native and core unwind support.
Add aarch64 backend functions frame_nregs and set_initial_registers_tid.
Mark pc_register in aarch64 prstatus_regs as pc_register.
Add backtrace-core-aarch64 testcase.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ChangeLog | 7 | ||||
| -rw-r--r-- | tests/Makefile.am | 3 | ||||
| -rw-r--r-- | tests/backtrace.aarch64.core.bz2 | bin | 0 -> 7865 bytes | |||
| -rwxr-xr-x | tests/backtrace.aarch64.exec.bz2 | bin | 0 -> 370058 bytes | |||
| -rwxr-xr-x | tests/run-backtrace-core-aarch64.sh | 23 |
5 files changed, 33 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 9b0e7ace..776ea66f 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,10 @@ +2014-04-09 Mark Wielaard <[email protected]> + + * Makefile.am (TESTS): Add run-backtrace-core-aarch64.sh. + (EXTRA_DIST): Add run-backtrace-core-aarch64.sh, + backtrace.aarch64.core.bz2 and backtrace.aarch64.exec.bz2. + * run-backtrace-core-aarch64.sh: New test. + 2014-03-11 Josh Stone <[email protected]> * testfilebaxmin.bz2: New testfile. diff --git a/tests/Makefile.am b/tests/Makefile.am index 5e640955..698e2cfa 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -108,6 +108,7 @@ TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \ run-backtrace-native-core-biarch.sh run-backtrace-core-x86_64.sh \ run-backtrace-core-i386.sh run-backtrace-core-ppc.sh \ run-backtrace-core-s390x.sh run-backtrace-core-s390.sh \ + run-backtrace-core-aarch64.sh \ run-backtrace-demangle.sh run-stack-d-test.sh run-stack-i-test.sh if !BIARCH @@ -262,6 +263,8 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ backtrace.s390x.core.bz2 backtrace.s390x.exec.bz2 \ backtrace.s390.core.bz2 backtrace.s390.exec.bz2 \ run-backtrace-core-s390x.sh run-backtrace-core-s390.sh \ + run-backtrace-core-aarch64.sh \ + backtrace.aarch64.core.bz2 backtrace.aarch64.exec.bz2 \ run-backtrace-demangle.sh testfile-backtrace-demangle.bz2 \ testfile-backtrace-demangle.cc \ testfile-backtrace-demangle.core.bz2 \ diff --git a/tests/backtrace.aarch64.core.bz2 b/tests/backtrace.aarch64.core.bz2 Binary files differnew file mode 100644 index 00000000..3082a5ac --- /dev/null +++ b/tests/backtrace.aarch64.core.bz2 diff --git a/tests/backtrace.aarch64.exec.bz2 b/tests/backtrace.aarch64.exec.bz2 Binary files differnew file mode 100755 index 00000000..66216b52 --- /dev/null +++ b/tests/backtrace.aarch64.exec.bz2 diff --git a/tests/run-backtrace-core-aarch64.sh b/tests/run-backtrace-core-aarch64.sh new file mode 100755 index 00000000..a29a6613 --- /dev/null +++ b/tests/run-backtrace-core-aarch64.sh @@ -0,0 +1,23 @@ +#! /bin/bash +# Copyright (C) 2013 Red Hat, Inc. +# This file is part of elfutils. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# elfutils is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +. $srcdir/backtrace-subr.sh + +# backtrace.aarch64.exe is a -static binary of backtrace-child. +# backtrace.aarch64.core was generated by running the static backtrace-child +# with --gencore. +check_core aarch64 |
