symtab.c (basic_lookup_symbol_nonlocal): Add comment.
[deliverable/binutils-gdb.git] / gdb / spu-tdep.c
index 6b46df1197e9a9b1f5092a49dff799c22e193a43..30e569f2e123b244e6f58912247e5fc2d16250e2 100644 (file)
@@ -24,7 +24,6 @@
 #include "gdbtypes.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
-#include <string.h>
 #include "frame.h"
 #include "frame-unwind.h"
 #include "frame-base.h"
@@ -45,7 +44,6 @@
 #include "dwarf2.h"
 #include "dwarf2-frame.h"
 #include "ax.h"
-#include "exceptions.h"
 #include "spu-tdep.h"
 
 
@@ -1989,7 +1987,7 @@ spu_catch_start (struct objfile *objfile)
       struct symbol *sym;
       struct symtab_and_line sal;
 
-      sym = lookup_block_symbol (block, "main", VAR_DOMAIN);
+      sym = block_lookup_symbol (block, "main", VAR_DOMAIN);
       if (sym)
        {
          fixup_symbol_section (sym, objfile);
This page took 0.024547 seconds and 4 git commands to generate.