Fix new inferior events output
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b6720524b665c780144480fd673bf3c93133e636..a5cb3bbd82523cb9dc7f0fe95a312dab95a67cab 100644 (file)
@@ -1,3 +1,300 @@
+2018-04-25  Pedro Alves  <palves@redhat.com>
+
+       * infcmd.c (kill_command): Print the pid as string, not the whole
+       thread's ptid.  Add comment.  s/has been killed/killed/ in output
+       message.
+       * remote.c (remote_detach_1): Print the pid as string, not the
+       whole thread's ptid.
+
+2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Sergio Durigan Junior  <sergiodj@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * infcmd.c (kill_command): Print message when inferior has
+       been killed.
+       * inferior.c (print_inferior_events): Remove 'static'.  Set as
+       '1'.
+       (add_inferior): Improve message printed when
+       'print_inferior_events' is on.
+       (exit_inferior): Remove message printed when
+       'print_inferior_events' is on.
+       (detach_inferior): Improve message printed when
+       'print_inferior_events' is on.
+       (initialize_inferiors): Use 'add_inferior_silent' to set
+       'current_inferior_'.
+       * inferior.h (print_inferior_events): Declare here as
+       'extern'.
+       * infrun.c (follow_fork_inferior): Print '[Attaching...]' or
+       '[Detaching...]' messages when 'print_inferior_events' is on.
+       Use 'add_thread_silent' instead of 'add_thread'.  Add '[' and ']'
+       as prefix/suffix for messages.  Remove periods.  Fix erroneous
+       'Detaching after fork from child...', replace it by '... from
+       parent...'.
+       (handle_vfork_child_exec_or_exit): Add '[' and ']' as
+       prefix/suffix when printing 'Detaching...' messages.  Print
+       them when 'print_inferior_events' is on.
+       * remote.c (remote_detach_1): Print message when detaching
+       from inferior and '!is_fork_parent'.
+
+2018-04-24  Tom Tromey  <tom@tromey.com>
+
+       * cli-out.h: Reindent.
+
+2018-04-24  Tom Tromey  <tom@tromey.com>
+
+       * cli-out.c (cli_ui_out::out_field_fmt): Remove.
+       (cli_ui_out::do_field_string): Use fputs_filtered.
+       * cli-out.h (class cli_ui_out) <out_field_fmt>: Remove.
+
+2018-04-23  Tom Tromey  <tom@tromey.com>
+
+       * guile/scm-frame.c (gdbscm_frame_read_var): Use
+       gdb::unique_xmalloc_ptr.
+
+2018-04-23  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+
+2018-04-22  Rajendra SY  <rajendra.sy@gmail.com>
+
+       PR gdb/23095
+       * gdb/testsuite/gdb.base/break-probes.exp: Pass shlib_load to
+       prepare_for_testing.  Set normal_bp to r_debug_state if target
+       is bsd.
+
+2018-04-21  Pedro Alves  <palves@redhat.com>
+           Rajendra SY  <rajendra.sy@gmail.com>
+
+       * inf-ptrace.c (inf_ptrace_attach): Mark the thread as executing.
+       * remote.c (extended_remote_attach): In all-stop mode, mark the
+       thread as executing.
+
+2018-04-19  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * thread.c (thread_apply_all_command): Fix comment.
+       (thread_command): Fix comment.
+
+2018-04-10  Alan Hayward  <alan.hayward@arm.com>
+
+       * common/tdesc.h (tdesc_create_feature): Remove xml filename
+       parameter.
+       * features/aarch64-core.c (create_feature_aarch64_core):
+       Regenerate.
+       * features/aarch64-fpu.c (create_feature_aarch64_fpu):
+       Likewise.
+       * features/i386/32bit-avx.c (create_feature_i386_32bit_avx):
+       Likewise.
+       * features/i386/32bit-avx512.c
+       (create_feature_i386_32bit_avx512): Likewise.
+       * features/i386/32bit-core.c (create_feature_i386_32bit_core):
+       Likewise.
+       * features/i386/32bit-linux.c (create_feature_i386_32bit_linux):
+       Likewise.
+       * features/i386/32bit-mpx.c (create_feature_i386_32bit_mpx):
+       Likewise.
+       * features/i386/32bit-pkeys.c (create_feature_i386_32bit_pkeys):
+       Likewise.
+       * features/i386/32bit-sse.c (create_feature_i386_32bit_sse):
+       Likewise.
+       * features/i386/64bit-avx.c (create_feature_i386_64bit_avx):
+       Likewise.
+       * features/i386/64bit-avx512.c
+       (create_feature_i386_64bit_avx512): Likewise.
+       * features/i386/64bit-core.c (create_feature_i386_64bit_core):
+       Likewise.
+       * features/i386/64bit-linux.c (create_feature_i386_64bit_linux):
+       Likewise.
+       * features/i386/64bit-mpx.c (create_feature_i386_64bit_mpx):
+       Likewise.
+       * features/i386/64bit-pkeys.c (create_feature_i386_64bit_pkeys):
+       Likewise.
+       * features/i386/64bit-segments.c
+       (create_feature_i386_64bit_segments): Likewise.
+       * features/i386/64bit-sse.c (create_feature_i386_64bit_sse):
+       Likewise.
+       * features/i386/x32-core.c
+       (create_feature_i386_x32_core): Likewise.
+       * features/tic6x-c6xp.c (create_feature_tic6x_c6xp): Likewise.
+       * features/tic6x-core.c (create_feature_tic6x_core): Likewise.
+       * features/tic6x-gp.c (create_feature_tic6x_gp): Likewise.
+       * target-descriptions.c: In generated code, don't pass xml
+       filename.
+
+2018-04-18  Alan Hayward  <alan.hayward@arm.com>
+
+       * common/tdesc.c (print_xml_feature::visit_pre): Add xml parsing.
+       (print_xml_feature::visit_post): Likewise.
+       (print_xml_feature::visit): Likewise.
+       * common/tdesc.h (tdesc_get_features_xml): Use const tdesc.
+       (print_xml_feature): Add new class.
+       * regformats/regdat.sh: Null xmltarget on feature targets.
+       * target-descriptions.c (struct target_desc): Add xmltarget.
+       (maintenance_check_tdesc_xml_convert): Add unittest function.
+       (tdesc_get_features_xml): Add function to get xml.
+       (maintenance_check_xml_descriptions): Test xml generation.
+       * xml-tdesc.c (string_read_description_xml): Add function.
+       * xml-tdesc.h (string_read_description_xml): Add declaration.
+
+2018-04-18  Alan Hayward  <alan.hayward@arm.com>
+
+       * features/Makefile: Add feature marker to targets with new style
+       target descriptions.
+       * regformats/aarch64.dat: Regenerate.
+       * regformats/i386/amd64-avx-avx512-linux.dat: Likewise.
+       * regformats/i386/amd64-avx-linux.dat: Likewise.
+       * regformats/i386/amd64-avx-mpx-avx512-pku-linux.dat: Likewise.
+       * regformats/i386/amd64-avx-mpx-linux.dat: Likewise.
+       * regformats/i386/amd64-linux.dat: Likewise.
+       * regformats/i386/amd64-mpx-linux.dat: Likewise.
+       * regformats/i386/amd64.dat: Likewise.
+       * regformats/i386/i386-avx-avx512-linux.dat: Likewise.
+       * regformats/i386/i386-avx-linux.dat: Likewise.
+       * regformats/i386/i386-avx-mpx-avx512-pku-linux.dat: Likewise.
+       * regformats/i386/i386-avx-mpx-linux.dat: Likewise.
+       * regformats/i386/i386-linux.dat: Likewise.
+       * regformats/i386/i386-mmx-linux.dat: Likewise.
+       * regformats/i386/i386-mpx-linux.dat: Likewise.
+       * regformats/i386/i386.dat: Likewise.
+       * regformats/i386/x32-avx-avx512-linux.dat: Likewise.
+       * regformats/i386/x32-avx-linux.dat: Likewise.
+       * regformats/i386/x32-linux.dat: Likewise.
+       * regformats/tic6x-c62x-linux.dat: Likewise.
+       * regformats/tic6x-c64x-linux.dat: Likewise.
+       * regformats/tic6x-c64xp-linux.dat: Likewise.
+       * regformats/regdat.sh: Parse feature marker.
+
+2018-04-18  Alan Hayward  <alan.hayward@arm.com>
+
+       * common/tdesc.h (tdesc_architecture_name): Add new declaration.
+       (tdesc_osabi_name): Likewise.
+       * target-descriptions.c (tdesc_architecture_name): Add new
+       function.
+       (tdesc_osabi_name): Likewise.
+
+2018-04-18  Alan Hayward  <alan.hayward@arm.com>
+
+       * common/tdesc.c (tdesc_predefined_type): Move to here.
+       (tdesc_named_type): Likewise.
+       (tdesc_create_vector): Likewise.
+       (tdesc_create_struct): Likewise.
+       (tdesc_set_struct_size): Likewise.
+       (tdesc_create_union): Likewise.
+       (tdesc_create_flags): Likewise.
+       (tdesc_create_enum): Likewise.
+       (tdesc_add_field): Likewise.
+       (tdesc_add_typed_bitfield): Likewise.
+       (tdesc_add_bitfield): Likewise.
+       (tdesc_add_flag): Likewise.
+       (tdesc_add_enum_value): Likewise.
+       * common/tdesc.h (struct tdesc_type_builtin): Likewise.
+       (struct tdesc_type_vector): Likewise.
+       (struct tdesc_type_field): Likewise.
+       (struct tdesc_type_with_fields): Likewise.
+       (tdesc_create_enum): Add declaration.
+       (tdesc_add_typed_bitfield): Likewise.
+       (tdesc_add_enum_value): Likewise.
+       * target-descriptions.c (tdesc_type_field): Move from here.
+       (tdesc_type_builtin): Likewise.
+       (tdesc_type_vector): Likewise.
+       (tdesc_type_with_fields): Likewise.
+       (tdesc_predefined_types): Likewise.
+       (tdesc_named_type): Likewise.
+       (tdesc_create_vector): Likewise.
+       (tdesc_create_struct): Likewise.
+       (tdesc_set_struct_size): Likewise.
+       (tdesc_create_union): Likewise.
+       (tdesc_create_flags): Likewise.
+       (tdesc_create_enum): Likewise.
+       (tdesc_add_field): Likewise.
+       (tdesc_add_typed_bitfield): Likewise.
+       (tdesc_add_bitfield): Likewise.
+       (tdesc_add_flag): Likewise.
+       (tdesc_add_enum_value): Likewise.
+       * gdb/target-descriptions.h (tdesc_create_enum): Likewise.
+       (tdesc_add_typed_bitfield): Likewise.
+       (tdesc_add_enum_value): Likewise.
+
+2018-04-18  Alan Hayward  <alan.hayward@arm.com>
+
+       * common/tdesc.c (tdesc_feature::accept): Move to here.
+       (tdesc_feature::operator==): Likewise.
+       (tdesc_create_reg): Likewise.
+       * common/tdesc.h (tdesc_type_kind): Likewise.
+       (struct tdesc_type): Likewise.
+       (struct tdesc_feature): Likewise.
+       * regformats/regdat.sh: Create a feature.
+       * target-descriptions.c (tdesc_type_kind): Move from here.
+       (tdesc_type): Likewise.
+       (tdesc_type_up): Likewise.
+       (tdesc_feature): Likewise.
+       (tdesc_create_reg): Likewise.
+
+2018-04-18  Alan Hayward  <alan.hayward@arm.com>
+
+       * Makefile.in: Add arch/tdesc.c
+       * common/tdesc.c: New file.
+       * common/tdesc.h (tdesc_element_visitor): Move to here.
+       (tdesc_element): Likewise.
+       (tdesc_reg): Likewise.
+       (tdesc_reg_up): Likewise.
+       * regformats/regdef.h (reg): Add offset to constructors.
+       * target-descriptions.c (tdesc_element_visitor): Move from here.
+       (tdesc_element): Likewise.
+       (tdesc_reg): Likewise.
+       (tdesc_reg_up): Likewise.
+
+2018-04-17  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (quirk_rust_enum): Conditionally drop the
+       discriminant field.
+
+2018-04-17  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (quirk_rust_enum): Handle unions correctly.
+
+2018-04-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * symtab.c (print_symbol_info): Skip printing filename and line
+       number when `last' is NULL.
+       (symtab_symbol_info): Use empty string instead of NULL for first
+       invocation of print_symbol_info.
+       (rbreak_command): Pass NULL to `last' parameter of
+       print_symbol_info.
+
+2018-04-16  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * linux-tdep.c (linux_spu_make_corefile_notes): Return note_data
+       instead of nullptr.
+
+2018-04-16  Pedro Alves  <palves@redhat.com>
+
+       * MAINTAINERS (sh): Remove.
+       * Makefile.in (ALL_TARGET_OBS): Remove sh64-tdep.o.
+       (HFILES_NO_SRCDIR): Remove sh64-tdep.h.
+       (ALLDEPFILES): Remove sh64-tdep.c.
+       * NEWS: Mentions that support for SH-5/SH64 is removed.
+       * configure.tgt (sh*-*-linux*): Remove reference to sh64-tdep.o.
+       (sh*-*-openbsd*): Ditto.
+       (sh64-*-elf*): Remove.
+       (sh*): Remove.
+       * regcache.c (cooked_write_test): Remove bfd_mach_sh5 case.
+       * sh-linux-tdep.c: Remove reference to bfd_mach_sh5.
+       * sh-tdep.c: No longer include "sh64-tdep.h".
+       (sh_gdbarch_init): Remove reference to bfd_mach_sh5.
+       * sh64-tdep.c, sh64-tdep.h: Remove files.
+
+2018-04-16  Pedro Alves  <palves@redhat.com>
+
+       * MAINTAINERS: Remove m88k.
+       * Makefile.in (ALL_TARGET_OBS): Remove m88k-tdep.o.
+       (HFILES_NO_SRCDIR): Remove m88k-tdep.h.
+       (ALLDEPFILES): Remove m88k-bsd-nat.c and m88k-tdep.c.
+       * NEWS: Mention that support for m88k was removed.
+       * configure.host (m88*-*-*): Remove support.
+       * configure.nat (m88k-*-*): Remove support.
+       * configure.tgt (m88*-*-openbsd*): Remove.
+       * m88k-bsd-nat.c, m88k-tdep.c, m88k-tdep.h: Delete.
+
 2018-04-15  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * configure.tgt (x86_tobjs): New variable.
This page took 0.027248 seconds and 4 git commands to generate.