diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-02-17 00:37:20 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-04-30 10:36:56 +0100 |
commit | f1fdc960664c24d911d6189b94e5c054b4bb9053 (patch) | |
tree | d561d6e01f2adc4d032f35157eca9831f11c4357 /gdb/testsuite/gdb.fortran/ptype-on-functions.exp | |
parent | bf7a4de1722a63c8b017d010e75d5e9e5e622f36 (diff) | |
download | fsf-binutils-gdb-f1fdc960664c24d911d6189b94e5c054b4bb9053.zip fsf-binutils-gdb-f1fdc960664c24d911d6189b94e5c054b4bb9053.tar.gz fsf-binutils-gdb-f1fdc960664c24d911d6189b94e5c054b4bb9053.tar.bz2 |
gdb/fortran: Update rules for printing whitespace in types
The whitespace produced as types are printed seems inconsistent. This
commit updates the rules in an attempt to make whitespace more
balanced and consistent. Expected results are updated.
gdb/ChangeLog:
* f-typeprint.c (f_print_type): Update rules for printing
whitespace.
(f_type_print_varspec_suffix): Likewise.
gdb/testsuite/ChangeLog:
* gdb.fortran/ptr-indentation.exp: Update expected results.
* gdb.fortran/ptype-on-functions.exp: Likewise.
* gdb.fortran/vla-ptr-info.exp: Likewise.
* gdb.fortran/vla-value.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.fortran/ptype-on-functions.exp')
-rw-r--r-- | gdb/testsuite/gdb.fortran/ptype-on-functions.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.fortran/ptype-on-functions.exp b/gdb/testsuite/gdb.fortran/ptype-on-functions.exp index 4ce7862..5288286 100644 --- a/gdb/testsuite/gdb.fortran/ptype-on-functions.exp +++ b/gdb/testsuite/gdb.fortran/ptype-on-functions.exp @@ -42,4 +42,4 @@ gdb_test "ptype say_numbers" \ "type = void \\(integer\\(kind=4\\), integer\\(kind=4\\), integer\\(kind=4\\)\\)" gdb_test "ptype fun_ptr" \ - "type = PTR TO -> \\( integer\\(kind=4\\) \\(\\)\\(REF TO -> \\( integer\\(kind=4\\) \\)\\)\\)" + "type = PTR TO -> \\( integer\\(kind=4\\) \\(\\) \\(REF TO -> \\( integer\\(kind=4\\) \\)\\) \\)" |