+2018-04-26 Pedro Alves <palves@redhat.com>
+
+ * elfread.c (elf_gnu_ifunc_resolve_by_got): Don't write to *ADDR_P
+ unless we actually resolved the ifunc.
+
+2018-04-26 Pedro Alves <palves@redhat.com>
+
+ * c-exp.y (variable production): Prefer ifunc minsyms over
+ regular function symbols.
+ * symtab.c (find_gnu_ifunc): New function.
+ * minsyms.h (lookup_msym_prefer): New enum.
+ (lookup_minimal_symbol_by_pc_section): Replace 'want_trampoline'
+ parameter by a lookup_msym_prefer parameter.
+ * symtab.h (find_gnu_ifunc): New declaration.
+
+2018-04-26 Pedro Alves <palves@redhat.com>
+
+ * blockframe.c (find_gnu_ifunc_target_type): New function.
+ (find_function_type): New.
+ * eval.c (evaluate_var_msym_value): For GNU ifunc types, always
+ return a value with a memory address.
+ (eval_call): For calls to GNU ifunc functions, try to find the
+ type of the target function from the type that the resolver
+ returns.
+ * gdbtypes.c (objfile_type): Don't install a return type for ifunc
+ symbols.
+ * infcall.c (find_function_return_type): Delete.
+ (find_function_addr): Add 'function_type' parameter. For calls to
+ GNU ifunc functions, try to find the type of the target function
+ from the type that the resolver returns, and return it via
+ FUNCTION_TYPE.
+ (call_function_by_hand_dummy): Adjust to use the function type
+ returned by find_function_addr.
+ (find_function_addr): Add 'function_type' parameter and move
+ description here.
+ * symtab.h (find_function_type, find_gnu_ifunc_target_type): New
+ declarations.
+
+2018-04-26 Pedro Alves <palves@redhat.com>
+
+ * c-exp.y (variable production): Skip finding an alias for ifunc
+ symbols.
+
+2018-04-26 Pedro Alves <palves@redhat.com>
+
+ * elfread.c (elf_rel_plt_read): Look for relocations for .got.plt too.
+
+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.