OSDN Git Service

* config/i386/nm-cygwin.h (ATTACH_NO_WAIT): Delete.
authorPedro Alves <pedro@codesourcery.com>
Thu, 3 Jul 2008 17:38:08 +0000 (17:38 +0000)
committerPedro Alves <pedro@codesourcery.com>
Thu, 3 Jul 2008 17:38:08 +0000 (17:38 +0000)
commit24345209adfabb241bcefb238a1150fa6aa30a2a
tree299e99eda06fd531d7d59f32ac9d501dd0565734
parent53bc477281a697290ccd43e6310b93e952bf506d
* config/i386/nm-cygwin.h (ATTACH_NO_WAIT): Delete.
* config/i386/nm-i386gnu.h (ATTACH_NO_WAIT): Delete.

* target.h (struct target_ops): Add to_attach_no_wait member.
(target_attach_no_wait): New.
* target.c (update_current_target): Inherit to_attach_no_wait.

* infcmd.c: Replace ATTACH_NO_WAIT compile time check by
target_attach_no_wait runtime check.

* gnu-nat.c (init_gnu_ops): Set to_attach_no_wait in gnu_ops.
* win32-nat.c (init_win32_ops): Set to_attach_no_wait in
win32_ops.
gdb/ChangeLog
gdb/config/i386/nm-cygwin.h
gdb/config/i386/nm-i386gnu.h
gdb/gnu-nat.c
gdb/infcmd.c
gdb/target.c
gdb/target.h
gdb/win32-nat.c