aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2000-08-06 23:25:32 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2000-08-06 23:25:32 +0000
commit9d3789f7f1a87f0e9a7c9d298819f537413b9549 (patch)
treeb38bf8e1315a57bc258c097672995ab0a0f35f4a /gdb/config
parent463f102c0a566f0306272f11b5fdbfd460bc3d09 (diff)
downloadgdb-9d3789f7f1a87f0e9a7c9d298819f537413b9549.zip
gdb-9d3789f7f1a87f0e9a7c9d298819f537413b9549.tar.gz
gdb-9d3789f7f1a87f0e9a7c9d298819f537413b9549.tar.bz2
* 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.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/cygwin.mh2
-rw-r--r--gdb/config/i386/tm-cygwin.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/gdb/config/i386/cygwin.mh b/gdb/config/i386/cygwin.mh
index 8eb0d6d..54126f0 100644
--- a/gdb/config/i386/cygwin.mh
+++ b/gdb/config/i386/cygwin.mh
@@ -2,5 +2,5 @@ MH_CFLAGS=
XM_FILE=xm-cygwin.h
XDEPFILES=
NATDEPFILES= win32-nat.o
-NAT_FILE=../nm-empty.h
+NAT_FILE=../none/nm-none.h
XM_CLIBS=
diff --git a/gdb/config/i386/tm-cygwin.h b/gdb/config/i386/tm-cygwin.h
index 5ae97bb..bc3068d 100644
--- a/gdb/config/i386/tm-cygwin.h
+++ b/gdb/config/i386/tm-cygwin.h
@@ -30,6 +30,7 @@
extern CORE_ADDR skip_trampoline_code (CORE_ADDR pc, char *name);
#endif
+#define ATTACH_NO_WAIT
#define SOLIB_ADD(filename, from_tty, targ) child_solib_add(filename, from_tty, targ)
#define SOLIB_LOADED_LIBRARY_PATHNAME(pid) child_solib_loaded_library_pathname(pid)
#define CLEAR_SOLIB child_clear_solib