[binutils-gdb] gprof support for split debuginfo, tweak

Frank Ch. Eigler fche@sourceware.org
Thu Apr 30 17:22:01 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a2ceac895716f71daf67eca5b5897bf316500749

commit a2ceac895716f71daf67eca5b5897bf316500749
Author: Frank Ch. Eigler <fche@redhat.com>
Date:   Thu Apr 30 13:19:58 2026 -0400

    gprof support for split debuginfo, tweak
    
    * gprof/corefile.c: Remove BFD_DECOMPRESS conditional, as per amodra.
    
    Signed-off-by: Frank Ch. Eigler <fche@redhat.com>

Diff:
---
 gprof/corefile.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gprof/corefile.c b/gprof/corefile.c
index a6bbb6d45ea..c7290fbf6b6 100644
--- a/gprof/corefile.c
+++ b/gprof/corefile.c
@@ -207,11 +207,6 @@ open_separated_debug_file (bfd *abfd)
 	{
 	  if (bfd_check_format (debug_bfd, bfd_object))
 	    {
-	      /* Successfully opened the debug file.
-	         Enable decompression on the debug file.  */
-	      if ((debug_bfd->flags & BFD_DECOMPRESS) == 0)
-		debug_bfd->flags |= BFD_DECOMPRESS;
-
 	      /* Store the debug BFD for use during symbol reading.
 	         We'll use this for bfd_canonicalize_symtab and other symbol ops.  */
 	      core_debug_bfd = debug_bfd;


More information about the Binutils-cvs mailing list