summaryrefslogtreecommitdiff
path: root/libdwfl/find-debuginfo.c
diff options
context:
space:
mode:
authorAaron Merey <amerey@redhat.com>2019-05-28 16:45:34 -0400
committerAaron Merey <amerey@redhat.com>2019-05-28 16:45:34 -0400
commit8e9043248b80dae63592022b960c2b73ff36d13b (patch)
tree58a1c5b85e90567ad442a2e9d321a15efbfb8588 /libdwfl/find-debuginfo.c
parent20337c684e09c572837fe623552968d737cb2b63 (diff)
downloadelfutils-8e9043248b80dae63592022b960c2b73ff36d13b.tar.gz
libdwfl/debuginfoserver-client.c: dbgserver_find_debuginfo now
attempts to fetch debuginfo from $DEBUGINFO_SERVER url. libdwfl/find-debuginfo.c: assign fd returned by dbgserver_find_debuginfo.
Diffstat (limited to 'libdwfl/find-debuginfo.c')
-rw-r--r--libdwfl/find-debuginfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdwfl/find-debuginfo.c b/libdwfl/find-debuginfo.c
index 6371c253..9e85a275 100644
--- a/libdwfl/find-debuginfo.c
+++ b/libdwfl/find-debuginfo.c
@@ -402,7 +402,7 @@ dwfl_standard_find_debuginfo (Dwfl_Module *mod,
/* If all else fails and a build-id is available, query the
debuginfo-server if enabled. */
if (fd < 0 && bits_len > 0 && dbgserver_enabled())
- dbgserver_find_debuginfo(bits, bits_len);
+ fd = dbgserver_find_debuginfo(bits, bits_len);
return fd;
}