* win32-low.c (attaching): New global.
authorPedro Alves <palves@redhat.com>
Mon, 3 Dec 2007 01:42:06 +0000 (01:42 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 3 Dec 2007 01:42:06 +0000 (01:42 +0000)
commitd97903b2907f54331ab37e90b62bc19b433dd387
tree24cbe8368cc7610c09c76900627a19b492a7195a
parent311de423583467dedb68fc24fc114440f51197a6
* win32-low.c (attaching): New global.
(win32_create_inferior): Clear the `attaching' global.
(win32_attach): Set the `attaching' global.
(get_child_debug_event) [_WIN32_WCE]: Stop the inferior when
attaching.  Only set a breakpoint at the entry point if not
attaching.
gdb/gdbserver/ChangeLog
gdb/gdbserver/win32-low.c