summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-01-30 21:03:48 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-01-30 21:03:48 +0100
commit470f30163de289a1952f2f8773455ac3e91f51b1 (patch)
treed85ef8eac7aa6e113c3c0d1beb5d53b81ad425c0
parent68100ddb52e12dd004c1c8b302bca00c8f7b210a (diff)
parent6cc91278afde97125a1fedb8c971feeca1805125 (diff)
downloadelfutils-jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86.tar.gz
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86
-rw-r--r--libdwfl/linux-proc-maps.c3
-rwxr-xr-xtests/run-backtrace.sh1
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 0d1e7370..60c177dd 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