* win32-low.c (win32_attach): Call OpenProcess before
authorPedro Alves <palves@redhat.com>
Mon, 3 Dec 2007 01:30:59 +0000 (01:30 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 3 Dec 2007 01:30:59 +0000 (01:30 +0000)
commit5ca906e670f32a201fa670a56705a3284659a206
treebd35547fd9da444b9a46cd065ddab60968be47c0
parent9c6c8194694da164762ba5ad7553ca73c65ede1d
* win32-low.c (win32_attach): Call OpenProcess before
DebugActiveProcess, not after.  Add last error output to error
call.
gdb/gdbserver/ChangeLog
gdb/gdbserver/win32-low.c