From 5f1e6f19499e47ced2f00e78919636e4f5279ae8 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 16 Feb 2011 21:02:29 +0000 Subject: [PATCH] * ax.h (struct aop_map) : Now const. --- gdb/ChangeLog | 4 ++++ gdb/ax.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fe6fec70d8..b3e9adc9f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-02-16 Tom Tromey + + * ax.h (struct aop_map) : Now const. + 2011-02-16 Tom Tromey * ax-gdb.c.c (gen_expr) : Handle value kinds other diff --git a/gdb/ax.h b/gdb/ax.h index cd1088d129..a5d722b556 100644 --- 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