Add target_ops argument to to_close
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e8521c9ac171e01b14a4603064f23ba0dac676fe..a98901b10ead64c25adaf78e774f435b94aaab63 100644 (file)
@@ -1,3 +1,285 @@
+2014-02-19  Tom Tromey  <tromey@redhat.com>
+
+       * windows-nat.c (windows_close): Add 'self' argument.
+       * tracepoint.c (tfile_close): Add 'self' argument.
+       * target.h (struct target_ops) <to_close>: Add argument.
+       * target.c (target_close): Add argument.
+       (update_current_target): Update.
+       * remote.c (remote_close): Add 'self' argument.
+       * remote-sim.c (gdbsim_close): Add 'self' argument.
+       * remote-mips.c (mips_close): Add 'self' argument.
+       * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
+       * record-full.c (record_full_close): Add 'self' argument.
+       * record-btrace.c (record_btrace_close): Add 'self' argument.
+       * monitor.h (monitor_close): Add 'self' argument.
+       * monitor.c (monitor_close): Add 'self' argument.
+       * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
+       * linux-nat.c (linux_nat_close): Add argument.
+       * go32-nat.c (go32_close): Add 'self' argument.
+       * exec.c (exec_close_1): Add 'self' argument.
+       * ctf.c (ctf_close): Add 'self' argument.
+       * corelow.c (core_close): Add 'self' argument.
+       (core_close_cleanup): Update.
+       * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
+       * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
+
+2014-02-19  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (remote_load): New function.
+       (init_remote_ops): Use it.
+
+2014-02-19  Tom Tromey  <tromey@redhat.com>
+
+       * common/linux-btrace.c (linux_supports_btrace): Add "ops"
+       argument.
+       * common/linux-btrace.h (linux_supports_btrace): Update.
+       * remote.c (remote_supports_btrace): Add "self" argument.
+       * target-delegates.c: Rebuild.
+       * target.c (target_supports_btrace): Remove.
+       * target.h (struct target_ops) <to_supports_btrace>: Add
+       target_ops argument.
+       (target_supports_btrace): New define.
+
+2014-02-19  Tom Tromey  <tromey@redhat.com>
+
+       * record-full.c (record_full_beneath_to_resume_ops)
+       (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
+       (record_full_beneath_to_wait)
+       (record_full_beneath_to_store_registers_ops)
+       (record_full_beneath_to_store_registers)
+       (record_full_beneath_to_xfer_partial_ops)
+       (record_full_beneath_to_xfer_partial)
+       (record_full_beneath_to_insert_breakpoint_ops)
+       (record_full_beneath_to_insert_breakpoint)
+       (record_full_beneath_to_remove_breakpoint_ops)
+       (record_full_beneath_to_remove_breakpoint)
+       (record_full_beneath_to_stopped_by_watchpoint)
+       (record_full_beneath_to_stopped_data_address)
+       (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
+       (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
+       (tmp_to_store_registers, tmp_to_xfer_partial_ops)
+       (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
+       (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
+       (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
+       (tmp_to_stopped_data_address, tmp_to_async): Remove.
+       (record_full_open_1, record_full_open): Update.  Use RECORD_IS_USED.
+       (record_full_resume, record_full_wait_1)
+       (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
+       (record_full_store_registers, record_full_xfer_partial)
+       (record_full_insert_breakpoint, record_full_remove_breakpoint)
+       (record_full_async, record_full_core_xfer_partial): Use target
+       delegation.
+       * target-delegates.c: Rebuild.
+       * target.c (current_xfer_partial): Remove.
+       (update_current_target): Do not INHERIT or de_fault
+       to_insert_breakpoint, to_remove_breakpoint,
+       to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
+       to_is_async_p, to_async.  Do not set to_xfer_partial field.
+       (default_xfer_partial): Simplify.
+       (current_xfer_partial): Remove.
+       (target_wait, target_resume): Simplify.
+       (find_default_can_async_p, find_default_is_async_p): Update.
+       (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
+       to_xfer_partial, to_stopped_by_watchpoint,
+       to_stopped_data_address.
+       (target_store_registers): Simplify.
+       (forward_target_remove_breakpoint)
+       (forward_target_insert_breakpoint): Remove.
+       (target_remove_breakpoint, target_insert_breakpoint)
+       (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
+       * target.h (struct target_ops) <to_resume, to_wait,
+       to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
+       to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
+       to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
+       markup.
+       (forward_target_remove_breakpoint)
+       (forward_target_insert_breakpoint): Remove.
+       * record-btrace.c (record_btrace_remove_breakpoint): Delegate
+       directly.
+       (record_btrace_insert_breakpoint): Delegate directly.
+
+2014-02-19  Tom Tromey  <tromey@redhat.com>
+
+       PR build/7701:
+       * target-delegates.c: New file.
+       * target.c: Include target-delegates.c.
+       (init_dummy_target): Call install_dummy_methods.
+       (complete_target_initialization): Call install_delegators.
+       * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
+       (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
+       * make-target-delegates: New file.
+
+2014-02-19  Tom Tromey  <tromey@redhat.com>
+
+       * record.c (find_record_target): Use find_target_at.
+       * target.c (find_target_at): New function.
+       * target.h (find_target_at): Declare.
+
+2014-02-19  Tom Tromey  <tromey@redhat.com>
+
+       * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
+       Add 'ops' argument.
+       * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
+       'ops' argument.
+       * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
+       * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
+       'ops' argument.
+       * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
+       argument.
+       * linux-nat.c (save_sigtrap): Update.
+       (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
+       (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
+       (linux_nat_close): Update.
+       * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
+       argument.
+       * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
+       argument.
+       * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
+       * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
+       (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
+       (tmp_to_async): Add 'ops' argument.
+       (record_full_stopped_by_watchpoint, record_full_async)
+       (record_full_can_async_p, record_full_is_async_p): Add 'ops'
+       argument.
+       * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
+       (m32r_stopped_by_watchpoint): Add 'ops' argument.
+       * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
+       * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
+       (remote_is_async_p, remote_async): Add 'ops' argument.
+       (remote_stopped_data_address): Update.
+       * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
+       * target.c (update_current_target)
+       (find_default_can_async_p, find_default_is_async_p): Update.
+       (init_dummy_target): Update.
+       (debug_to_stopped_by_watchpoint): Add 'ops' argument.
+       * target.h (struct target_ops) <to_stopped_by_watchpoint,
+       to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
+       (target_can_async_p, target_is_async_p, target_async)
+       (target_stopped_by_watchpoint): Update.
+
+2014-02-19  Yao Qi  <yao@codesourcery.com>
+
+       PR gdb/16220
+       * gdbarch.sh: Remove startup_gdbarch.
+       * gdbarch.c: Regenerated.
+       * gdbarch.h: Likewise.
+
+2014-02-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * rl78-tdep.c (rl78_g10_register_name): New function.
+       (rl78_return_value): Add g10 support.
+       (rl78_gdbarch_init): Register rl78_g10_register_name for the
+       g10.
+
+2014-02-17  Doug Evans  <xdje42@gmail.com>
+
+       * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
+       (SUBDIR_GUILE_SRCS): Ditto.
+       (scm-gsmob.o): Ditto.
+
+2014-02-17  Yao Qi  <yao@codesourcery.com>
+
+       * gnu-nat.c (ILL_RPC): Declare defined function.
+
+2014-02-17  Yao Qi  <yao@codesourcery.com>
+
+       * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
+       mach_msg_type_number_t.
+       (gnu_write_inferior): Likewise.
+
+2014-02-17  Yao Qi  <yao@codesourcery.com>
+
+       * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
+       in format string.
+       (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
+       (inf_validate_procs, inf_signal): Likewise.
+       (S_exception_raise_request): Likewise.
+       (do_mach_notify_dead_name): Likewise.
+       (steal_exc_port): Likewise.
+       (gnu_read_inferior): Change 'copy_count''s type to
+       mach_msg_type_number_t.
+       (gnu_write_inferior): Likewise.  Use 'lx' instead of 'x' in
+       format string.
+
+2014-02-16  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
+       flag.  Adjust all users; in particular...
+       (gnu_wait): ..., don't decrement its value in here...
+       (gnu_create_inferior): ..., and instead set the flag in here,
+       around the startup_inferior call, and call that one with
+       START_INFERIOR_TRAPS_EXPECTED.
+
+       * gnu-nat.c (ill_rpc): Remove function; replaced with this...
+       (ILL_RPC): ... new macro.
+       (do_mach_notify_no_senders, do_mach_notify_port_deleted)
+       (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
+       (do_mach_notify_send_once, S_proc_setmsgport_reply)
+       (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
+       functions with ILL_RPC macro.
+       (S_proc_pid2task_reply, S_proc_task2pid_reply)
+       (S_proc_task2proc_reply, S_proc_proc2task_reply)
+       (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
+       (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
+       (S_proc_getloginid_reply, S_proc_getloginpids_reply)
+       (S_proc_getlogin_reply, S_proc_getsid_reply)
+       (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
+       (S_proc_getsidport_reply, S_proc_getpgrp_reply)
+       (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
+       (S_proc_getnports_reply, S_proc_is_important_reply)
+       (S_proc_get_code_reply): New stub functions, generated with
+       ILL_RPC macro.
+
+       * reply_mig_hack.awk: In phase 5, keep going if we have not yet
+       collected the type check structures.
+
+       * reply_mig_hack.awk: Don't expect to see the auto keyword.
+
+2014-02-14  Doug Evans  <dje@google.com>
+
+       * target.c (target_write_partial): Fix result type.
+
+2014-02-14  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
+       the proper offsets to access fpregset_t.
+
+2014-02-13  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
+       (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
+       * h8300-tdep.c (setmachinelist): Remove global.
+       * hppa-tdep.c (hppa_sigtramp): Remove global.
+       * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
+       RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
+       * ravenscar-thread.c (update_target_observer): Remove global.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * common/rsp-low.c: Update comments.
+       * common/rsp-low.h: Update comments.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * common/rsp-low.c (convert_ascii_to_int): Remove.
+       * common/rsp-low.h (convert_ascii_to_int): Don't declare.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * common/rsp-low.h (unhexify): Don't declare.
+       * common/rsp-low.c (unhexify): Remove.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * common/rsp-low.h (convert_int_to_ascii): Don't declare.
+       * common/rsp-low.c (convert_int_to_ascii): Remove.
+
+2014-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * common/rsp-low.h (hexify): Don't declare.
+       * common/rsp-low.c (hexify): Remove.
+
 2014-02-12  Tom Tromey  <tromey@redhat.com>
 
        * common/rsp-low.c (hexify): Never take strlen of argument.
This page took 0.026893 seconds and 4 git commands to generate.