This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: elf.c assign_file_positions_for_segments


   Date: Fri, 24 Sep 2004 12:39:20 +0930
   From: Alan Modra <amodra@bigpond.net.au>

   On Fri, Sep 24, 2004 at 09:47:57AM +0930, Alan Modra wrote:
   > If we really don't need the SEC_HAS_CONTENTS test, then I'll take it out
   > and gdb gcore should be OK, otherwise I might ask you to clear
   > SEC_HAS_CONTENTS in gdb.

   I think it likely that the SEC_HAS_CONTENTS test is just a hack to work
   around another problem.  I'm applying the following to go back to the
   old behaviour.

Thanks.

   You might like to clear SEC_HAS_CONTENTS in gdb too, as it will result
   in needless file space being allocated.

I'll investigate this.  Can't say I completely understand what's
happening here, but I can always bother Michael Snyder with it, since
he wrote the initial gcore code.

Cheers,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]