aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-23 21:05:40 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-23 21:05:40 +0000
commit449a5da47c55d448f0fc820d3e76c2100f496ab6 (patch)
tree470409157a9e787f96cf8eca46d9174dac72e1bd /gdb/gdbtypes.h
parent12f0bd746aae4e06c9db120d85e8c42fe6ad9791 (diff)
downloadbinutils-449a5da47c55d448f0fc820d3e76c2100f496ab6.zip
binutils-449a5da47c55d448f0fc820d3e76c2100f496ab6.tar.gz
binutils-449a5da47c55d448f0fc820d3e76c2100f496ab6.tar.bz2
2003-06-23 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases for 0 "int0" and 4 "int32" sized registers. * gdbtypes.c (builtin_type_int0): Define. (build_gdbtypes): Initialize builtin_type_int0. * gdbtypes.h (builtin_type_int0): Declare.
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r--gdb/gdbtypes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 847e23a..e7d755a 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -956,7 +956,10 @@ extern struct type *builtin_type_CORE_ADDR;
(cf MIPS). */
extern struct type *builtin_type_bfd_vma;
-/* Explicit sizes - see C9X <intypes.h> for naming scheme */
+/* Explicit sizes - see C9X <intypes.h> for naming scheme. The "int0"
+ is for when an architecture needs to describe a register that has
+ no size. */
+extern struct type *builtin_type_int0;
extern struct type *builtin_type_int8;
extern struct type *builtin_type_uint8;
extern struct type *builtin_type_int16;