/* Remote target communications for serial-line targets in custom GDB protocol
- Copyright 1999, Free Software Foundation, Inc.
+ Copyright 1999 Free Software Foundation, Inc.
This file is part of GDB.
FOREVER, wait forever rather than timing out; this is used while
the target is executing user code. */
-extern void getpkt (char *buf, int forever);
+extern void getpkt (char *buf, long sizeof_buf, int forever);
/* Send a packet to the remote machine, with error checking. The data
of the packet is in BUF. The string in BUF can be at most PBUFSIZ
/* Send HEX encoded string to the target console. (gdb_stdtarg) */
-extern void remote_console_output PARAMS ((char *));
+extern void remote_console_output (char *);
/* FIXME: cagney/1999-09-20: The remote cisco stuff in remote.c needs
bfd_signed_vma data_off,
bfd_signed_vma bss_off);
+extern void async_remote_interrupt_twice (void *arg);
+
+extern int remote_write_bytes (CORE_ADDR memaddr, char *myaddr, int len);
+
+extern int remote_read_bytes (CORE_ADDR memaddr, char *myaddr, int len);
+
+extern void (*deprecated_target_resume_hook) (void);
+extern void (*deprecated_target_wait_loop_hook) (void);
+
#endif