aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-12-03 10:52:05 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-12-04 20:29:53 +0000
commit36c8fb93c9d4135ce3c1561f5f3886b1b0bf31f6 (patch)
treecc79ca29a04f21c9712ba4b9121170ddfdb84aab /gdb/linespec.c
parentc6170c2c141866bc3fd158db17a1e0b87b43ef07 (diff)
downloadgdb-36c8fb93c9d4135ce3c1561f5f3886b1b0bf31f6.zip
gdb-36c8fb93c9d4135ce3c1561f5f3886b1b0bf31f6.tar.gz
gdb-36c8fb93c9d4135ce3c1561f5f3886b1b0bf31f6.tar.bz2
gdb/fortran: Support for single/double type modifiers
Extend the Fortran parser to support 'single precision' and 'double precision' types as well 'single complex' and 'double complex' types. gdb/ChangeLog: * f-exp.y (COMPLEX_KEYWORD, SINGLE, DOUBLE, PRECISION): New tokens. (typebase): New patterns for complex, single/double precision, and single/double complex. (f77_keywords): Change token for complex keyword, and add single, double, and precision keywords. gdb/testsuite/ChangeLog: * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle casting to type with no kind specified. (test_basic_parsing_of_type_kinds): Additional tests for types with no kind specified, and add tests for single/double precision/complex types. Change-Id: I9c82f4d392c58607747bd08862c1ee330723a1ba
Diffstat (limited to 'gdb/linespec.c')
0 files changed, 0 insertions, 0 deletions