OSDN Git Service

gdb/
authordrow <drow>
Tue, 17 Jun 2003 20:28:12 +0000 (20:28 +0000)
committerdrow <drow>
Tue, 17 Jun 2003 20:28:12 +0000 (20:28 +0000)
commit6a92f86bdaee9dc631dc27cac1bbdae45f0268b9
treea2bf45b812375cf2120d4962d29ffb3190afeb71
parent1ad22f490137773bcb8083f5e8692c2e4262dfdc
gdb/
        * NEWS: Mention gdbserver detach change and "disconnect" command.
        * infcmd.c (disconnect_command): New function.
        (_initialize_infcmd): Add ``disconnect'' command.
        * remote.c (remote_async_detach): Delete.
        (remote_detach): Merge remote_async_detach.
        (remote_disconnect): New.
        (init_remote_ops): Set to_disconnect.
        (init_remote_cisco_ops): Likewise.
        (init_remote_async_ops): Likewise.  Use remote_detach.
        * target.c (cleanup_target): Default to_disconnect.
        (update_current_target): Inherit to_disconnect.
        (target_disconnect, debug_to_disconnect): New functions.
        (setup_target_debug): Set to_disconnect.
        * target.h (struct target_ops): Add to_disconnect.
        (target_disconnect): Add prototype.
gdbserver/
* linux-low.c: Move comment to linux_thread_alive where it belonged.
(linux_detach_one_process, linux_detach): New functions.
(linux_target_ops): Add linux_detach.
* server.c (main): Handle 'D' packet.
* target.h (struct target_ops): Add "detach" member.
(detach_inferior): Define.
mi/
        * mi-cmds.c (mi_cmds): Add "-target-disconnect".
12 files changed:
gdb/ChangeLog
gdb/NEWS
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/server.c
gdb/gdbserver/target.h
gdb/infcmd.c
gdb/mi/ChangeLog
gdb/mi/mi-cmds.c
gdb/remote.c
gdb/target.c
gdb/target.h