]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
Fix inconsistent handling of EINTR in ser-*.c backends
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 83eef3747495239bc3d26c1be17e5f50a4dc477f..8fa4b02bfc117d83f22d86c7ecc45df6af7648d1 100644 (file)
@@ -1,3 +1,655 @@
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * ser-base.c (fd_event): Retry read_prim on EINTR.
+       (do_ser_base_readchar): Retry read_prim on EINTR.
+       (ser_base_write): Retry write_prim on EINTR.
+       * ser-unix.c (ser_unix_read_prim): Don't retry on EINTR here.
+       (ser_unix_write_prim): Remove comment.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (remote_pass_ctrlc): New function.
+       (init_remote_ops): Install it.
+       * target.c (target_terminal_inferior): Pass pending Ctrl-C to the
+       target.
+       (target_pass_ctrlc, default_target_pass_ctrlc): New functions.
+       * target.h (struct target_ops) <to_pass_ctrlc>: New method.
+       (target_pass_ctrlc, default_target_pass_ctrlc): New declarations.
+       * target-delegates.c: Regenerate.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * infcmd.c (interrupt_target_1): Call target_stop is in non-stop
+       mode.
+       * linux-nat.c (linux_nat_interrupt): Delete.
+       (linux_nat_add_target): Don't install linux_nat_interrupt.
+       * remote.c (remote_interrupt_ns): Change return type to void.
+       Throw error if interrupting the target is not supported.
+       (remote_interrupt): Don't call the remote_stop_ns/remote_stop_as.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * defs.h (clear_quit_flag): Remove declaration.
+       * extension-priv.h (struct extension_language_ops)
+       <clear_quit_flag>: Remove field and update comments.
+       * extension.c (clear_quit_flag): Delete.
+       * guile/guile.c (guile_extension_ops): Adjust.
+       * python/python.c (python_extension_ops): Adjust.
+       (gdbpy_clear_quit_flag): Delete.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * main.c (captured_main): Don't clear the quit flag.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * exceptions.c (prepare_to_throw_exception): Don't clear the quit
+       flag.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c (command_handler): Don't call clear_quit_flag.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * remote-sim.c (gdb_os_poll_quit): Don't call clear_quit_flag.
+       * remote.c (remote_wait_as): Don't call clear_quit_flag.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * python/python.c: Include "ser-event.h".
+       (gdbpy_event_fds): Delete.
+       (gdbpy_serial_event): New.
+       (gdbpy_run_events): Change prototype.  Use serial_event_clear
+       instead of serial_readchar.
+       (gdbpy_post_event): Use serial_event_set instead of serial_write.
+       (gdbpy_initialize_events): Use make_serial_event instead of
+       serial_pipe.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * defs.h: Extend QUIT-related comments to mention
+       interruptible_select.
+       (quit_serial_event_set, quit_serial_event_clear): Declare.
+       * event-top.c: Include "ser-event.h" and "gdb_select.h".
+       (quit_serial_event): New global.
+       (async_init_signals): Make quit_serial_event.
+       (quit_serial_event_set, quit_serial_event_clear)
+       (quit_serial_event_fd, interruptible_select): New functions.
+       * extension.c (set_quit_flag): Set the quit serial event.
+       (check_quit_flag): Clear the quit serial event.
+       * gdb_select.h (interruptible_select): New declaration.
+       * guile/scm-ports.c (ioscm_input_waiting): Use
+       interruptible_select instead of gdb_select.
+       * top.c (gdb_readline_no_editing): Likewise.
+       * ui-file.c (stdio_file_read): Likewise.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * event-loop.c: Include "ser-event.h".
+       (async_signal_handlers_serial_event): New global.
+       (async_signals_handler, initialize_async_signal_handlers): New
+       functions.
+       (mark_async_signal_handler): Set
+       async_signal_handlers_serial_event.
+       (invoke_async_signal_handlers): Clear
+       async_signal_handlers_serial_event.
+       * event-top.c (async_init_signals): Call
+       initialize_async_signal_handlers.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (SFILES): Add ser-event.c.
+       (HFILES_NO_SRCDIR): Add ser-event.h.
+       (COMMON_OBS): Add ser-event.o.
+       * ser-event.c, ser-event.h: New files.
+       * serial.c (new_serial): New function, factored out from
+       (serial_fdopen_ops): ... this.
+       (serial_open_ops_1): New function, factored out from
+       (serial_open): ... this.
+       (serial_open_ops): New function.
+       * serial.h (struct serial): Forware declare.
+       (serial_open_ops): New declaration.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * serial.c (serial_open, serial_fdopen_ops, do_serial_close):
+       Remove references to name.
+       * serial.h (struct serial) <name>: Delete.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * remote-fileio.c (sigint_fileio_token, remote_fio_no_longjmp):
+       Delete.
+       (async_remote_fileio_interrupt): Delete.
+       (remote_fileio_ctrl_c_signal_handler): Don't call the async signal
+       handler.  Instead just always set the ctrl_c flag.
+       (remote_fileio_reply): Clear remote_fio_ctrl_c_flag before
+       re-enabling the SIGINT handler.
+       (remote_fileio_func_open, remote_fileio_func_close)
+       (remote_fileio_func_read, remote_fileio_func_write)
+       (remote_fileio_func_lseek, remote_fileio_func_rename)
+       (remote_fileio_func_unlink, remote_fileio_func_stat)
+       (remote_fileio_func_fstat, remote_fileio_func_gettimeofday)
+       (remote_fileio_func_isatty, remote_fileio_func_system)
+       (remote_fileio_request): Remove references to
+       remote_fio_no_longjmp.
+       (initialize_remote_fileio): Don't create an async signal handler.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c (stdin_event_handler): Call QUIT;
+       (prompt_for_continue): Don't run with immediate_quit set.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * tui/tui-io.c (tui_redisplay_readline): Check
+       gdb_in_secondary_prompt_p instead of immediate_quit.
+       * tui/tui.c: Include top.h.
+       (tui_rl_startup_hook): Check gdb_in_secondary_prompt_p instead of
+       immediate_quit.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * top.c (read_command_file): Inline command_loop here.
+       (command_loop): Delete.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * top.c: Include "gdb_select.h".
+       (gdb_readline_no_editing): Wait for input with gdb_select instead
+       of blocking in fgetc.
+       (command_line_input): Don't set immediate_quit.
+
+2016-04-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
+
+       * value.c (value_next): Make pass-by-reference parameters const-correct.
+       (value_parent): Likewise.
+       (value_enclosing_type): Likewise.
+       (value_lazy): Likewise.
+       (value_stack): Likewise.
+       (value_embedded_offset): Likewise.
+       (value_pointed_to_offset): Likewise.
+       (value_raw_address): Likewise.
+       (deprecated_value_modifiable): Likewise.
+       (value_free_to_mark): Likewise.
+       (value_release_to_mark): Likewise.
+       (internalvar_name): Likewise.
+       (readjust_indirect_value_type): Likewise.
+       (value_initialized): Likewise.
+       * value.h (value_next): Likewise.
+       (value_parent): Likewise.
+       (value_enclosing_type): Likewise.
+       (value_lazy): Likewise.
+       (value_stack): Likewise.
+       (value_embedded_offset): Likewise.
+       (value_pointed_to_offset): Likewise.
+       (value_raw_address): Likewise.
+       (deprecated_value_modifiable): Likewise.
+       (value_free_to_mark): Likewise.
+       (value_release_to_mark): Likewise.
+       (internalvar_name): Likewise.
+       (readjust_indirect_value_type): Likewise.
+       (value_initialized): Likewise.
+
+2016-04-07  Yao Qi  <yao.qi@linaro.org>
+
+       * record-full.c (record_full_insert_breakpoint): Return
+       early if entry on the address is found in
+       record_full_breakpoints.
+
+2016-04-07  Yao Qi  <yao.qi@linaro.org>
+
+       * record-full.c (record_full_insert_breakpoint): Set
+       bp_tgt->reqstd_address and bp_tgt->placed_size.
+
+2016-04-06  Don Breazeal  <donb@codesourcery.com>
+
+       * value.c (value_actual_type): Don't try to get rtti type
+       of the value if it has been optimized out.
+       (value_optimized_out): If a memory access error occurs,
+       just check vaue->optimized_out.
+
+2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Revert the previous commit adding unknown_v_replies_ok.
+
+2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * remote.c (struct remote_state): New field unknown_v_replies_ok.
+       (packet_config_support): Read it.
+       (remote_start_remote): Set it.
+
+2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * remote.c: Revert check-in by a mistake in the previous commit.
+
+2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * exec.c (exec_file_locate_attach): Print warning for unsupported
+       target_pid_to_exec_file.
+       * symfile-mem.c (add_vsyscall_page): Remove the "file" command
+       message part.
+
+2016-04-04  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * cli/cli-decode.c (help_cmd_list): Fix function doc and remove
+       trailing spaces.
+
+2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
+
+       PR gdb/19820
+       * eval.c (evaluate_subexp_standard): Allow TYPE_CODE_ENUM to be
+        the type of BINOP_REPEAT's second operand.
+
+2016-03-31  Yichao Yu  <yyc1992@gmail.com>
+
+       PR gdb/19858
+       * jit.c (jit_breakpoint_re_set_internal): Return 0 if we already
+       got the breakpoint at the right address.
+       (jit_inferior_created): New function.
+       (_initialize_jit): Install jit_inferior_created as
+       inferior_created observer.
+
+2016-03-31  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * NEWS: Mention support for tracepoints on powerpc*-linux.
+
+2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
+
+       PR python/19743
+       * python/python.c (execute_gdb_command): Use console uiout
+       when executing gdb command.
+       * utils.c (restore_ui_out_closure): New structure.
+       (do_restore_ui_out): New function.
+       (make_cleanup_restore_ui_out): Likewise.
+       * utils.h (make_cleanup_restore_ui_out): Declare.
+
+2016-03-31  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention that support for "target m32rsdi", "target mips",
+       "target pmon", "target ddb", "target rockhopper", and "target lsi"
+       was removed.
+       * Makefile.in (ALL_TARGET_OBS): Remove remote-m32r-sdi.o and
+       remote-mips.o.
+       (ALLDEPFILES): Remove remote-m32r-sdi.c and remote-mips.c.
+       * configure.tgt: Remove all references to remote-m32r-sdi.o and
+       remote-mips.o.
+       * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Delete
+       function.
+       * mips-tdep.h (deprecated_mips_set_processor_regs_hack): Delete
+       declaration.
+       * remote-m32r-sdi.c, remote-mips.c: Delete files.
+       * symfile.c (generic_load, generic_load): Remove comments.
+
+2016-03-30  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.c (arm_epilogue_frame_this_id): Check 'func' against
+       0 rather than NULL.
+
+2016-03-30  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.c: (arm_make_epilogue_frame_cache): New function.
+       (arm_epilogue_frame_this_id): New function.
+       (arm_epilogue_frame_prev_register): New function.
+       (arm_epilogue_frame_sniffer): New function.
+       (arm_epilogue_frame_unwind): New.
+       (arm_gdbarch_init): Append unwinder arm_epilogue_frame_unwind.
+
+2016-03-30  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.c (arm_stack_frame_destroyed_p): Rename it ...
+       (arm_stack_frame_destroyed_p_1): ... here.  Don't call
+       arm_pc_is_thumb.
+       (arm_stack_frame_destroyed_p): Call
+       thumb_stack_frame_destroyed_p and
+       arm_stack_frame_destroyed_p_1.
+
+2016-03-30  Doug Evans  <dje@google.com>
+
+       * python/py-utils.c (host_string_to_python_string): New function.
+       * python/python-internal.h (host_string_to_python_string): Declare it.
+       * python/py-*.c (*): Update all calls to
+       PyString_Decode (str, strlen (str), host_charset (), NULL);
+       to use host_string_to_python_string instead.
+
+2016-03-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * remote.c (remote_check_symbols): Allocate own buffer for reply.
+
+2016-03-29  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * xtensa-tdep.c (xtensa_frame_cache): Change op1 type to LONGEST.
+       Use safe_read_memory_integer instead of read_memory_integer.
+
+2016-03-29  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * NEWS: Mention support for tracepoints on s390*-linux.
+
+2016-03-29  Don Breazeal  <donb@codesourcery.com>
+
+       * gdb/value.c (value_actual_type): Fix formatting issue.
+
+2016-03-23  Yao Qi  <yao.qi@linaro.org>
+
+       * gdbarch.sh (software_single_step): Remove comments.
+       * gdbarch.h: Regenerated.
+
+2016-03-21  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.c (arm_record_media): New.
+       (arm_record_ld_st_reg_offset): Call arm_record_media.
+
+2016-03-21  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_canonicalize_syscall): Canonicalize
+       more syscalls.
+
+2016-03-18  Yao Qi  <yao.qi@linaro.org>
+
+       * sparc-tdep.c (sparc_software_single_step): Make it static.
+       * sparc-tdep.h (sparc_software_single_step): Remove declaration.
+
+2016-03-18  Yao Qi  <yao.qi@linaro.org>
+
+       * spu-tdep.c (spu_software_single_step): Throw error when
+       target_read_memory fails.
+
+2016-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-thread-db.c (check_pid_namespace_match): Extend the message.
+
+2016-03-17  Pedro Alves  <palves@redhat.com>
+           Don Breazeal  <donb@codesourcery.com>
+
+       PR remote/19496
+       * infcmd.c (notice_new_inferior): Use the 'leave_running' argument
+       instead of checking the 'non_stop' global.
+       * remote.c (remote_add_thread): New parameter 'executing'.  Use it
+       to set the new thread's executing state.
+       (remote_notice_new_inferior): Rename parameter 'running' to
+       'executing'.  Always set the thread state to THREAD_RUNNING in
+       non-stop mode, and to THREAD_STOPPED in all-stop mode.  Pass
+       EXECUTING to remote_add_thread and notice_new_inferior.
+       (remote_update_thread_list): Update to pass executing state, not
+       running state.
+
+2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * syscalls/s390-linux.xml: Add NUMA syscalls and new syscalls up
+       to 374.
+       * syscalls/s390x-linux.xml: Likewise.
+
+2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-record.c (record_mem_at_reg): New helper function.
+       (record_linux_system_call): Exploit new helper function where
+       applicable.
+
+2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-record.c: Fix whitespace issues; tabify, remove trailing
+       spaces.
+
+2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-record.c (record_linux_system_call): Add missing return
+       statements to handling of pipe and pipe2 syscalls.
+
+2016-03-16  Doug Evans  <dje@google.com>
+
+       * xml-tdesc.c (tdesc_start_enum): Fix c++ build.
+
+2016-03-16  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_init_abi): Fix
+       arm_linux_record_tdep.arg1, arm_linux_record_tdep.arg2 and
+       arm_linux_record_tdep.arg3.  Set arm_linux_record_tdep.arg4,
+       arm_linux_record_tdep.arg5, arm_linux_record_tdep.arg6, and
+       arm_linux_record_tdep.arg7.
+
+2016-03-15  Keith Seitz  <keiths@redhat.com>
+
+       PR breakpoints/18303
+       * cp-namespace.c (cp_lookup_bare_symbol): Change assertion to
+       look for "::" instead of simply ":".
+       (cp_search_static_and_baseclasses): Return null_block_symbol for
+       malformed input.
+       Remove assertions.
+       * cp-support.c (cp_find_first_component_aux): Do not return
+       a prefix length for ':' unless the next character is also ':'.
+
+2016-03-15  Doug Evans  <dje@google.com>
+
+       * features/aarch64-core.xml (cpsr_flags): New flags type.
+       (cpsr): Use it.
+       * features/aarch64.c: Regenerate.
+
+2016-03-15  Doug Evans  <dje@google.com>
+
+       * features/i386/32bit-core.xml (i386_eflags): Remove "end" spec.
+       * features/i386/32bit-sse.xml (i386_eflags): Ditto.
+       * features/i386/64bit-core.xml (i386_eflags): Ditto.
+       * features/i386/64bit-sse.xml (i386_eflags): Ditto.
+       * features/i386/x32-core.xml (i386_eflags): Ditto.
+
+2016-03-15  Doug Evans  <dje@google.com>
+           Wei-cheng Wang  <cole945@gmail.com>
+
+       Extend flags to support multibit and enum bitfields.
+       * NEWS: Document new features.
+       * c-typeprint.c (c_type_print_varspec_prefix): Handle TYPE_CODE_FLAGS.
+       (c_type_print_varspec_suffix, c_type_print_base): Ditto.
+       * gdbtypes.c (arch_flags_type): Don't assume all fields are one bit.
+       (append_flags_type_field): New function.
+       (append_flags_type_flag): Call it.
+       * gdbtypes.h (append_flags_type_field): Declare.
+       * target-descriptions.c (struct tdesc_type_flag): Delete.
+       (enum tdesc_type_kind) <TDESC_TYPE_BOOL>: New enum value.
+       (enum tdesc_type_kind) <TDESC_TYPE_ENUM>: Ditto.
+       (struct tdesc_type) <u.f>: Delete.
+       (tdesc_predefined_types): Add "bool".
+       (tdesc_predefined_type): New function.
+       (tdesc_gdb_type): Handle TDESC_TYPE_BOOL, TDESC_TYPE_ENUM.
+       Update TDESC_TYPE_FLAGS support.
+       (tdesc_free_type): Handle TDESC_TYPE_ENUM.  Update TDESC_TYPE_FLAGS.
+       (tdesc_create_flags): Update.
+       (tdesc_create_enum): New function.
+       (tdesc_add_field): Initialize start,end to -1.
+       (tdesc_add_typed_bitfield): New function.
+       (tdesc_add_bitfield): Call it.
+       (tdesc_add_flag): Allow TDESC_TYPE_STRUCT.  Update.
+       (tdesc_add_enum_value): New function.
+       (maint_print_c_tdesc_cmd): Fold TDESC_TYPE_FLAGS support into
+       TDESC_TYPE_STRUCT.  Handle TDESC_TYPE_ENUM.
+       * target-descriptions.h (tdesc_create_enum): Declare.
+       (tdesc_add_typed_bitfield, tdesc_add_enum_value): Declare.
+       * valprint.c (generic_val_print_enum_1): New function.
+       (generic_val_print_enum): Call it.
+       (val_print_type_code_flags): Make static.  Handle multibit bitfields
+       and enum bitfields.
+       * valprint.h (val_print_type_code_flags): Delete.
+       * xml-tdesc.c (struct tdesc_parsing_data) <current_type_is_flags>:
+       Delete.  All uses removed.
+       (tdesc_start_enum): New function.
+       (tdesc_start_field): Handle multibit and enum bitfields.
+       (tdesc_start_enum_value): New function.
+       (enum_value_attributes, enum_children, enum_attributes): New static
+       globals.
+       (feature_children): Add "enum".
+       * features/gdb-target.dtd (enum, evalue): New elements.
+
+2016-03-15  Doug Evans  <dje@google.com>
+
+       * target-descriptions.c (struct tdesc_type) <u.u.size>: Change type
+       from LONGEST to int.
+       (struct tdesc_type) <u.f.size>: Ditto.
+       (tdesc_set_struct_size): Change type of "size" arg from LONGEST
+       to int.  Add assertion size > 0.
+       (tdesc_create_flags): Ditto.
+       * target-descriptions.h (tdesc_set_struct_size): Update.
+       (tdesc_create_flags): Update.
+       * xml-tdesc.c (MAX_FIELD_SIZE, MAX_FIELD_BITSIZE): New macros.
+       (MAX_VECTOR_SIZE): New macro.
+       (tdesc_start_struct): Catch conversion errors from LONGEST to int.
+       (tdesc_start_flags, tdesc_start_field, tdesc_start_vector): Ditto.
+
+2016-03-15  Doug Evans  <dje@google.com>
+
+       * target-descriptions.c (maint_print_c_tdesc_cmd): Use "type" for
+       TYPE_CODE_FLAGS instead of "field_type", for consistency.
+       * features/i386/amd64-avx-linux.c: Regenerate.
+       * features/i386/amd64-avx.c: Regenerate.
+       * features/i386/amd64-avx512-linux.c: Regenerate.
+       * features/i386/amd64-avx512.c: Regenerate.
+       * features/i386/amd64-linux.c: Regenerate.
+       * features/i386/amd64-mpx-linux.c: Regenerate.
+       * features/i386/amd64-mpx.c: Regenerate.
+       * features/i386/amd64.c: Regenerate.
+       * features/i386/i386-avx-linux.c: Regenerate.
+       * features/i386/i386-avx.c: Regenerate.
+       * features/i386/i386-avx512-linux.c: Regenerate.
+       * features/i386/i386-avx512.c: Regenerate.
+       * features/i386/i386-linux.c: Regenerate.
+       * features/i386/i386-mmx-linux.c: Regenerate.
+       * features/i386/i386-mmx.c: Regenerate.
+       * features/i386/i386-mpx-linux.c: Regenerate.
+       * features/i386/i386-mpx.c: Regenerate.
+       * features/i386/i386.c: Regenerate.
+       * features/i386/x32-avx-linux.c: Regenerate.
+       * features/i386/x32-avx.c: Regenerate.
+       * features/i386/x32-avx512-linux.c: Regenerate.
+       * features/i386/x32-avx512.c: Regenerate.
+       * features/i386/x32-linux.c: Regenerate.
+       * features/i386/x32.c: Regenerate.
+
+2016-03-15  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19676
+       * linux-thread-db.c (try_thread_db_load_1): Leave
+       info->td_ta_thr_iter_p NULL iff debugging a live process and we
+       have /proc access.
+       (find_new_threads_once): Assert that we have a non-NULL
+       info->td_ta_thr_iter_p instead of checking whether the target has
+       execution.
+
+2016-03-15  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19676
+       * infrun.c (displaced_step_prepare): Also disable displaced
+       stepping on NOT_SUPPORTED_ERROR.
+       * linux-tdep.c (linux_displaced_step_location): If reading auxv
+       fails, throw NOT_SUPPORTED_ERROR instead of generic error.
+
+2016-03-13  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * s390-linux-tdep.c (s390_gen_return_address): New function.
+       (s390_gdbarch_init): Fill gen_return_address hook.
+
+2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * symmisc.c (maintenance_info_line_tables): New function.
+       (maintenance_print_one_line_table): New function.
+       (_initialize_symmisc): Register 'maint info line-table' command.
+       * NEWS: Mention new command.
+
+2016-03-11  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * s390-linux-tdep.c (s390_ax_pseudo_register_collect): New function.
+       (s390_ax_pseudo_register_push_stack): New function.
+       (s390_gdbarch_init): Fill ax_pseudo_register_collect and
+       ax_pseudo_register_push_stack hooks.
+
+2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * data-directory/Makefile.in (PYTHON_FILE_LIST): Install
+       gdb/function/as_string.py.
+       * python/lib/gdb/function/as_string.py: New file.
+       * NEWS: Mention the new $_as_string function.
+
+2016-03-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * target.h: Fix doc string of target_can_use_hardware_watchpoint.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c (more_to_come): Delete.
+       (struct readline_input_state): Delete.
+       (readline_input_state): Delete.
+       (get_command_line_buffer): New function.
+       (command_handler): Update comments.  Don't handle NULL commands
+       here.  Do not execute commented lines.
+       (command_line_append_input_line): New function.
+       (handle_line_of_input): New function, partly based on
+       command_line_handler and command_line_input.
+       (command_line_handler): Rewrite.
+       * event-top.h (command_handler): New declaration.
+       (command_loop): Defer command execution to command_handler.
+       (command_line_input): Update comments.  Simplify, using struct
+       buffer and handle_line_of_input.
+       * top.h (struct buffer): New forward declaration.
+       (handle_line_of_input): New declaration.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c (command_line_handler): Use xfree + xstrdup instead
+       of xrealloc + strcpy.
+       * main.c (captured_main): Use xstrdup instead of xmalloc plus
+       manual clear.
+       * top.c (saved_command_line): Rewrite comment.
+       (saved_command_line_size): Delete.
+       (command_line_input): Use xfree + xstrdup instead of xrealloc +
+       strcpy.
+       * top.h (saved_command_line_size): Delete declaration.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c: Include buffer.h.
+       (gdb_readline_no_editing_callback): Use struct buffer instead
+       of xrealloc.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * common/buffer.h (buffer_grow_char): New function.
+       * top.c: Include buffer.h.
+       (gdb_readline_no_editing): Rename 'prompt_arg' parameter to
+       'prompt'.  Use struct buffer instead of xrealloc.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * defs.h (gdb_readline): Delete declaration.
+       * top.c (gdb_readline): Rename to ...
+       (gdb_readline_no_editing): ... this, and make static.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * utils.c (prompt_for_continue): Update comments.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c (async_annotation_suffix): Delete.
+       (top_level_prompt, command_line_handler): Don't use
+       'async_annotation_suffix' and simplify.
+       * event-top.h (async_annotation_suffix): Delete declaration.
+       (init_main): Remove reference to 'async_annotation_suffix'.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c (gdb_readline2): Rename to ...
+       (gdb_readline_no_editing_callback): ... this.
+       (change_line_handler, stdin_event_handler)
+       (gdb_setup_readline): Adjust.
+       * event-top.h (gdb_readline2): Rename to ...
+       (gdb_readline_no_editing_callback): ... this, and move closer to
+       other readline-related declarations.
+       * mi/mi-interp.c (mi_interpreter_resume): Adjust.
+
+2016-03-09  Pedro Alves  <palves@redhat.com>
+
+       * top.c (window_hook): Delete.
+       (command_loop): Remove references to window_hook.
+
 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
 
        * corefile.c (safe_read_memory_unsigned_integer): New function.