+2016-12-09 Yao Qi <yao.qi@linaro.org>
+
+ PR tdep/20954
+ * rx-tdep.c (rx_psw_type): New function.
+ (rx_fpsw_type): New function.
+ (rx_register_type): Call rx_psw_type and rx_fpsw_type.
+ (rx_gdbarch_init): Move code to rx_psw_type and
+ rx_fpsw_type.
+
+2016-12-09 Yao Qi <yao.qi@linaro.org>
+
+ PR tdep/20953
+ * rl78-tdep.c (rl78_psw_type): New function.
+ (rl78_register_type): Call rl78_psw_type.
+ (rl78_gdbarch_init): Move code to rl78_psw_type.
+
+2016-12-09 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-tdep.c (instruction_reader::read): Call
+ read_code_unsigned_integer instead of
+ read_memory_unsigned_integer.
+
+2016-12-09 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c (skip_prologue_function): Call
+ read_code_unsigned_integer instead of
+ read_memory_unsigned_integer.
+ (thumb_analyze_prologue): Likewise.
+ (arm_analyze_load_stack_chk_guard): Likewise.
+ (arm_skip_stack_protector): Likewise.
+ (arm_analyze_prologue):Likewise.
+ (extend_buffer_earlier): Call target_read_code instead
+ of target_read_memory.
+ (arm_adjust_breakpoint_address): Likewise.
+
+2016-12-09 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gnu-nat.c (gnu_create_inferior): After startup_inferior, call
+ prune_threads.
+
+ * inferior.c (print_selected_inferior): Avoid PATH_MAX usage.
+
+2016-12-08 Simon Marchi <simon.marchi@ericsson.com>
+ Thomas Schwinge <thomas@codesourcery.com>
+
+ * gnu-nat.c (set_sig_thread_cmd): Use parse_thread_id instead of
+ global_thread_id_to_ptid.
+
+2016-12-08 Thomas Schwinge <thomas@codesourcery.com>
+
+ * config/i386/i386gnu.mh (%_S.o %_U.o): Add "-x c" to
+ "COMPILE.post".
+ * gnu-nat.c: #include Mach/Hurd headers before all others. Wrap
+ Mach/Hurd headers and MIG stubs' prototypes in 'extern "C"'.
+ * i386-gnu-nat.c: Likewise.
+
+ * gnu-nat.c (proc_get_exception_port, proc_set_exception_port)
+ (INF_RESUME_MSGPORT_RPC, proc_get_state, _proc_get_exc_port)
+ (proc_steal_exc_port, proc_restore_exc_port, make_proc)
+ (inf_startup, inf_set_pid, inf_validate_procinfo)
+ (inf_validate_task_sc, inf_set_traced, inf_validate_procs)
+ (inf_signal, inf_continue, gnu_wait, S_exception_raise_request)
+ (do_mach_notify_dead_name, S_proc_wait_reply)
+ (S_msg_sig_post_untraced_reply, S_msg_sig_post_reply)
+ (port_msgs_queued, gnu_read_inferior, gnu_write_inferior)
+ (gnu_find_memory_regions, steal_exc_port, thread_takeover_sc_cmd)
+ (flush_inferior_icache): Instead of "error_t" use "kern_return_t".
+ * i386-gnu-nat.c (fetch_fpregs, store_fpregs, i386_gnu_dr_get)
+ (i386_gnu_dr_set): Likewise.
+
+ * gnu-nat.c (set_task_pause_cmd, set_signals_cmd)
+ (set_exceptions_cmd): Add variants taking an "int arg" instead of
+ a "char *". Make the "char *" variants use the former.
+ (set_noninvasive_cmd): Also use the "int arg" variants.
+
+ * gnu-nat.c (gnu_create_inferior): Move nested "trace_me"
+ function...
+ (gnu_ptrace_me): ... here.
+
+ * i386-gnu-nat.c (i386_gnu_dr_set_control_one)
+ (i386_gnu_dr_set_addr_one): Explicitly cast "void *".
+
+2016-12-07 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gnu-nat.c (set_sig_thread_cmd): Call global_thread_id_to_ptid
+ instead of thread_id_to_pid.
+
+2016-12-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * inferior.c (inferior_command): Remove duplicate
+ find_inferior_id call.
+
+2016-12-06 Yao Qi <yao.qi@linaro.org>
+
+ * frame.c (frame_register_unwind): Set *realnump if *lvalp is
+ lval_register.
+ * value.c (deprecated_value_next_frame_id_hack): Assert
+ value->lval is lval_register.
+ (deprecated_value_regnum_hack): Likewise.
+
+2016-12-02 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * ui-out.h: Include "common/enum-flags.h".
+ (enum ui_flags): Rename to ...
+ (enum ui_out_flag): ... this.
+ (ui_out_flags): Define enum flag type.
+ (ui_out_test_flags): Change type of parameter to ui_out_flags.
+ (ui_out_new): Likewise.
+ * ui-out.c (ui_out_test_flags): Likewise.
+ (ui_out_new): Likewise.
+ * cli-out.c (cli_out_new): Update variable type.
+ * mi/mi-out.c (mi_out_new): Likewise.
+ * tui/tui-out.c (tui_out_new): Likewise.
+
+2016-12-02 Pedro Alves <palves@redhat.com>
+
+ * NEWS: Mention that user commands now accept an unlimited number
+ of arguments.
+ * cli/cli-script.c: Include <vector>.
+ (struct string_view): New type.
+ (MAXUSERARGS): Delete.
+ (struct user_args): Now a C++ class.
+ (user_args_stack): New.
+ (struct scoped_user_args_level): New type.
+ (execute_user_command): Use scoped_user_args_level.
+ (arg_cleanup): Delete.
+ (setup_user_args): Deleted, and refactored as ...
+ (user_args::user_args): ... this new constructor. Limit of number
+ of arguments removed.
+ (insert_user_defined_cmd_args): Defer to user_args_stack.
+ (user_args::insert_args): New, bits based on old
+ insert_user_defined_cmd_args with limit of number of arguments
+ eliminated.
+
+2016-12-02 Pedro Alves <palves@redhat.com>
+
+ PR cli/20559
+ * NEWS: Mention "eval" expands user-defined command arguments.
+ * cli/cli-script.c (execute_control_command): Adjust to rename.
+ (insert_args): Rename to ...
+ (insert_user_defined_cmd_args): ... this, and make extern.
+ * cli/cli-script.h (insert_user_defined_cmd_args): New
+ declaration.
+ * printcmd.c: Include "cli/cli-script.h".
+ (eval_command): Call insert_user_defined_cmd_args.
+
2016-12-02 Tom Tromey <tom@tromey.com>
PR symtab/16264: