Whoops, forgot to commit this yesterday:
[deliverable/binutils-gdb.git] / gdb / sparclet-rom.c
index 937e57c4e168fe5c41d37edceab5672734749948..071bf89f2a2a77b1b0986a1b91b586718332c6b1 100644 (file)
@@ -105,7 +105,7 @@ sparclet_supply_register (char *regname, int regnamelen, char *val, int vallen)
 }
 
 static void
-sparclet_load (serial_t desc, char *file, int hashmark)
+sparclet_load (struct serial *desc, char *file, int hashmark)
 {
   bfd *abfd;
   asection *s;
@@ -173,7 +173,7 @@ sparclet_load (serial_t desc, char *file, int hashmark)
 
            bfd_get_section_contents (abfd, s, buf, i, numbytes);
 
-           SERIAL_WRITE (desc, buf, numbytes);
+           serial_write (desc, buf, numbytes);
 
            if (hashmark)
              {
This page took 0.023739 seconds and 4 git commands to generate.