summaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-05-18 20:19:44 +0000
committerTom Tromey <tromey@redhat.com>2011-05-18 20:19:44 +0000
commitb0bee2113ed643c1c931511ada9ec1e2766c63b0 (patch)
tree534f63e7c50fa42b1e72ecd26b30859e0ba4286c /gdb/gdbtypes.h
parentb07c110f9c84461fc496eb4a862b10e6e8c1d22f (diff)
downloadgdb-b0bee2113ed643c1c931511ada9ec1e2766c63b0.tar.gz
* 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
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r--gdb/gdbtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index f771bed46f8..60da35b0d3a 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -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;