Split struct symtab into two: struct symtab and compunit_symtab.
[deliverable/binutils-gdb.git] / gdb / breakpoint.c
index 1c0a417bd1ad62c940df5b50b85960a53abac9c7..b19d198db447e56c1b63d0f4779d83adda83dc0d 100644 (file)
@@ -10204,7 +10204,8 @@ resolve_sal_pc (struct symtab_and_line *sal)
       const struct block *b;
       struct symbol *sym;
 
-      bv = blockvector_for_pc_sect (sal->pc, 0, &b, sal->symtab);
+      bv = blockvector_for_pc_sect (sal->pc, 0, &b,
+                                   SYMTAB_COMPUNIT (sal->symtab));
       if (bv != NULL)
        {
          sym = block_linkage_function (b);
This page took 0.027074 seconds and 4 git commands to generate.