mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
gdb/
* gcore.c (gcore_create_callback): Ignore sections with separate_debug_objfile_backlink != NULL.
This commit is contained in:
@@ -428,8 +428,9 @@ gcore_create_callback (CORE_ADDR vaddr, unsigned long size, int read,
|
||||
|
||||
This BFD was synthesized from reading target memory,
|
||||
we don't want to omit that. */
|
||||
if (((vaddr >= start && vaddr + size <= end)
|
||||
|| (start >= vaddr && end <= vaddr + size))
|
||||
if (objfile->separate_debug_objfile_backlink == NULL
|
||||
&& ((vaddr >= start && vaddr + size <= end)
|
||||
|| (start >= vaddr && end <= vaddr + size))
|
||||
&& !(bfd_get_file_flags (abfd) & BFD_IN_MEMORY))
|
||||
{
|
||||
flags &= ~(SEC_LOAD | SEC_HAS_CONTENTS);
|
||||
|
||||
Reference in New Issue
Block a user