summaryrefslogtreecommitdiff
path: root/tests/run-backtrace-core-x32.sh
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-25 07:22:43 -0700
committerMark Wielaard <mjw@redhat.com>2015-04-01 20:54:36 +0200
commit6de72761723d624bcd148facc811bc774a265f0c (patch)
treecce5a580ca100d230eaa1b0cb9136f67d1ddd76c /tests/run-backtrace-core-x32.sh
parentaa19e593d3a5ba53571064ca133597ca9f14f840 (diff)
downloadelfutils-6de72761723d624bcd148facc811bc774a265f0c.tar.gz
tests: Add run-backtrace-core-x32.sh
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'tests/run-backtrace-core-x32.sh')
-rwxr-xr-xtests/run-backtrace-core-x32.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/run-backtrace-core-x32.sh b/tests/run-backtrace-core-x32.sh
new file mode 100755
index 00000000..2ad76bcf
--- /dev/null
+++ b/tests/run-backtrace-core-x32.sh
@@ -0,0 +1,23 @@
+#! /bin/bash
+# Copyright (C) H.J. Lu <hjl.tools@gmail.com>, 2015.
+# 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.x32.exec is created by
+# gcc -mx32 -static -o backtrace.x32.exec backtrace_child-backtrace-child.o -lpthread
+# backtrace.x32.core was generated by running "backtrace.x32.exec --gencore"
+check_core x32