* ax.h (struct aop_map) <name>: Now const.
authorTom Tromey <tromey@redhat.com>
Wed, 16 Feb 2011 21:02:29 +0000 (21:02 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 16 Feb 2011 21:02:29 +0000 (21:02 +0000)
gdb/ChangeLog
gdb/ax.h

index fe6fec7..b3e9adc 100644 (file)
@@ -1,5 +1,9 @@
 2011-02-16  Tom Tromey  <tromey@redhat.com>
 
+       * ax.h (struct aop_map) <name>: Now const.
+
+2011-02-16  Tom Tromey  <tromey@redhat.com>
+
        * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
        than axs_rvalue.
 
index cd1088d..a5d722b 100644 (file)
--- a/gdb/ax.h
+++ b/gdb/ax.h
@@ -274,7 +274,7 @@ struct aop_map
 
     /* The name of the opcode.  Null means that this entry is not a
        valid opcode --- a hole in the opcode space.  */
-    char *name;
+    const char *name;
 
     /* All opcodes take no operands from the bytecode stream, or take
        unsigned integers of various sizes.  If this is a positive number