PR24520, gprof fails to read compressed debug data
authorAlan Modra <amodra@gmail.com>
Tue, 7 May 2019 23:55:25 +0000 (09:25 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 8 May 2019 00:10:07 +0000 (09:40 +0930)
PR 24520
* corefile.c (core_init): Set BFD_DECOMPRESS.

gprof/ChangeLog
gprof/corefile.c

index 9815b156127871ad76fd30275fedc3311b1c075e..f920961273cea7a14ccba7ce5256e16cc2aab68f 100644 (file)
@@ -1,3 +1,8 @@
+2019-05-08  Alan Modra  <amodra@gmail.com>
+
+       PR 24520
+       * corefile.c (core_init): Set BFD_DECOMPRESS.
+
 2019-04-01  Alan Modra  <amodra@gmail.com>
 
        PR 24402
index 3717d202940d503595a8f239c5172bdfa2f4d47a..3f350f5f6b2bd6c756868b3d03c226076000ad1b 100644 (file)
@@ -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);
This page took 0.026859 seconds and 4 git commands to generate.