gdb/fortran: Add new function to evaluate Fortran expressions
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a35fc7c7f341a3b95e2d995820f7d2b0ed576dff..a632de69c373862853b63b762987991a52b38a5c 100644 (file)
@@ -1,3 +1,288 @@
+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
+       ATTRIBUTE_UNUSED_RESULT.
+       * common/common-defs.h (ATTRIBUTE_UNUSED_RESULT): Define.
+
+2019-03-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * xml-syscall.c (xml_list_syscalls_by_group): Drop 'struct' from
+       for-loop range, to avoid compiler warnings.
+
+       * tui/tui.c (tui_enable) [__MINGW32__]: Don't declare 'cap', to
+       avoid compiler warnings about unused variables.
+
+       * NEWS: Mention end of support for native debugging on MS-Windows
+       before XP.
+
+       PR gdb/24292
+       * common/netstuff.c:
+       * gdbserver/gdbreplay.c
+       * gdbserver/remote-utils.c:
+       * ser-tcp.c:
+       * unittests/parse-connection-spec-selftests.c [USE_WIN32API]:
+       Include ws2tcpip.h instead of wsiapi.h and winsock2.h.  Redefine
+       _WIN32_WINNT to 0x0501 if defined to a smaller value, as
+       'getaddrinfo' and 'freeaddrinfo' were not available before
+       Windows XP, and mingw.org's MinGW headers by default define
+       _WIN32_WINNT to 0x500.
+
+2019-03-01  Gary Benson <gbenson@redhat.com>
+
+       * coffread.c (coff_start_symtab): Remove unnecessary xstrdup.
+
+2019-02-28  Brian Vandenberg  <phantall@gmail.com>
+           Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR gdb/8527
+       * procfs.c (proc_wait_for_stop): Wrap write of PCWSTOP in
+       set_sigint_trap, clear_sigint_trap.
+
+2019-02-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * target.c (target_detach): Clear the regcache and the
+       frame cache.
+
+2019-02-27  Pedro Alves  <palves@redhat.com>
+
+       * utils.c (set_screen_size): When we cap the height/width sizes,
+       tweak the corresponding command variable to show "unlimited":
+
+2019-02-27  Saagar Jha  <saagar@saagarjha.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * utils.c (set_screen_size): Reduce "infinite" rows and columns
+       before calling rl_set_screen_size.
+
+2019-02-27  Tom Tromey  <tromey@adacore.com>
+
+       * configure.ac (HAVE_LIBPYTHON2_4, HAVE_LIBPYTHON2_5): Never
+       define.
+       * python/py-value.c: Remove Python 2.4 workaround.
+       * python/py-utils.c (gdb_pymodule_addobject): Remove Python 2.4
+       workaround.
+       * python/py-type.c (convert_field, gdbpy_initialize_types): Remove
+       Python 2.4 workaround.
+       * python/python-internal.h: Remove Python 2.4 comment.
+       (Py_ssize_t): Don't define.
+       (PyVarObject_HEAD_INIT, Py_TYPE): Don't define.
+       (gdb_Py_DECREF): Remove Python 2.4 workaround.
+       (gdb_PyObject_GetAttrString, PyObject_GetAttrString): Remove.
+       (gdb_PyObject_HasAttrString, PyObject_HasAttrString): Remove.
+       * python/python.c (do_start_initialization): Remove Python 2.4
+       workaround.
+       * python/py-prettyprint.c (class dummy_python_frame): Remove.
+       (print_children): Remove Python 2.4 workaround.
+       * python/py-inferior.c (buffer_procs): Remove Python 2.4
+       workaround.
+       (CHARBUFFERPROC_NAME): Remove.
+       * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Remove
+       Python 2.4 workaround.
+
+2019-02-27  Kevin Buettner  <kevinb@redhat.com>
+
+       * NEWS: Note minimum Python version.
+
+2019-02-27  Kevin Buettner  <kevinb@redhat.com>
+
+       * python/py-inferior.c (infpy_write_memory): Remove non-IS_PY3K
+       code from these functions.  Remove corresponding ifdefs.  Use
+       Py_buffer_up instead of explicit calls to PyBuffer_Release.
+       Remove gotos and target of gotos.
+       (infpy_search_memory): Likewise.
+
+2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb/hppa-tdep.c (hppa_dummy_id): Delete.
+       (hppa_gdbarch_init): Don't register deleted functions with
+       gdbarch.
+
+2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb/h8300-tdep.c (h8300_unwind_pc): Delete.
+       (h8300_unwind_sp): Delete.
+       (h8300_dummy_id): Delete.
+       (h8300_gdbarch_init): Don't register deleted functions with
+       gdbarch.
+
+2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb/ft32-tdep.c (ft32_dummy_id): Delete.
+       (ft32_unwind_pc): Delete.
+       (ft32_unwind_sp): Delete.
+       (ft32_gdbarch_init): Don't register deleted functions with
+       gdbarch.
+
+2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb/frv-tdep.c (frv_dummy_id): Delete.
+       (frv_unwind_pc): Delete.
+       (frv_unwind_sp): Delete.
+       (frv_gdbarch_init): Don't register deleted functions with
+       gdbarch.
+
+2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb/riscv-tdep.c (riscv_dummy_id): Delete.
+       (riscv_unwind_pc): Delete.
+       (riscv_unwind_sp): Delete.
+       (riscv_gdbarch_init): Don't register deleted functions with
+       gdbarch.
+
+2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb/csky-tdep.c (csky_dummy_id): Delete.
+       (csky_unwind_pc): Delete.
+       (csky_unwind_sp): Delete.
+       (csky_gdbarch_init): Don't register deleted functions with
+       gdbarch.
+
+2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb/cris-tdep.c (cris_dummy_id): Delete.
+       (cris_unwind_pc): Delete.
+       (cris_unwind_sp): Delete.
+       (cris_gdbarch_init): Don't register deleted functions with
+       gdbarch.
+
+2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb/bfin-tdep.c (bfin_dummy_id): Delete.
+       (bfin_unwind_pc): Delete.
+       (bfin_gdbarch_init): Don't register deleted functions with gdbarch.
+
 2019-02-27  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * gdb/arm-tdep.c (arm_dummy_id): Delete.
This page took 0.042693 seconds and 4 git commands to generate.