summaryrefslogtreecommitdiff
path: root/gprof/corefile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/corefile.c')
-rw-r--r--gprof/corefile.c2
1 files changed, 2 insertions, 0 deletions
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);