* 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:
parent
ed73195945
commit
ff355380ea
5 changed files with 13 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue