aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.h
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-01-17 16:31:56 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-03-06 18:11:31 +0000
commit067630bdb553bb889104e3b064e4551531ddcedc (patch)
tree3327cbb47953a59b2d8628a20641bab91faac310 /gdb/f-lang.h
parent3be47f7aa99dc90190e642a4e191c9f049e0a934 (diff)
downloadgdb-067630bdb553bb889104e3b064e4551531ddcedc.zip
gdb-067630bdb553bb889104e3b064e4551531ddcedc.tar.gz
gdb-067630bdb553bb889104e3b064e4551531ddcedc.tar.bz2
gdb/fortran: Add builtin 8-byte integer type with (kind=8) support
Add a new builtin type, an 8-byte integer, and allow GDB to parse 'integer (kind=8)', returning the new 8-byte integer. gdb/ChangeLog: * f-exp.y (convert_to_kind_type): Handle integer (kind=8). * f-lang.c (build_fortran_types): Setup builtin_integer_s8. * f-lang.h (struct builtin_f_type): Add builtin_integer_s8 field. gdb/testsuite/ChangeLog: * gdb.fortran/type-kinds.exp: Test new integer type kind.
Diffstat (limited to 'gdb/f-lang.h')
-rw-r--r--gdb/f-lang.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/f-lang.h b/gdb/f-lang.h
index 5afafb1..746c11f 100644
--- a/gdb/f-lang.h
+++ b/gdb/f-lang.h
@@ -66,6 +66,7 @@ struct builtin_f_type
struct type *builtin_character;
struct type *builtin_integer;
struct type *builtin_integer_s2;
+ struct type *builtin_integer_s8;
struct type *builtin_logical;
struct type *builtin_logical_s1;
struct type *builtin_logical_s2;