forked from Imagelibrary/binutils-gdb
Windows gdb: Dead code in windows_nat_target::do_initial_windows_stuff
In windows_nat_target::do_initial_windows_stuff, there's no point in setting windows_process.current_event.dwProcessId. It's a nop, given the following memset. Change-Id: I2fe460341b598ad293ea60d5f702b10cefc30711
This commit is contained in:
@@ -1900,7 +1900,6 @@ windows_nat_target::do_initial_windows_stuff (DWORD pid, bool attaching)
|
|||||||
windows_process.cygwin_load_start = 0;
|
windows_process.cygwin_load_start = 0;
|
||||||
windows_process.cygwin_load_end = 0;
|
windows_process.cygwin_load_end = 0;
|
||||||
#endif
|
#endif
|
||||||
windows_process.current_event.dwProcessId = pid;
|
|
||||||
memset (&windows_process.current_event, 0,
|
memset (&windows_process.current_event, 0,
|
||||||
sizeof (windows_process.current_event));
|
sizeof (windows_process.current_event));
|
||||||
inf = current_inferior ();
|
inf = current_inferior ();
|
||||||
|
|||||||
Reference in New Issue
Block a user