gdb/fortran: Use TYPE_CODE_CHAR for character types
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index fae7ec0a8043d190b5c94efa931468645a81243a..e1fdda06aaa84c5922cf739d6a475b2462cd3af0 100644 (file)
@@ -1,3 +1,170 @@
+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.
+       * python/py-utils.c (unicode_to_encoded_string): Remove #if.
+
+2019-03-05  Tom Tromey  <tromey@adacore.com>
+
+       * target.c (the_dummy_target): Move later.  Change type to
+       "dummy_target".
+       (initialize_targets): Don't initialize the_dummy_target.
+
+2019-03-05  Tom Tromey  <tromey@adacore.com>
+
+       * gdb_bfd.c (gdb_bfd_fdopenr): Remove.
+       * gdb_bfd.h (gdb_bfd_fdopenr): Don't declare.
+
+2019-03-05  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (windows_nat_target::attach)
+       (windows_nat_target::detach): Don't call gdb_flush.
+       * valprint.c (generic_val_print, val_print, val_print_string):
+       Don't call gdb_flush.
+       * utils.c (defaulted_query): Don't call gdb_flush.
+       * typeprint.c (print_type_scalar): Don't call gdb_flush.
+       * target.c (target_announce_detach): Don't call gdb_flush.
+       * sparc64-tdep.c (adi_print_versions): Don't call gdb_flush.
+       * remote.c (extended_remote_target::attach): Don't call
+       gdb_flush.
+       * procfs.c (procfs_target::detach): Don't call gdb_flush.
+       * printcmd.c (do_examine): Don't call gdb_flush.
+       (info_display_command): Don't call gdb_flush.
+       * p-valprint.c (pascal_val_print): Don't call gdb_flush.
+       * nto-procfs.c (nto_procfs_target::attach): Don't call gdb_flush.
+       * memattr.c (info_mem_command): Don't call gdb_flush.
+       * mdebugread.c (mdebug_build_psymtabs): Don't call gdb_flush.
+       * m2-valprint.c (m2_val_print): Don't call gdb_flush.
+       * infrun.c (follow_exec, handle_command): Don't call gdb_flush.
+       * inf-ptrace.c (inf_ptrace_target::attach): Don't call gdb_flush.
+       * hppa-tdep.c (unwind_command): Don't call gdb_flush.
+       * gnu-nat.c (gnu_nat_target::attach): Don't call gdb_flush.
+       (gnu_nat_target::detach): Don't call gdb_flush.
+       * f-valprint.c (f_val_print): Don't call gdb_flush.
+       * darwin-nat.c (darwin_nat_target::attach): Don't call gdb_flush.
+       * cli/cli-script.c (read_command_lines): Don't call gdb_flush.
+       * cli/cli-cmds.c (shell_escape, print_disassembly): Don't call
+       gdb_flush.
+       * c-valprint.c (c_val_print): Don't call gdb_flush.
+       * ada-valprint.c (ada_print_scalar): Don't call gdb_flush.
+
+2019-03-05  Tom Tromey  <tromey@adacore.com>
+
+       * varobj.c (update_dynamic_varobj_children): Update.
+       (install_default_visualizer): Use reset, not release.
+       * value.c (set_internalvar): Update.
+       * dwarf2loc.c (value_of_dwarf_reg_entry): Update.
+       * common/gdb_ref_ptr.h (class ref_ptr) <release>: Add
+       ATTRIBUTE_UNUSED_RESULT.
+
+2019-03-05  Tom Tromey  <tromey@adacore.com>
+
+       * remote.c (class scoped_remote_fd) <release>: Add
+       ATTRIBUTE_UNUSED_RESULT.
+
+2019-03-05  Tom Tromey  <tromey@adacore.com>
+
+       * macroexp.c (struct macro_buffer) <release>: Add
+       ATTRIBUTE_UNUSED_RESULT.
+
+2019-03-05  Tom Tromey  <tromey@adacore.com>
+
+       * nat/linux-btrace.c (linux_enable_bts, linux_enable_pt): Update.
+       * common/scoped_mmap.h (class scoped_mmap) <release>: Add
+       ATTRIBUTE_UNUSED_RESULT.
+
+2019-03-05  Tom Tromey  <tromey@adacore.com>
+
+       * common/scoped_fd.h (class scoped_fd) <release>: Add
+       ATTRIBUTE_UNUSED_RESULT.
+
+2019-03-05  Tom Tromey  <tromey@adacore.com>
+
+       * parser-defs.h (struct parser_state) <release>: Add
+       ATTRIBUTE_UNUSED_RESULT.
+
 2019-03-05  Tom Tromey  <tromey@adacore.com>
 
        * utils.h (class gdb_argv) <release>: Add
This page took 0.026426 seconds and 4 git commands to generate.