Fix copyright comments and file comments.
[deliverable/binutils-gdb.git] / gdb / remote-sim.c
index 74728376dc1b217c9125c32697a015edcfffd370..dd231ad3ca6d7e981724709e3bc300d203e32dfb 100644 (file)
@@ -1,5 +1,5 @@
 /* Generic remote debugging interface for simulators.
-   Copyright 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
+   Copyright 1993, 1994, 1996, 1997, 2000 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
    Steve Chamberlain (sac@cygnus.com).
 
@@ -22,7 +22,7 @@
 
 #include "defs.h"
 #include "inferior.h"
-#include "wait.h"
+#include "gdb_wait.h"
 #include "value.h"
 #include "gdb_string.h"
 #include <ctype.h>
@@ -194,7 +194,7 @@ gdb_os_write_stdout (p, buf, len)
   int i;
   char b[2];
 
-  gdb_file_write (gdb_stdtarg, buf, len);
+  ui_file_write (gdb_stdtarg, buf, len);
   return len;
 }
 
@@ -560,6 +560,7 @@ gdbsim_close (quitting)
     }
 
   end_callbacks ();
+  generic_mourn_inferior ();
 }
 
 /* Takes a program previously attached to and detaches it.
This page took 0.024772 seconds and 4 git commands to generate.