From 9420801e573e77f0dd522150932eb27199052a04 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 8 May 2019 09:25:25 +0930 Subject: PR24520, gprof fails to read compressed debug data PR 24520 * corefile.c (core_init): Set BFD_DECOMPRESS. --- gprof/corefile.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gprof/corefile.c') diff --git a/gprof/corefile.c b/gprof/corefile.c index 3717d202940..3f350f5f6b2 100644 --- a/gprof/corefile.c +++ b/gprof/corefile.c @@ -186,6 +186,8 @@ core_init (const char * aout_name) done (1); } + core_bfd->flags |= BFD_DECOMPRESS; + if (!bfd_check_format (core_bfd, bfd_object)) { fprintf (stderr, _("%s: %s: not in executable format\n"), whoami, aout_name); -- cgit v1.2.1