aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2017-12-01 16:58:47 -0500
committerSergio Durigan Junior <sergiodj@redhat.com>2017-12-01 16:58:47 -0500
commit7f0f8ac8b15f5f5327116614b4137e5dd533ada2 (patch)
tree3222e4411f845b46423966547889920b775f62e7 /gdb/dwarf2read.c
parent7ef67ba53397c52a87375403aa614c52b94ccc73 (diff)
downloadgdb-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/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 78c663c..2572179 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -2319,9 +2319,6 @@ int
dwarf2_has_info (struct objfile *objfile,
const struct dwarf2_debug_sections *names)
{
- if (objfile->flags & OBJF_READNEVER)
- return 0;
-
dwarf2_per_objfile = ((struct dwarf2_per_objfile *)
objfile_data (objfile, dwarf2_objfile_data_key));
if (!dwarf2_per_objfile)