Introduce "struct ui"
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f9dc6f9c61fdb7fc30d283c4d08ba9f1eac4c7e8..9914281b7ccdf6d22b42fec90994eb8f9f3aa83e 100644 (file)
@@ -1,3 +1,178 @@
+2016-06-21  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c: Update readline-related comments.
+       (input_handler, call_readline): Delete globals.
+       (gdb_rl_callback_handler): Call the current UI's input_handler
+       method.
+       (change_line_handler): Adjust to set current UI's properties
+       instead of globals.
+       (current_ui_, current_ui): New globals.
+       (get_command_line_buffer): Rewrite to refer to the current UI.
+       (stdin_event_handler): Adjust to call the call_readline method of
+       the current UI.
+       (gdb_readline_no_editing_callback): Adjust to call the current UI's
+       input_handler method.
+       (gdb_setup_readline): Adjust to set current UI's properties
+       instead of globals.
+       * event-top.h (call_readline, input_handler): Delete declarations.
+       * mi/mi-interp.c (mi_interpreter_resume): Adjust to set current
+       UI's properties instead of globals.
+       * top.c (gdb_readline_wrapper_cleanup): Adjust to set current UI's
+       properties instead of globals.
+       (gdb_readline_wrapper): Adjust to call and set current UI's
+       methods instead of globals.
+       * top.h: Include buffer.h and event-loop.h.
+       (struct ui): New struct.
+       (current_ui): New declaration.
+
+2016-06-21  Pedro Alves  <palves@redhat.com>
+
+       * ada-lang.c (ada_exception_name_addr_1): Add comment.
+       (print_it_exception): Select the current frame.
+
+2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add nds32-tdep.o.
+       (HFILES_NO_SRCDIR): Add nds32-tdep.h.
+       (ALLDEPFILES): Add nds32-tdep.c.
+       * NEWS: Mention new NDS32 port.
+       * configure.tgt: Add NDS32.
+       * nds32-tdep.c: New file.
+       * nds32-tdep.h: New file.
+       * features/Makefile (XMLTOC): Add nds32.xml.
+       * features/nds32-core.xml: New file.
+       * features/nds32-fpu.xml: New file.
+       * features/nds32-system.xml: New file.
+       * features/nds32.c: New file (generated).
+       * features/nds32.xml: New file.
+
+2016-06-14  John Baldwin  <jhb@FreeBSD.org>
+
+       * v850-tdep.c (v850_use_struct_convention): Trim type length checks.
+
+2016-06-14  John Baldwin  <jhb@FreeBSD.org>
+
+       * tui/tui-stack.c (tui_show_frame_info): Fix type mismatch.
+
+2016-06-14  John Baldwin  <jhb@FreeBSD.org>
+
+       * rs6000-tdep.c (ppc_process_record_op31): Initialize ra.
+
+2016-06-13  Nick Clifton  <nickc@redhat.com>
+
+       * gdbtypes.c (replace_type): Fix assertion.
+
+2016-06-10  Tom Tromey  <tom@tromey.com>
+
+       * gdbtypes.c (arch_type, arch_integer_type, arch_character_type)
+       (arch_boolean_type, arch_float_type, arch_complex_type)
+       (arch_flags_type, append_flags_type_field)
+       (append_flags_type_flag, arch_composite_type)
+       (append_composite_type_field_raw)
+       (append_composite_type_field_aligned)
+       (append_composite_type_field): Make "name" parameter const.
+       * gdbtypes.h (arch_type, arch_integer_type, arch_character_type)
+       (arch_boolean_type, arch_float_type, arch_complex_type)
+       (append_composite_type_field, append_composite_type_field_aligned)
+       (append_composite_type_field_raw, arch_flags_type)
+       (append_flags_type_field, append_flags_type_flag): Constify.
+
+2016-06-10  Tom Tromey  <tom@tromey.com>
+
+       PR rust/20110:
+       * rust-exp.y (lex_number): Don't truncate large numbers to i32.
+
+2016-06-10  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (COMMON_OBS): Remove rust-exp.o.
+       (YYFILES): Add rust-exp.c.
+       (YYOBJ): Add rust-exp.o.
+       (local-maintainer-clean): Remove rust-exp.c.
+
+2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
+
+       * NEWS: Mention that GDB now supports a negative repeat count in
+       the 'x' command.
+       * printcmd.c (decode_format): Allow '-' in the parameter
+       "string_ptr" to accept a negative repeat count.
+       (find_instruction_backward): New function.
+       (read_memory_backward): New function.
+       (integer_is_zero): New function.
+       (find_string_backward): New function.
+       (do_examine): Use new functions to examine memory backward.
+       (_initialize_printcmd): Mention that 'x' command supports a negative
+       repeat count.
+
+2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
+
+       * MAINTAINERS (Write After Approval): Add Toshihito Kikuchi.
+
+2016-06-09  Tom Tromey  <tom@tromey.com>
+
+       PR python/19819:
+       * python/py-xmethods.c (invoke_method_name)
+       (py_get_result_type_method_name, py_invoke_method_name): Remove.
+       (gdbpy_initialize_xmethods): Don't initialize
+       py_invoke_method_name, py_get_result_type_method_name.
+
+2016-06-07  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi/mi-interp.c (mi_record_changed): Add missing braces.
+
+2016-06-07  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * findvar.c (follow_static_link): Check for valid pointer.
+
+2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * NEWS: Mention the new fields in =record-started.
+       * common/btrace-common.h (btrace_format_short_string): New function
+       declaration.
+       * common/btrace-common.c (btrace_format_short_string): New
+       function.
+       * mi/mi-interp.c (mi_record_changed): Output method and format
+       fields in the =record-started record.
+       * record-btrace.c (record_btrace_open): Adapt record_changed
+       notification.
+       * record-full.c (record_full_open): Likewise.
+       * record.c (cmd_record_stop): Likewise.
+
+2016-06-02  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * windows-nat.c (handle_output_debug_string): Return type of
+       gdb_signal_from_host() is gdb_signal, not an int.
+       (windows_get_exec_module_filename): Add pointer casts for C++.
+
+2016-06-02  Tom Tromey  <tom@tromey.com>
+
+       PR python/18984:
+       * python/python.c (gdbpy_solib_name): Use GDB_PY_LLU_ARG.
+
+2016-06-01  Pedro Alves  <palves@redhat.com>
+
+       * remote-fileio.c (remote_fio_ctrl_c_flag, remote_fio_sa)
+       (remote_fio_osa)
+       (remote_fio_ofunc, remote_fileio_sig_init, remote_fileio_sig_set)
+       (remote_fileio_sig_exit, remote_fileio_ctrl_c_signal_handler):
+       Delete.
+       (remote_fileio_o_quit_handler): New global.
+       (remote_fileio_quit_handler): New function.
+       (remote_fileio_reply): Check the quit flag instead of the custom
+       'remote_fio_ctrl_c_flag' flag.  Restore the quit handler instead
+       of changing the SIGINT handler.
+       (do_remote_fileio_request): Override the quit handler instead of
+       changing the SIGINT handler.
+
+2016-06-01  Nick Clifton  <nickc@redhat.com>
+
+       * common/common-utils.c (xmalloc_failed): New function.  Provided
+       so that the version in libiberty is not linked in.
+
+2016-06-01  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * infcmd.c (skip_finish_frames): New.
+       (finish_command): Call skip_finish_frames.
+
 2016-06-01  Yao Qi  <yao.qi@linaro.org>
 
        PR remote/19998
This page took 0.027346 seconds and 4 git commands to generate.