summaryrefslogtreecommitdiff
path: root/gdb/dwarfread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r--gdb/dwarfread.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c
index bc6f137f73e..18727c2b923 100644
--- a/gdb/dwarfread.c
+++ b/gdb/dwarfread.c
@@ -1866,11 +1866,6 @@ read_func_scope (dip, thisdie, enddie, objfile)
objfile->ei.entry_func_lowpc = dip->at_low_pc;
objfile->ei.entry_func_highpc = dip->at_high_pc;
}
- if (STREQ (dip->at_name, "main")) /* FIXME: hardwired name */
- {
- objfile->ei.main_func_lowpc = dip->at_low_pc;
- objfile->ei.main_func_highpc = dip->at_high_pc;
- }
new = push_context (0, dip->at_low_pc);
new->name = new_symbol (dip, objfile);
list_in_scope = &local_symbols;