]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/breakpoint.c
constify struct block in some places
[thirdparty/binutils-gdb.git] / gdb / breakpoint.c
index f3e628362fd3f0220a3debd9a9901071a0d1c740..c2e0aedc6c2c978eb77ed91ddf80a0471d571e2c 100644 (file)
@@ -10105,7 +10105,7 @@ resolve_sal_pc (struct symtab_and_line *sal)
   if (sal->section == 0 && sal->symtab != NULL)
     {
       struct blockvector *bv;
-      struct block *b;
+      const struct block *b;
       struct symbol *sym;
 
       bv = blockvector_for_pc_sect (sal->pc, 0, &b, sal->symtab);