summaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.h
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-12-11 20:19:39 +0000
committerKevin Buettner <kevinb@redhat.com>2002-12-11 20:19:39 +0000
commite5fc55c6e1effbe778f15fa111c10fa0c225406f (patch)
treeaaad943a438af435fd727ee90144d4fe36a4350e /gdb/gdbtypes.h
parentabbe907663177c52e1615851429bab5da115bbb7 (diff)
downloadgdb-e5fc55c6e1effbe778f15fa111c10fa0c225406f.tar.gz
* gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME)
(ADDRESS_CLASS_NAME_TO_TYPE_FLAGS): Use ``const char *'' instead of ``char *'' for return and parameter types. * gdbarch.h, gdbarch.c: Regenerate. * gdbtypes.h, gdbtypes.c (address_space_int_to_name): Change return type from ``char *'' to ``const char *''. * c-typeprint.c (c_type_print_modifier): Make ``address_space_id'' const.
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 fe4b0f12bdc..69f8cdb3df4 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -1096,7 +1096,7 @@ extern void replace_type (struct type *, struct type *);
extern int address_space_name_to_int (char *);
-extern char *address_space_int_to_name (int);
+extern const char *address_space_int_to_name (int);
extern struct type *make_type_with_address_space (struct type *type,
int space_identifier);