diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-01-30 21:03:07 +0100 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-01-30 21:03:07 +0100 |
commit | 6cc91278afde97125a1fedb8c971feeca1805125 (patch) | |
tree | 52fff38f658513cb5033d7a6928f3ba12b5e84fe | |
parent | 66fbf2f2771f392e7090a29d2369413bd175fbf9 (diff) | |
download | elfutils-jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86.tar.gz |
-rw-r--r-- | libdwfl/linux-proc-maps.c | 3 | ||||
-rwxr-xr-x | tests/run-backtrace.sh | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/libdwfl/linux-proc-maps.c b/libdwfl/linux-proc-maps.c index feed6a11..a7503ca5 100644 --- a/libdwfl/linux-proc-maps.c +++ b/libdwfl/linux-proc-maps.c @@ -140,9 +140,6 @@ grovel_auxv (pid_t pid, Dwfl *dwfl, GElf_Addr *sysinfo_ehdr) bool valid64 = sysinfo_ehdr64 || segment_align64 != dwfl->segment_align; bool valid32 = sysinfo_ehdr32 || segment_align32 != dwfl->segment_align; - if (! valid64 && ! valid32) - return 0; - unsigned char pid_class = ELFCLASSNONE; if (valid64 && valid32) pid_class = get_pid_class (pid); diff --git a/tests/run-backtrace.sh b/tests/run-backtrace.sh index 2890b188..77a766f0 100755 --- a/tests/run-backtrace.sh +++ b/tests/run-backtrace.sh @@ -60,6 +60,7 @@ check_err() fi cat >&2 $1 echo >&2 $2: neither empty nor just out of DWARF + false } for child in backtrace-child{,-biarch}; do |