diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2017-12-01 16:58:47 -0500 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2017-12-01 16:58:47 -0500 |
commit | 7f0f8ac8b15f5f5327116614b4137e5dd533ada2 (patch) | |
tree | 3222e4411f845b46423966547889920b775f62e7 /gdb/elfread.c | |
parent | 7ef67ba53397c52a87375403aa614c52b94ccc73 (diff) | |
download | gdb-7f0f8ac8b15f5f5327116614b4137e5dd533ada2.zip gdb-7f0f8ac8b15f5f5327116614b4137e5dd533ada2.tar.gz gdb-7f0f8ac8b15f5f5327116614b4137e5dd533ada2.tar.bz2 |
Revert "Add support for the readnever concept"
This reverts commit e2e321740ce2e36a97be2a410cd56eebaa2304aa.
It was mistakenly pushed.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r-- | gdb/elfread.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c index b806ca3..f248302 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -1171,8 +1171,7 @@ elf_symfile_read (struct objfile *objfile, symfile_add_flags symfile_flags) struct elfinfo ei; memset ((char *) &ei, 0, sizeof (ei)); - if (!(objfile->flags & OBJF_READNEVER)) - bfd_map_over_sections (abfd, elf_locate_sections, (void *) & ei); + bfd_map_over_sections (abfd, elf_locate_sections, (void *) & ei); elf_read_minimal_symbols (objfile, symfile_flags, &ei); |