aboutsummaryrefslogtreecommitdiff
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
commit321432c0c6c6849c0e924f65422fe4a92b1b6907 (patch)
tree63db1c1b6dd16fb6ff62189a8200f03dfdb3aecd /gdb/gdbtypes.h
parenta23b6e6a0ad4098759968bf2c666357d5dd08c22 (diff)
downloadgdb-321432c0c6c6849c0e924f65422fe4a92b1b6907.zip
gdb-321432c0c6c6849c0e924f65422fe4a92b1b6907.tar.gz
gdb-321432c0c6c6849c0e924f65422fe4a92b1b6907.tar.bz2
* 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 fe4b0f1..69f8cdb 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);