Simplify child_terminal_inferior
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2855f4d221df6ed8ed6a41decc099188cdbd8260..ac5b31830983016bebb7ababec691d260a4d4a24 100644 (file)
@@ -1,3 +1,572 @@
+2017-11-06  Pedro Alves  <palves@redhat.com>
+
+       * gnu-nat.c (gnu_terminal_init): Delete.
+       (gnu_target): Don't install gnu_terminal_init.
+       * inflow.c (child_terminal_init_with_pgrp): Delete, merged with ...
+       (child_terminal_init): ... this function.
+
+2017-11-06  Pedro Alves  <palves@redhat.com>
+
+       * common/common.m4 (GDB_AC_COMMON): No longer check termio.h nor
+       sgtty.h.
+       * config.in, configure: Regenerate.
+
+2017-11-06  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c: Check SIGTSTP instead of STOP_SIGNAL thoughout.
+       (async_init_signals): Adjust.
+       (handle_stop_sig): Rename to ...
+       (handle_sigtstp): ... this.
+       (async_stop_sig): Rename to ...
+       (async_sigtstp_handler): ... this, and delete STOP_SIGNAL !=
+       SIGTSTP path.
+       * event-top.h: Move signal.h include to the top.  Check SIGTSTP
+       instead of STOP_SIGNAL thoughout.
+       (handle_stop_sig): Rename to ...
+       (handle_sigtstp): ... this.
+       * top.c (command_line_input): Replace STOP_SIGNAL -> SIGTSTP.
+
+2017-11-06  Pedro Alves  <palves@redhat.com>
+
+       * inflow.c (child_terminal_inferior, child_terminal_ours_1): No
+       longer set flags twice in row.
+
+2017-11-06  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (SER_HARDWIRE): Update comment.
+       (HFILES_NO_SRCDIR): Remove gdb_termios.h.
+       * common/gdb_termios.h: Delete file.
+       * common/job-control.c: Include termios.h and unistd.h instead of
+       gdb_termios.h.
+       (gdb_setpgid): Remove HAVE_TERMIOS || TIOCGPGRP preprocessor
+       check.
+       (have_job_control): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
+       Remove sgtty code.
+       * configure.ac: No longer check for termio.h and sgtty.h.
+       * configure: Regenerate.
+       * inflow.c: Include termios.h instead of gdb_termios.h.  Replace
+       PROCESS_GROUP_TYPE checks with HAVE_TERMIOS_H checks throughout.
+       Replace PROCESS_GROUP_TYPE references with pid_t references
+       throughout.
+       (gdb_getpgrp): Delete.
+       (set_initial_gdb_ttystate): Use tcgetpgrp instead of gdb_getpgrp.
+       (child_terminal_inferior): Remove comment.  Remove sgtty code.
+       (child_terminal_ours_1): Use tcgetpgrp directly instead of
+       gdb_getpgrp.  Use serial_set_tty_state instead aof
+       serial_noflush_set_tty_state.  Remove sgtty code.
+       * inflow.h: Include unistd.h instead of gdb_termios.h.  Replace
+       PROCESS_GROUP_TYPE check with HAVE_TERMIOS_H check.
+       (inferior_process_group): Now returns pid_t.
+       * ser-base.c (ser_base_noflush_set_tty_state): Delete.
+       * ser-base.h (ser_base_noflush_set_tty_state): Delete.
+       * ser-event.c (serial_event_ops): Update.
+       * ser-go32.c (dos_noflush_set_tty_state): Delete.
+       (dos_ops): Update.
+       * ser-mingw.c (hardwire_ops, tty_ops, pipe_ops, tcp_ops): Update.
+       * ser-pipe.c (pipe_ops): Update.
+       * ser-tcp.c (tcp_ops): Update.
+       * ser-unix.c: Include termios.h instead of gdb_termios.h.  Remove
+       HAVE_TERMIOS checks.
+       [HAVE_TERMIO] (struct hardwire_ttystate): Delete.
+       [HAVE_SGTTY] (struct hardwire_ttystate): Delete.
+       (get_tty_state, set_tty_state): Drop termio and sgtty code, and
+       assume termios.
+       (hardwire_noflush_set_tty_state): Delete.
+       (hardwire_print_tty_state, hardwire_drain_output)
+       (hardwire_flush_output, hardwire_flush_input)
+       (hardwire_send_break, hardwire_raw, hardwire_setbaudrate)
+       (hardwire_setstopbits, hardwire_setparity): Drop termio and sgtty
+       code, and assume termios.
+       (hardwire_ops): Update.
+       (_initialize_ser_hardwire): Remove HAVE_TERMIOS check.
+       * serial.c (serial_noflush_set_tty_state): Delete.
+       * serial.h (serial_noflush_set_tty_state): Delete.
+       (serial_ops::noflush_set_tty_state): Delete.
+
+2017-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * Makefile.in (SFILES): Remove doublest.c and dfp.c.
+       (HFILES_NO_SRCDIR): Remove doublest.h and dfp.h.
+       (COMMON_OBS): Remove doublest.o and dfp.o.
+       Do not build target-float.c (instead of doublest.c)
+       with -Wformat-nonliteral.
+
+       * doublest.c: Remove file.
+       * doublest.h: Remove file.
+       * dfp.c: Remove file.
+       * dfp.h: Remove file.
+
+       * target-float.c: Do not include "doublest.h" and "dfp.h".
+       (DOUBLEST): Move here from doublest.h.
+       (enum float_kind): Likewise.
+       (FLOATFORMAT_CHAR_BIT): Likewise.
+       (FLOATFORMAT_LARGEST_BYTES): Likewise.
+       (floatformat_totalsize_bytes): Move here from doublest.c.  Make static.
+       (floatformat_precision): Likewise.
+       (floatformat_normalize_byteorder, get_field, put_field): Likewise.
+       (floatformat_is_negative, floatformat_classify, floatformat_mantissa):
+       Likewise.
+       (host_float_format, host_double_format, host_long_double_format):
+       Likewise.
+       (floatformat_to_string, floatformat_from_string): Likewise.
+       (floatformat_to_doublest): Likewise.  Also, inline the original
+       convert_floatformat_to_doublest.
+       (floatformat_from_doublest): Likewise.  Also, inline the original
+       convert_floatformat_from_doublest.
+
+       Include "dpd/decimal128.h", "dpd/decimal64.h", and "dpd/decimal32.h".
+       (MAX_DECIMAL_STRING): Move here from dfp.c.
+       (match_endianness): Likewise.
+       (set_decnumber_context, decimal_check_errors): Likewise.
+       (decimal_from_number, decimal_to_number): Likewise.
+       (decimal_to_string, decimal_from_string): Likewise.  Make static.
+       (decimal_from_longest, decimal_from_ulongest): Likewise.
+       (decimal_to_longest): Likewise.
+       (decimal_binop, decimal_is_zero, decimal_compare): Likewise.
+       (decimal_convert): Likewise.
+
+2017-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * doublest.c: Do not include "gdbtypes.h".
+       (extract_typed_floating): Remove.
+       (store_typed_floating): Remove.
+       (convert_typed_floating): Remove.
+       * doublest.h (struct type): Remove.
+       (DOUBLEST_PRINT_FORMAT): Remove.
+       (DOUBLEST_SCAN_FORMAT): Remove.
+       (extract_typed_floating): Remove.
+       (store_typed_floating): Remove.
+       (convert_typed_floating): Remove.
+
+       * dfp.c (decimal_from_doublest): Remove.
+       (decimal_to_doublest): Remove.
+       * dfp.h: Do not include "doublest.h".
+       (decimal_from_doublest): Remove.
+       (decimal_to_doublest): Remove.
+
+       * value.c: Do not include "doublest.h" and "dfp.h".
+       (value_as_double): Remove.
+       (unpack_double): Remove.
+       (value_from_double): Remove.
+       (value_from_decfloat): Remove.
+       * value.h: Do not include "doublest.h".
+       (value_as_double): Remove.
+       (unpack_double): Remove.
+       (value_from_double): Remove.
+       (value_from_decfloat): Remove.
+
+2017-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * i386-tdep.c: Include "target-float.h".  Do not include "doublest.h".
+       (i386_extract_return_value): Use target_float_convert.
+       (i386_store_return_value): Likewise.
+       * i387-tdep.c (i387_register_to_value): Use target_float_convert.
+       (i387_value_to_register): Likewise.
+       * ia64-tdep.c: Include "target-float.h".  Do not include "doublest.h".
+       (ia64_register_to_value): Use target_float_convert.
+       (ia64_value_to_register): Likewise.
+       (ia64_extract_return_value): Likewise.
+       (ia64_store_return_value): Likewise.
+       (ia64_push_dummy_call): Likewise.
+       * m68k-tdep.c: Include "target-float.h".
+       (m68k_register_to_value): Use target_float_convert.
+       (m68k_value_to_register): Likewise.
+       (m68k_svr4_extract_return_value): Likewise.
+       (m68k_svr4_store_return_value): Likewise.
+       * ppc-sysv-tdep.c: Include "target-float.h".
+       (ppc_sysv_abi_push_dummy_call): Use target_float_convert.
+       (do_ppc_sysv_return_value): Likewise.
+       (ppc64_sysv_abi_push_freg): Likewise.
+       (ppc64_sysv_abi_return_value_base): Likewise.
+       * rs6000-aix-tdep.c: Include "target-float.h".
+       (rs6000_push_dummy_call): Use target_float_convert.
+       (rs6000_return_value): Likewise.
+       * rs6000-lynx178-tdep.c: Include "target-float.h".
+       (rs6000_lynx178_push_dummy_call): Use target_float_convert.
+       (rs6000_lynx178_return_value): Likewise.
+       * rs6000-tdep.c: Include "target-float.h".  Do not include "doublest.h".
+       (rs6000_register_to_value): Use target_float_convert.
+       (rs6000_value_to_register): Likewise.
+       * arm-tdep.c: Include "target-float.h".  Do not include "doublest.h".
+       (arm_extract_return_value): Use target_float_convert.
+       (arm_store_return_value): Likewise.
+       * sh-tdep.c: Include "target-float.h".  Do not include "doublest.h".
+       (sh_register_convert_to_virtual): Use target_float_convert.
+       (sh_register_convert_to_raw): Likewise.
+       * sh64-tdep.c: Include "target-float.h".
+       (sh64_extract_return_value): Use target_float_convert.
+       (sh64_register_convert_to_virtual): Likewise.
+       (sh64_register_convert_to_raw): Likewise.  Fix argument types.
+
+2017-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * target-float.c (floatformat_to_host_double): New function.
+       (floatformat_from_host_double): Likewise.
+       (target_float_to_host_double): Likewise.
+       (target_float_from_host_double): Likewise.
+       * target-float.h (target_float_to_host_double): Add prototype.
+       (target_float_from_host_double): Likewise.
+
+       * guile/scm-value.c: Include "target-float.h".
+       (gdbscm_value_to_real): Use target_float_to_host_double.
+       Handle integer source values via value_as_long.
+       * guile/scm-math.c: Include "target-float.h".  Do not include
+       "doublest.h", "dfp.h", and "expression.h".
+       (vlscm_convert_typed_number): Use target_float_from_host_double.
+       (vlscm_convert_number): Likewise.
+
+       * python/py-value.c (valpy_float): Use target_float_to_host_double.
+       (convert_value_from_python): Use target_float_from_host_double.
+
+2017-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ada-lang.c (cast_to_fixed): Reimplement in target arithmetic.
+       (cast_from_fixed): Likewise.
+       (ada_scaling_type): New function.
+       (ada_delta): Return value instead of DOUBLEST.  Perform target
+       arithmetic instead of host arithmetic.
+       (scaling_factor): Rename to ...
+       (ada_scaling_factor) ... this.  Make non-static.  Return value instead
+       of DOUBLEST.  Perform target arithmetic instead of host arithmetic.
+       (ada_fixed_to_float): Remove.
+       (ada_float_to_fixed): Remove.
+       * ada-lang.h (ada_fixed_to_float): Remove.
+       (ada_float_to_fixed): Remove.
+       (ada_delta): Return value instead of DOUBLEST.
+       (ada_scaling_factor): Add prototype.
+
+       * ada-typeprint.c: Include "target-float.h".
+       (print_fixed_point_type): Perform target arithmetic instead of
+       host arithmetic.
+       * ada-valprint.c: Include "target-float.h".
+       (ada_val_print_num): Perform target arithmetic instead of
+       host arithmetic for fixed-point types.
+
+2017-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * target-float.c: Include <math.h>.
+       (floatformat_binop): New function.
+       (floatformat_compare): Likewise.
+       (target_float_binop): Likewise.
+       (target_float_compare): Likewise.
+       * target-float.h: Include "expression.h".
+       (target_float_binop): Add prototype.
+       (target_float_compare): Likewise.
+
+       * valarith.c: Do not include "doublest.h" and "dfp.h".
+       Include "common/byte-vector.h".
+       (value_args_as_decimal): Remove, replace by ...
+       (value_args_as_target_float): ... this function.  Handle both
+       binary and decimal target floating-point formats.
+       (scalar_binop): Handle both binary and decimal FP using
+       value_args_as_target_float and target_float_binop.
+       (value_equal): Handle both binary and decimal FP using
+       value_args_as_target_float and target_float_compare.
+       (value_less): Likewise.
+       (value_pos): Handle all scalar types as simple copy.
+       (value_neg): Handle all scalar types via BINOP_SUB from 0.
+       * dfp.c (decimal_binop): Throw error instead of internal_error
+       when called with an unsupported operation code.
+
+2017-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * target-float.c (target_float_to_string): New function.
+       (target_float_from_string): New function.
+       * target-float.h (target_float_to_string): Add prototype.
+       (target_float_from_string): Add prototype.
+
+       * valprint.c: Include "target-float.h".  Do not include
+       "doublest.h" and "dfp.h".
+       (print_floating): Use target_float_to_string.
+       * printcmd.c: Include "target-float.h".  Do not include "dfp.h".
+       (printf_floating): Use target_float_to_string.
+       * i387-tdep.c: Include "target-float.h".  Do not include "doublest.h".
+       (print_i387_value): Use target_float_to_string.
+       * mips-tdep.c: Include "target-float.h".
+       (mips_print_fp_register): Use target_float_to_string.
+       * sh64-tdep.c: Include "target-float.h".
+       (sh64_do_fp_register): Use target_float_to_string.
+
+       * parse.c: Include "target-float.h".  Do not include
+       "doublest.h" and "dfp.h".
+       (parse_float): Use target_float_from_string.
+       * stabsread.c: Include "target-float.h".  Do not include "doublest.h".
+       (define_symbol): Use target_float_from_string.
+       * gdbarch-selftests.c: Include "target-float.h".
+       (register_to_value_test): Use target_float_from_string.
+
+2017-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * Makefile.c (SFILES): Add target-float.c.
+       (HFILES_NO_SRCDIR): Add target-float.h.
+       (COMMON_OBS): Add target-float.o.
+       * target-float.h: New file.
+       * target-float.c: New file.
+
+       * doublest.c (floatformat_classify): Fix detection of float_zero.
+
+       * gdbtypes.c (is_floating_type): New function.
+       * gdbtypes.h (is_floating_type): Add prototype.
+
+       * value.c: Do not include "floatformat.h".
+       (unpack_double): Use target_float_is_valid.
+       (is_floating_value): New function.
+       * value.h (is_floating_value): Add prototype-
+
+       * valarith.c: Include "target-float.h".
+       (value_logical_not): Use target_float_is_zero.
+
+       * python/py-value.c: Include "target-float.h".
+       (valpy_nonzero): Use target_float_is_zero.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * h8300-tdep.c (h8300_push_dummy_call): Use std::vector.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * breakpoint.c (set_momentary_breakpoint): Return
+       breakpoint_up.
+       (until_break_command): Update.
+       (new_until_break_fsm): Change argument types to
+       breakpoint_up.
+       (set_momentary_breakpoint_at_pc): Return breakpoint_up.
+       (do_delete_breakpoint_cleanup, make_cleanup_delete_breakpoint):
+       Remove.
+       * infcmd.c (finish_forward): Update.
+       * breakpoint.h (set_momentary_breakpoint)
+       (set_momentary_breakpoint_at_pc): Return breakpoint_up.
+       (make_cleanup_delete_breakpoint): Remove.
+       (struct breakpoint_deleter): New.
+       (breakpoint_up): New typedef.
+       * infrun.c (insert_step_resume_breakpoint_at_sal_1): Update.
+       (insert_exception_resume_breakpoint): Update.
+       (insert_exception_resume_from_probe): Update.
+       (insert_longjmp_resume_breakpoint): Update.
+       * arm-linux-tdep.c (arm_linux_copy_svc): Update.
+       * elfread.c (elf_gnu_ifunc_resolver_stop): Update.
+       * infcall.c (call_function_by_hand_dummy): Update
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * c-typeprint.c (c_type_print_base): Use gdb::unique_xmalloc_ptr.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * linux-tdep.c (linux_core_info_proc_mappings): Use
+       gdb::def_vector.
+       (linux_get_siginfo_data): Return gdb::byte_vector.  Remove
+       "size" argument.
+       (linux_corefile_thread): Update.
+       (linux_make_corefile_notes): Remove unused variable.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * ppc-linux-tdep.c (ppc_linux_get_syscall_number): Use
+       gdb::byte_vector.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * objfiles.c (do_free_objfile_cleanup): Remove.
+       * compile/compile-object-load.c (compile_object_load): Update.
+       * objfiles.h (make_cleanup_free_objfile): Remove.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * sparc64-tdep.c (do_examine): Use gdb::def_vector.
+       (adi_read_versions): Change "tags" to "gdb_byte *".
+       (adi_print_versions): Likewise.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * breakpoint.c
+       (scoped_rbreak_breakpoints::scoped_rbreak_breakpoints): Rename
+       from start_rbreak_breakpoints.
+       (scoped_rbreak_breakpoints): Rename from end_rbreak_breakpoints.
+       * breakpoint.h (class scoped_rbreak_breakpoints): New.
+       (start_rbreak_breakpoints, end_rbreak_breakpoints): Remove.
+       * symtab.c (do_end_rbreak_breakpoints): Remove.
+       (rbreak_command): Use scoped_rbreak_breakpoints, std::string.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * cp-namespace.c (reset_directive_searched): Remove.
+       (cp_lookup_symbol_via_imports): Use scoped_restore.
+       * cp-support.c (reset_directive_searched): Remove.
+       (make_symbol_overload_list_using): Use scoped_restore.
+       * d-namespace.c (d_lookup_symbol_imports): Use scoped_restore.
+       (reset_directive_searched): Remove.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (find_separate_debug_file_by_debuglink): Use
+       unique_xmalloc_ptr.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * compile/compile-loc2c.c (compute_stack_depth_worker): Change
+       type of "info".
+       (compute_stack_depth): Likewise.
+       (do_compile_dwarf_expr_to_c): Use std::vector.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * compile/compile-object-load.c (link_callbacks_einfo): Use
+       std::string.
+
+2017-11-04  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (process_full_comp_unit, process_full_type_unit):
+       Use scoped_free_pendings.
+       * dbxread.c (dbx_symfile_read, dbx_psymtab_to_symtab_1): Use
+       scoped_free_pendings.
+       * xcoffread.c (xcoff_psymtab_to_symtab_1): Use scoped_free_pendings.
+       (xcoff_initial_scan): Likewise.
+       * buildsym.c (reset_symtab_globals): Update comment.
+       (scoped_free_pendings): Rename from really_free_pendings.
+       (prepare_for_building): Update comment.
+       (buildsym_init): Likewise.
+       * buildsym.h (class scoped_free_pendings): New class.
+       (really_free_pendings): Don't declare.
+
+2017-11-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * doublest.c (convert_doublest_to_floatformat): Fix uninitialized
+       output when converting a zero value to a special byteorder format.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * frame.c (do_frame_register_read): Remove aspace.
+       * jit.c (jit_frame_sniffer): Likwise.
+       * ppc-linux-tdep.c (ppu2spu_sniffer): Likewise.
+       * regcache.c (regcache::regcache): Pass nullptr.
+       (regcache_print): Caller updated.
+       * regcache.h (regcache::regcache): Remove one constructor
+       parameter aspace.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.h (regcache) <m_readonly_p>: Change it to const bool.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * breakpoint.c (insert_single_step_breakpoints): Update.
+       * frame.c (struct frame_info) <aspace>: Add const.
+       (frame_save_as_regcache): Add const.
+       (get_frame_address_space): Return const address_space *.
+       * frame.h (get_frame_address_space): Update declaration.
+       * infrun.c (struct step_over_info) <aspace>: Add const.
+       (set_step_over_info): Make aspace const.
+       (displaced_step_prepare_throw): Change variable const.
+       (resume): Likewise.
+       (proceed): Likewise.
+       (adjust_pc_after_break): Likewise.
+       (save_waitstatus): Likewise.
+       (handle_signal_stop): Likewise.
+       (keep_going_pass_signal): Likewise.
+       * jit.c (jit_frame_sniffer): Add const.
+       * mips-tdep.c (mips_single_step_through_delay): Likewise.
+       * ppc-linux-tdep.c (ppu2spu_sniffer): Likewise.
+       * record-full.c (record_full_wait_1): Likewise.
+       * regcache.c (regcache::regcache): Change parameter to const.
+       * regcache.h (regcache::regcache): Likewise.
+       (regcache::aspace): Return const address_space *.
+       (regcache) <m_aspace>: Add const.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * darwin-nat.c (cancel_breakpoint): Use regcache->aspace ().
+       * frame.c (create_sentinel_frame): Likewise.
+       * infrun.c (displaced_step_prepare_throw): Likewise.
+       (resume): Likewise.
+       (thread_still_needs_step_over_bp): Likewise.
+       (proceed): Likewise.
+       (do_target_wait): Likewise.
+       (adjust_pc_after_break): Likewise.
+       (handle_syscall_event): Likewise.
+       (save_waitstatus): Likewise.
+       (handle_inferior_event_1): Likewise.
+       (handle_signal_stop): Likewise.
+       (keep_going_pass_signal): Likewise.
+       * linux-nat.c (status_callback): Likewise.
+       (save_stop_reason): Likewise.
+       (resume_stopped_resumed_lwps): Likewise.
+       * record-full.c (record_full_exec_insn): Likewise.
+       (record_full_wait_1): Likewise.
+       * regcache.c (get_regcache_aspace): Remove.
+       * regcache.h (get_regcache_aspace): Remove.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (struct regcache_descr) <nr_raw_registers>: Remove.
+       (init_regcache_descr): Use gdbarch_num_regs.
+       (regcache::regcache): Likewise.
+       (regcache::get_register_status): Likewise.
+       (regcache::assert_raw_regnum): Likewise.
+       (regcache::cooked_read): Likewise.
+       (regcache::cooked_read_value): Likewise.
+       (regcache::cooked_write): Likewise.
+       (regcache::dump): Likewise.
+       (regcache::num_raw_registers): New method.
+       * regcache.h (class regcache) <num_raw_registers>: New.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (regcache::assert_regnum): New method.
+       (regcache::invalidate): Call assert_regnum.
+       (regcache::raw_update): Likewise.
+       (regcache::raw_write): Likewise.
+       (regcache::raw_read_part): Likewise.
+       (regcache::raw_write_part): Likewise.
+       (regcache::raw_supply): Likewise.
+       (regcache::raw_supply_integer): Likewise.
+       (regcache::raw_supply_zeroed): Likewise.
+       (regcache::raw_collect): Likewise.
+       (regcache::raw_collect_integer): Likewise.
+       * regcache.h (regcache::assert_regnum): Declare.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (regcache::dump): Remove code.
+
+2017-11-02  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (struct regcache_descr) <sizeof_raw_register_status>:
+       Remove.
+       <sizeof_cooked_register_status>: Remove.
+       (init_regcache_descr): Update.
+       (regcache::regcache): Use nr_cooked_registers and nr_raw_registers.
+       (regcache::save): Likewise.
+       (regcache::dump): Likewise.
+
+2017-11-01  James Bowman  <james.bowman@ftdichip.com>
+
+       * ft32-tdep.c (ft32_fetch_instruction): New function.
+       (ft32_analyze_prologue): Use ft32_fetch_instruction().
+
+2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * cli/cli-script.c (execute_control_command): Rename to ...
+       (execute_control_command_1): ... this.
+       (execute_control_command): New function.
+
+2017-10-31  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * tracepoint.c (tfind_command): Remove const_cast.
+
+2017-10-30  Mike Gulick  <mgulick@mathworks.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove reference to gdb.h.
+
+2017-10-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/common-utils.h (in_inclusive_range): New function.
+       * arm-tdep.c (arm_record_extension_space): Use
+       in_inclusive_range.
+       (thumb_record_ld_st_reg_offset): Use in_inclusive_range.
+       * cris-tdep.c (cris_spec_reg_applicable): Use
+       in_inclusive_range.
+
 2017-10-30  Pedro Alves  <palves@redhat.com>
            Simon Marchi <simon.marchi@ericsson.com>
 
This page took 0.043298 seconds and 4 git commands to generate.