Add a target_ops parameter to the to_kill method in struct target_ops.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 17 Mar 2009 19:28:09 +0000 (19:28 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 17 Mar 2009 19:28:09 +0000 (19:28 +0000)
commit7d85a9c0e3639345cb6d19c139ccb9da5095fc76
tree72a4cba16ffa78f6e727bde589b242829e4facab
parent14064aa202f80cd07434295c44268f44944859aa
    Add a target_ops parameter to the to_kill method in struct target_ops.

        * target.h (struct target_ops): Add a "target_ops *" parameter to
        method to_kill.
        (target_kill): Remove macro. Add declaration.
        * target.c (debug_to_kill): Delete, no longer necessary.
        (target_kill): New function.
        (update_current_target):  Stop inheriting the to_kill method.
        Do not de_fault it to no_process either.
        (setup_target_debug): Do not set current_target.to_kill.
        * gnu-nat.c, go32-nat.c, hpux-thread.c, inf-ptrace.c, inf-ttrace.c,
        linux-nat.c, monitor.c, nto-procfs.c, procfs.c, remote-m32r-sdi.c,
        remote-mips.c, remote-sim.c, remote.c, windows-nat.c: Update
        accordingly.
17 files changed:
gdb/ChangeLog
gdb/gnu-nat.c
gdb/go32-nat.c
gdb/hpux-thread.c
gdb/inf-ptrace.c
gdb/inf-ttrace.c
gdb/linux-nat.c
gdb/monitor.c
gdb/nto-procfs.c
gdb/procfs.c
gdb/remote-m32r-sdi.c
gdb/remote-mips.c
gdb/remote-sim.c
gdb/remote.c
gdb/target.c
gdb/target.h
gdb/windows-nat.c
This page took 0.028626 seconds and 4 git commands to generate.