OSDN Git Service

* win32-nat.c: Perform various gcc warning cleanups.
authorcgf <cgf>
Sun, 6 Aug 2000 23:25:32 +0000 (23:25 +0000)
committercgf <cgf>
Sun, 6 Aug 2000 23:25:32 +0000 (23:25 +0000)
commit3c6941f87c3edbfa2d19f74f15ca06b23206b651
tree6078cb131d180965a5902c25f0956ecf56b55df8
parent8af542c5ff21ffd0f803c269ae535579378a9272
* 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