mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
gdb/
* gcore.c (gcore_create_callback): Ignore sections with separate_debug_objfile_backlink != NULL.
This commit is contained in:
parent
2dd6254d53
commit
0c01335354
@ -1,3 +1,8 @@
|
||||
2013-05-07 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* gcore.c (gcore_create_callback): Ignore sections with
|
||||
separate_debug_objfile_backlink != NULL.
|
||||
|
||||
2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
|
||||
Andrew Jenner <andrew@codesourcery.com>
|
||||
Chung-Lin Tang <cltang@codesourcery.com>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user