Replace ../include/wait.h with gdb_wait.h.
[deliverable/binutils-gdb.git] / gdb / dwarfread.c
index bc6f137f73e1ab5d76bc1ad1f1f708dffbea59a9..18727c2b923024b162ea60de4bdf3efb6ecd87c7 100644 (file)
@@ -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;
This page took 0.023507 seconds and 4 git commands to generate.