This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug corefiles/18187] New: gdb needs to write first page of segment to core file, even for unmodified segments


https://sourceware.org/bugzilla/show_bug.cgi?id=18187

            Bug ID: 18187
           Summary: gdb needs to write first page of segment to core file,
                    even for unmodified segments
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: corefiles
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

It's useful to record the contents of .note.gnu.build-id in core files,
e.g., to verify with the corresponding executable.

Currently gdb will skip writing readonly segments that it detects as being
unmodified.

While it's potentially impossible to find where .note.gnu.build-id lives,
a good heuristic is to just write the first (4K) page.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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