diff options
author | Tom Tromey <tromey@redhat.com> | 2011-02-16 21:02:29 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-02-16 21:02:29 +0000 |
commit | 5f1e6f19499e47ced2f00e78919636e4f5279ae8 (patch) | |
tree | 4ceeef48220a2eae6eca6399ddbf3140a542ee3d | |
parent | 73f2a3d2e98248a9cb662b2088f8bb4bc013c3f7 (diff) | |
download | gdb-5f1e6f19499e47ced2f00e78919636e4f5279ae8.zip gdb-5f1e6f19499e47ced2f00e78919636e4f5279ae8.tar.gz gdb-5f1e6f19499e47ced2f00e78919636e4f5279ae8.tar.bz2 |
* ax.h (struct aop_map) <name>: Now const.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/ax.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fe6fec7..b3e9adc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. @@ -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 |