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

"Frank Ch. Eigler via Binutils-cvs" <[email protected]>
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a2ceac895716f71daf67eca5b5897bf316500749

commit a2ceac895716f71daf67eca5b5897bf316500749
Author: Frank Ch. Eigler <[email protected]>
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 <[email protected]>

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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.