Introduce a serial interface for select'able events
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2df6ccd7fa3ce9cb5d59710842a355faf567b07f..55fd9012def836931bc17fbd2ef4ead5e18afc94 100644 (file)
@@ -1,3 +1,262 @@
+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.
        * top.c (window_hook): Delete.
        (command_loop): Remove references to window_hook.
 
-2016-03-09  Pedro Alves  <palves@redhat.com>
-
-       * gdb.base/command-line-input.exp: New file.
-
 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
 
        * corefile.c (safe_read_memory_unsigned_integer): New function.
This page took 0.027351 seconds and 4 git commands to generate.