* dwarf2read.c (dwarf2_add_field): Constify.

* value.c (value_static_field): Constify.
	* gdbtypes.h (struct main_type) <field.field_location.physname>:
	Now const.
	* ax-gdb.c (gen_static_field): Constify
This commit is contained in:
Tom Tromey 2011-05-18 20:19:52 +00:00
parent ed73195945
commit ff355380ea
5 changed files with 13 additions and 5 deletions

View file

@ -509,7 +509,7 @@ struct main_type
Otherwise, physname is the mangled label of the static field. */
CORE_ADDR physaddr;
char *physname;
const char *physname;
}
loc;