]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ax-gdb.c
constify struct block in some places
[thirdparty/binutils-gdb.git] / gdb / ax-gdb.c
index b77716dd9a80fef6cbea41ddfd3bd8891f6ff18b..f359317f55c27f0e4af519b25928b5c479e42325 100644 (file)
@@ -2188,7 +2188,7 @@ gen_expr (struct expression *exp, union exp_element **pc,
     case OP_THIS:
       {
        struct symbol *sym, *func;
-       struct block *b;
+       const struct block *b;
        const struct language_defn *lang;
 
        b = block_for_pc (ax->scope);