diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-07-15 20:34:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-07-15 20:34:14 +0000 |
commit | 2cd58942b9bf50ccde261085d8a2b3e7ced88e5e (patch) | |
tree | 9782ed43082f4838f54567f55f29e64ed1cd3312 /gdb/dsrec.c | |
parent | ea7c478fe2e8aac579da890b1861677fa6bea5eb (diff) | |
download | gdb-2cd58942b9bf50ccde261085d8a2b3e7ced88e5e.zip gdb-2cd58942b9bf50ccde261085d8a2b3e7ced88e5e.tar.gz gdb-2cd58942b9bf50ccde261085d8a2b3e7ced88e5e.tar.bz2 |
* serial.h (SERIAL_ASYNC): Delete.
(DEPRECATED_SERIAL_FD): Delete.
(SERIAL_DEBUG): Delete.
(SERIAL_DEBUG_P): Delete.
(SERIAL_DRAIN_OUTPUT): Delete.
(SERIAL_FLUSH_OUTPUT): Delete.
(SERIAL_FLUSH_INPUT): Delete.
(SERIAL_SEND_BREAK): Delete.
(SERIAL_RAW): Delete.
(SERIAL_GET_TTY_STATE): Delete.
(SERIAL_SET_TTY_STATE): Delete.
(SERIAL_PRINT_TTY_STATE): Delete.
(SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
(SERIAL_SETBAUDRATE): Delete.
(SERIAL_SETSTOPBITS): Delete.
(SERIAL_CAN_ASYNC_P): Delete.
(SERIAL_IS_ASYNC_P): Delete.
(SERIAL_UN_FDOPEN): Delete.
(SERIAL_READCHAR): Delete.
(SERIAL_CLOSE): Delete.
(SERIAL_FDOPEN): Delete.
(SERIAL_OPEN): Delete.
Diffstat (limited to 'gdb/dsrec.c')
-rw-r--r-- | gdb/dsrec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/dsrec.c b/gdb/dsrec.c index 01fba79..5f2c2d7 100644 --- a/gdb/dsrec.c +++ b/gdb/dsrec.c @@ -84,7 +84,7 @@ load_srec (struct serial *desc, const char *file, bfd_vma load_offset, srec[reclen] = '\0'; puts_debug ("sent -->", srec, "<--"); } - SERIAL_WRITE (desc, srec, reclen); + serial_write (desc, srec, reclen); for (s = abfd->sections; s; s = s->next) if (s->flags & SEC_LOAD) @@ -121,7 +121,7 @@ load_srec (struct serial *desc, const char *file, bfd_vma load_offset, acknowledgement is sent back. */ do { - SERIAL_WRITE (desc, srec, reclen); + serial_write (desc, srec, reclen); if (ui_load_progress_hook) if (ui_load_progress_hook (section_name, (unsigned long) i)) error ("Canceled the download"); @@ -157,14 +157,14 @@ load_srec (struct serial *desc, const char *file, bfd_vma load_offset, puts_debug ("sent -->", srec, "<--"); } - SERIAL_WRITE (desc, srec, reclen); + serial_write (desc, srec, reclen); /* Some monitors need these to wake up properly. (Which ones? -sts) */ - SERIAL_WRITE (desc, "\r\r", 2); + serial_write (desc, "\r\r", 2); if (remote_debug) puts_debug ("sent -->", "\r\r", "<---"); - SERIAL_FLUSH_INPUT (desc); + serial_flush_input (desc); report_transfer_performance (data_count, start_time, end_time); } |