diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-07-08 20:42:15 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-07-08 20:42:15 +0000 |
commit | 090a2205b5e921ae177193783a0a2614ea842d09 (patch) | |
tree | 58fde486005ec64f877d174f4ae8007ec319bf40 /gdb/gdbtypes.c | |
parent | 8059d5aa1c46fa62c37add1bf7627ad5c7583cb4 (diff) | |
download | ppe42-binutils-090a2205b5e921ae177193783a0a2614ea842d09.tar.gz ppe42-binutils-090a2205b5e921ae177193783a0a2614ea842d09.zip |
* gdbtypes.h (builtin_type_void_data_ptr): Rename
builtin_type_ptr.
* gdbtypes.c (builtin_type_void_data_ptr): Update.
(build_gdbtypes): Update.
(_initialize_gdbtypes): Update.
* values.c (value_as_pointer): Update.
* utils.c (host_pointer_to_address): Update.
(address_to_host_pointer): Update.
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r-- | gdb/gdbtypes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index f2fed5f548..cfb5ffc4d2 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -73,7 +73,7 @@ struct type *builtin_type_v4si; struct type *builtin_type_v8qi; struct type *builtin_type_v4hi; struct type *builtin_type_v2si; -struct type *builtin_type_ptr; +struct type *builtin_type_void_data_ptr; struct type *builtin_type_void_func_ptr; struct type *builtin_type_CORE_ADDR; struct type *builtin_type_bfd_vma; @@ -2956,7 +2956,7 @@ build_gdbtypes (void) target type for a value the target will never see. It's only used to hold the values of (typeless) linker symbols, which are indeed in the unified virtual address space. */ - builtin_type_ptr = make_pointer_type (builtin_type_void, NULL); + builtin_type_void_data_ptr = make_pointer_type (builtin_type_void, NULL); builtin_type_void_func_ptr = lookup_pointer_type (lookup_function_type (builtin_type_void)); builtin_type_CORE_ADDR = @@ -3011,7 +3011,7 @@ _initialize_gdbtypes (void) register_gdbarch_swap (&builtin_type_v8qi, sizeof (struct type *), NULL); register_gdbarch_swap (&builtin_type_v4hi, sizeof (struct type *), NULL); register_gdbarch_swap (&builtin_type_v2si, sizeof (struct type *), NULL); - REGISTER_GDBARCH_SWAP (builtin_type_ptr); + REGISTER_GDBARCH_SWAP (builtin_type_void_data_ptr); REGISTER_GDBARCH_SWAP (builtin_type_void_func_ptr); REGISTER_GDBARCH_SWAP (builtin_type_CORE_ADDR); REGISTER_GDBARCH_SWAP (builtin_type_bfd_vma); |