* win32-nat.c: Perform various gcc warning cleanups.
authorChristopher Faylor <me+cygwin@cgf.cx>
Sun, 6 Aug 2000 23:25:32 +0000 (23:25 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Sun, 6 Aug 2000 23:25:32 +0000 (23:25 +0000)
commit9d3789f7f1a87f0e9a7c9d298819f537413b9549
treeb38bf8e1315a57bc258c097672995ab0a0f35f4a
parent463f102c0a566f0306272f11b5fdbfd460bc3d09
* win32-nat.c: Perform various gcc warning cleanups.
(safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not stderr.
(dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add.
(get_child_debug_event): Always reset last_sig.  Always reset inferior pid
appropriately.
(do_initial_child_stuff): New function.  Called when attaching or starting a
new inferior process.
(child_attach): Use do_initial_child_stuff.
(child_create_inferior): Ditto.
* config/i386/cygwin.mh (NAT_FILE): Set to modern location.
* config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT.
gdb/ChangeLog
gdb/config/i386/cygwin.mh
gdb/config/i386/tm-cygwin.h
gdb/win32-nat.c
gdb/windows-nat.c