summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-01-30 21:03:59 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-01-30 21:03:59 +0100
commit990325a242dec982a906a34ce063b390530e5bb1 (patch)
tree29f773e58cbecf37e1527ca86c82b532fd0557ff
parent3d64327cf0d06cba090e9f734381ced18291c569 (diff)
parent470f30163de289a1952f2f8773455ac3e91f51b1 (diff)
downloadelfutils-jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo.tar.gz
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfojankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86-fddebuginfo
-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