* symfile.c (reread_symbols): When re-reading symbols, do all the
[binutils-gdb.git] / gdb / remote-es.c
index f61c1eb3db0d6c7760b3f228592fed75b3124008..acff4e3aa5e9020e7799848a0a6514a4560ed008 100644 (file)
@@ -106,6 +106,7 @@ STP
 #include "wait.h"
 #include "terminal.h"
 #include "command.h"
+#include "remote-utils.h"
 
 #ifdef USG
 #include <sys/types.h>
@@ -364,7 +365,7 @@ es1800_open (name, from_tty)
   char buf[PBUFSIZ];
   char *p;
   int i, fcflag;
-  char *baudrate;
+  char baudrate[1024];
 
   m68020 = 0;
 
@@ -372,7 +373,7 @@ es1800_open (name, from_tty)
     {
       error_no_arg ("serial port device name");
     }
-  baudrate = baud_rate ? baud_rate : "19200";  /* default baudrate = 19200 */
+  sprintf(baudrate, "%d", sr_get_baud_rate());
 
   target_preopen (from_tty);
   es1800_close (0);
@@ -1429,7 +1430,7 @@ es1800_load (filename, from_tty)
        error ("Downloading format not defined\n");
     }
  
-  mark_breakpoints_out ();
+  breakpoint_init_inferior ();
   inferior_pid = 0;
   if (from_tty)
     {
@@ -2249,8 +2250,6 @@ Specify the serial device it is connected to (e.g. /dev/ttya).",
   OPS_MAGIC                    /* to_magic (always last) */
 };
 
-/* _initialize_es1800 ()  */
-
 void
 _initialize_es1800 ()
 {