Whoops, forgot to commit this yesterday:
[deliverable/binutils-gdb.git] / gdb / nlmread.c
index 0baf177ffb0c4fff2f4fc818b41872f29e6922db..e4c4970c8a6429a27ad4c2e448227b083d5d6e4a 100644 (file)
@@ -193,7 +193,7 @@ nlm_symfile_read (struct objfile *objfile, int mainline)
   stabsect_build_psymtabs (objfile, mainline, ".stab",
                           ".stabstr", ".text");
 
-  mainsym = lookup_symbol ("main", NULL, VAR_NAMESPACE, NULL, NULL);
+  mainsym = lookup_symbol (main_name (), NULL, VAR_NAMESPACE, NULL, NULL);
 
   if (mainsym
       && SYMBOL_CLASS (mainsym) == LOC_BLOCK)
This page took 0.023241 seconds and 4 git commands to generate.