aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.c
diff options
context:
space:
mode:
authorNils-Christian Kempke <nils-christian.kempke@intel.com>2022-04-11 14:06:55 +0200
committerNils-Christian Kempke <nils-christian.kempke@intel.com>2022-04-11 14:06:55 +0200
commitd4c948427dea866c6afb8d9ec7cf1f05dd1c9623 (patch)
treee576be7a3ef4a0feccf9f9f2591eaf63d884752e /gdb/f-lang.c
parent04f4c17c7a14ebb6c2212267b2ebc83f1376fe20 (diff)
downloadgdb-d4c948427dea866c6afb8d9ec7cf1f05dd1c9623.zip
gdb-d4c948427dea866c6afb8d9ec7cf1f05dd1c9623.tar.gz
gdb-d4c948427dea866c6afb8d9ec7cf1f05dd1c9623.tar.bz2
gdb/f-lang: add Integer*1 to Fortran builtin types
Add builtin_integer_s1 of size TARGET_CHAR_BIT to Fortran builtin types.
Diffstat (limited to 'gdb/f-lang.c')
-rw-r--r--gdb/f-lang.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/f-lang.c b/gdb/f-lang.c
index 72dd136..1f95ae8 100644
--- a/gdb/f-lang.c
+++ b/gdb/f-lang.c
@@ -1622,6 +1622,10 @@ build_fortran_types (struct gdbarch *gdbarch)
builtin_f_type->builtin_logical_s1
= arch_boolean_type (gdbarch, TARGET_CHAR_BIT, 1, "logical*1");
+ builtin_f_type->builtin_integer_s1
+ = arch_integer_type (gdbarch, TARGET_CHAR_BIT, 0,
+ "integer*1");
+
builtin_f_type->builtin_integer_s2
= arch_integer_type (gdbarch, gdbarch_short_bit (gdbarch), 0,
"integer*2");