Commit | Line | Data |
---|---|---|
cfc8495a MJ |
1 | #!/bin/bash |
2 | # | |
3 | # Copyright (C) 2015 Antoine Busque <abusque@efficios.com> | |
4 | # Copyright (C) 2019 Michael Jeanson <mjeanson@efficios.com> | |
5 | # | |
6 | # This program is free software; you can redistribute it and/or | |
7 | # modify it under the terms of the GNU General Public License | |
8 | # as published by the Free Software Foundation; only version 2 | |
9 | # of the License. | |
10 | # | |
11 | # This program is distributed in the hope that it will be useful, | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | # GNU General Public License for more details. | |
15 | # | |
16 | # You should have received a copy of the GNU General Public License | |
17 | # along with this program; if not, write to the Free Software | |
18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
19 | # | |
20 | ||
abdabab5 MJ |
21 | if [ "x${BT_TESTS_SRCDIR:-}" != "x" ]; then |
22 | UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh" | |
23 | else | |
24 | UTILSSH="$(dirname "$0")/../../utils/utils.sh" | |
25 | fi | |
cfc8495a | 26 | |
abdabab5 MJ |
27 | # shellcheck source=../../utils/utils.sh |
28 | source "$UTILSSH" | |
cfc8495a | 29 | |
b7c5d194 | 30 | debug_info_data="${BT_DEBUG_INFO_PATH}/powerpc-linux-gnu" |
cfc8495a | 31 | |
abdabab5 | 32 | "${BT_TESTS_BUILDDIR}/plugins/flt.lttng-utils.debug-info/test_bin_info" \ |
cfc8495a MJ |
33 | --foo-addr=0x23bc \ |
34 | --printf-offset=0x114 \ | |
35 | --printf-lineno=36 \ | |
36 | --tp-offset=0x28 \ | |
37 | --tp-lineno=35 \ | |
38 | --debug-link-crc=0xd7b98958 \ | |
39 | --debug-info-dir "$debug_info_data" \ | |
40 | --build-id cdd98cdd87f7fe64c13b6daad553987eafd40cbb |