* win32-nat.c (set_process_privilege): New function.
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 10 Jan 2003 20:14:02 +0000 (20:14 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 10 Jan 2003 20:14:02 +0000 (20:14 +0000)
commit616a9dc4c0906f42e1b35e94f5e2e200f561f1e9
tree41d71d16dffc1e33d0ad1702a2da3894e86321b0
parent3269bcfa1ceb437ea6a0c4cd90c7f28ca2c2454c
* win32-nat.c (set_process_privilege): New function.
(child_attach): Call set_process_privilege() to enable the
SE_DEBUG_NAME user privilege if available in process token.
gdb/ChangeLog
gdb/win32-nat.c
gdb/windows-nat.c