X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=e1fdda06aaa84c5922cf739d6a475b2462cd3af0;hb=4a270568d93263e4970099456b4efb58466134a6;hp=6a7974482e191b2fbec145e3b68e986434fa03a9;hpb=07bc701d03167b8006835da583a03d98177cd4b6;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6a7974482e..e1fdda06aa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,433 @@ +2019-03-06 Andrew Burgess + + * f-lang.c (build_fortran_types): Use TYPE_CODE_CHAR for character + types. + +2019-03-06 Andrew Burgess + + * 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 + + * f-exp.y (convert_to_kind_type): Handle more type kinds. + +2019-03-06 Andrew Burgess + Chris January + + * 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 + + * f-exp.y (f_parse): Set yydebug. + +2019-03-06 Andrew Burgess + + * 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 + + * 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 + + * 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 + + * remote-sim.c (gdbsim_target_open): Use result of + gdb_argv::release. + +2019-03-06 Richard Bunt + Dirk Schubert + Chris January + + * 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 + + * python/py-prettyprint.c (print_string_repr): Remove #if. + * python/py-utils.c (unicode_to_encoded_string): Remove #if. + +2019-03-05 Tom Tromey + + * 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 + + * gdb_bfd.c (gdb_bfd_fdopenr): Remove. + * gdb_bfd.h (gdb_bfd_fdopenr): Don't declare. + +2019-03-05 Tom Tromey + + * 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 + + * 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) : Add + ATTRIBUTE_UNUSED_RESULT. + +2019-03-05 Tom Tromey + + * remote.c (class scoped_remote_fd) : Add + ATTRIBUTE_UNUSED_RESULT. + +2019-03-05 Tom Tromey + + * macroexp.c (struct macro_buffer) : Add + ATTRIBUTE_UNUSED_RESULT. + +2019-03-05 Tom Tromey + + * nat/linux-btrace.c (linux_enable_bts, linux_enable_pt): Update. + * common/scoped_mmap.h (class scoped_mmap) : Add + ATTRIBUTE_UNUSED_RESULT. + +2019-03-05 Tom Tromey + + * common/scoped_fd.h (class scoped_fd) : Add + ATTRIBUTE_UNUSED_RESULT. + +2019-03-05 Tom Tromey + + * parser-defs.h (struct parser_state) : Add + ATTRIBUTE_UNUSED_RESULT. + +2019-03-05 Tom Tromey + + * utils.h (class gdb_argv) : Add + ATTRIBUTE_UNUSED_RESULT. + * common/common-defs.h (ATTRIBUTE_UNUSED_RESULT): Define. + +2019-03-02 Eli Zaretskii + + * 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 + + * coffread.c (coff_start_symtab): Remove unnecessary xstrdup. + +2019-02-28 Brian Vandenberg + Rainer Orth + + 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 + + * target.c (target_detach): Clear the regcache and the + frame cache. + +2019-02-27 Pedro Alves + + * 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 + Pedro Alves + + * utils.c (set_screen_size): Reduce "infinite" rows and columns + before calling rl_set_screen_size. + +2019-02-27 Tom Tromey + + * 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 + + * NEWS: Note minimum Python version. + +2019-02-27 Kevin Buettner + + * 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 + + * gdb/hppa-tdep.c (hppa_dummy_id): Delete. + (hppa_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-02-27 Andrew Burgess + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * gdb/arm-tdep.c (arm_dummy_id): Delete. + (arm_unwind_pc): Delete. + (arm_unwind_sp): Delete. + (arm_gdbarch_init): Don't register deleted functions with gdbarch. + +2019-02-27 Andrew Burgess + + * gdb/arc-tdep.c (arc_dummy_id): Delete. + (arc_unwind_pc): Delete. + (arc_unwind_sp): Delete. + (arc_gdbarch_init): Don't register deleted functions with gdbarch. + +2019-02-27 Andrew Burgess + + * gdb/alpha-tdep.c (alpha_dummy_id): Delete. + (alpha_unwind_pc): Delete. + (alpha_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-02-27 Andrew Burgess + + * gdb/aarch64-tdep.c (aarch64_dummy_id): Delete. + (aarch64_unwind_pc): Delete. + (aarch64_unwind_sp): Delete. + (aarch64_gdbarch_init): Don't register deleted functions with + gdbarch. + +2019-02-27 Andrew Burgess + + * gdbtypes.c (type_align): Don't consider static members when + computing structure alignment. + +2019-02-27 Andrew Burgess + + * arc-tdep.c (arc_type_align): Provide alignment for basic types, + return 0 for other types. + * arch-utils.c (default_type_align): Always return 0. + * gdbarch.h: Regenerate. + * gdbarch.sh (type_align): Extend comment. + * gdbtypes.c (type_align): Add additional comments, always call + gdbarch_type_align before applying the default rules. + * i386-tdep.c (i386_type_align): Return 0 as the default rule, + generic code will then apply a suitable default. + * nios2-tdep.c (nios2_type_align): Provide alignment for basic + types, return 0 for other types. + +2019-02-27 Joel Brobecker + + * NEWS: Create a new section for the next release branch. + Rename the section of the current branch, now that it has + been cut. + +2019-02-27 Joel Brobecker + + GDB 8.3 branch created (143420fb0d5ae54323ba9953f0818c194635228d): + * version.in: Bump version to 8.3.50.DATE-git. + +2019-02-26 Simon Marchi + + * aix-thread.c (ptid_cmp): Remove unused variable. + (get_signaled_thread): Likewise. + (store_regs_user_thread): Likewise. + (store_regs_kernel_thread): Likewise. + (fetch_regs_kernel_thread): Remove shadowed variable. + +2019-02-26 Andrew Burgess + + * features/riscv/32bit-cpu.xml: Add register numbers. + * features/riscv/32bit-fpu.c: Regenerate. + * features/riscv/32bit-fpu.xml: Add register numbers. + * features/riscv/64bit-cpu.xml: Add register numbers. + * features/riscv/64bit-fpu.c: Regenerate. + * features/riscv/64bit-fpu.xml: Add register numbers. + +2019-02-26 Kevin Buettner + + * NEWS: Mention two argument form of gdb.Value constructor. + * python/py-value.c (convert_buffer_and_type_to_value): New + function. + (valpy_new): Parse arguments via gdb_PyArg_ParseTupleAndKeywords. + Add support for handling an optional second argument. Call + convert_buffer_and_type_to_value as appropriate. + * python/python-internal.h (Py_buffer_deleter): New struct. + (Py_buffer_up): New typedef. + +2019-02-25 John Baldwin + + * dwarf2read.c (dwarf2_get_dwz_file): Reset dwz_bfd to nullptr + instead of releasing ownership. + +2019-02-25 Jordan Rupprecht + + * dwarf2read.c (open_and_init_dwp_file): Call + elf_numsections instead of bfd_count_sections to initialize + dwp_file->num_sections. + +2019-02-25 Tom Tromey + + * solib-darwin.c (darwin_get_dyld_bfd): Don't release dyld_bfd. + +2019-02-23 Sergio Durigan Junior + + * gcore.in: Add '--readnever' option when invoking GDB. + +2019-02-22 Simon Marchi + + * MAINTAINERS: Update my email address. + 2019-02-22 Simon Marchi * build-id.c (build_id_to_debug_bfd_1): New function.