gdb/fortran: Use TYPE_CODE_CHAR for character types
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7c4a06f83279ed8d6c34530eff614e6a9af0aa5b..e1fdda06aaa84c5922cf739d6a475b2462cd3af0 100644 (file)
@@ -1,3 +1,86 @@
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * f-lang.c (build_fortran_types): Use TYPE_CODE_CHAR for character
+       types.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * 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.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * f-exp.y (convert_to_kind_type): Handle more type kinds.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+           Chris January  <chris.january@arm.com>
+
+       * expprint.c (dump_subexp_body_standard): Support UNOP_KIND.
+       * f-exp.y: Define 'KIND' token.
+       (exp): New pattern for KIND expressions.
+       (ptype): Handle types with a kind extension.
+       (direct_abs_decl): Extend to spot kind extensions.
+       (f77_keywords): Add 'kind' to the list.
+       (push_kind_type): New function.
+       (convert_to_kind_type): New function.
+       * f-lang.c (evaluate_subexp_f): Support UNOP_KIND.
+       * parse.c (operator_length_standard): Likewise.
+       * parser-defs.h (enum type_pieces): Add tp_kind.
+       * std-operator.def: Add UNOP_KIND.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * f-exp.y (f_parse): Set yydebug.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * f-lang.c (evaluate_subexp_f): New function.
+       (exp_descriptor_f): New global.
+       (f_language_defn): Use exp_descriptor_f instead of
+       exp_descriptor_standard.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * f-exp.y (struct token): Add comments.
+       (dot_ops): Remove uppercase versions and the end marker.
+       (f77_keywords): Likewise.
+       (yylex): Use ARRAY_SIZE to iterate over dot_ops, assert all
+       entries in the dot_ops array are case insensitive, and use
+       strncasecmp to compare strings.  Also some whitespace cleanup in
+       this area.  Similar for the f77_keywords array, except entries in
+       this list might be case sensitive.
+
+2019-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * f-exp.y (struct f77_boolean_val): Add comments.
+       (boolean_values): Remove uppercase versions, and end marker.
+       (yylex): Use ARRAY_SIZE for iterating over boolean_values array,
+       and use strncasecmp to achieve case insensitivity.  Additionally,
+       perform whitespace cleanup around this code.
+
+2019-03-06  Tom Tromey  <tromey@adacore.com>
+
+       * remote-sim.c (gdbsim_target_open): Use result of
+       gdb_argv::release.
+
+2019-03-06  Richard Bunt  <richard.bunt@arm.com>
+       Dirk Schubert  <dirk.schubert@arm.com>
+       Chris January  <chris.january@arm.com>
+
+       * eval.c (evaluate_subexp_standard): Call Fortran argument
+       wrapping logic.
+       * f-lang.c (struct value): A value which can be passed into a
+       Fortran function call.
+       (fortran_argument_convert): Wrap Fortran arguments in a pointer
+       where appropriate.
+       (struct type): Value ready for a Fortran function call.
+       (fortran_preserve_arg_pointer): Undo check_typedef, the pointer
+       is needed.
+       * f-lang.h (fortran_argument_convert): Declaration.
+       (fortran_preserve_arg_pointer): Declaration.
+       * infcall.c (value_arg_coerce): Call Fortran argument logic.
+
 2019-03-05  Tom Tromey  <tromey@adacore.com>
 
        * python/py-prettyprint.c (print_string_repr): Remove #if.
This page took 0.026517 seconds and 4 git commands to generate.