aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-05-27 22:06:00 +0000
committerPedro Alves <palves@redhat.com>2010-05-27 22:06:00 +0000
commit176a69613a66850e64d44fd1a3c671c557ac9bcf (patch)
treefa690f5134800732f4e2b9832406d3fece952be2 /gdb/remote.h
parent88bfdde411c988853b8ec9f8699dcb614f7b079a (diff)
downloadgdb-176a69613a66850e64d44fd1a3c671c557ac9bcf.zip
gdb-176a69613a66850e64d44fd1a3c671c557ac9bcf.tar.gz
gdb-176a69613a66850e64d44fd1a3c671c557ac9bcf.tar.bz2
* remote.c (unpack_varlen_hex): Remove forward declaration.
(remote_console_output): Make static, and add forward declaration. * remote.h: Drop FIXME comment. (unpack_varlen_hex): Declare. (remote_console_output, remote_cisco_objfile_relocate) (deprecated_target_resume_hook, deprecated_target_wait_loop_hook): Delete declarations. * tracepoint.c: Include "remote.h". (unpack_varlen_hex): Delete declaration.
Diffstat (limited to 'gdb/remote.h')
-rw-r--r--gdb/remote.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/gdb/remote.h b/gdb/remote.h
index d480e26..cdf11fb 100644
--- a/gdb/remote.h
+++ b/gdb/remote.h
@@ -22,8 +22,6 @@
struct target_desc;
-/* FIXME?: move this interface down to tgt vector) */
-
/* Read a packet from the remote machine, with error checking, and
store it in *BUF. Resize *BUF using xrealloc if necessary to hold
the result, and update *SIZEOF_BUF. If FOREVER, wait forever
@@ -40,19 +38,7 @@ extern void getpkt (char **buf, long *sizeof_buf, int forever);
extern int putpkt (char *buf);
-/* Send HEX encoded string to the target console. (gdb_stdtarg) */
-
-extern void remote_console_output (char *);
-
-
-/* FIXME: cagney/1999-09-20: The remote cisco stuff in remote.c needs
- to be broken out into a separate file (remote-cisco.[hc]?). Before
- that can happen, a remote protocol stack framework needs to be
- implemented. */
-
-extern void remote_cisco_objfile_relocate (bfd_signed_vma text_off,
- bfd_signed_vma data_off,
- bfd_signed_vma bss_off);
+extern char *unpack_varlen_hex (char *buff, ULONGEST *result);
extern void async_remote_interrupt_twice (void *arg);
@@ -61,9 +47,6 @@ extern int remote_write_bytes (CORE_ADDR memaddr, const gdb_byte *myaddr,
extern int remote_read_bytes (CORE_ADDR memaddr, gdb_byte *myaddr, int len);
-extern void (*deprecated_target_resume_hook) (void);
-extern void (*deprecated_target_wait_loop_hook) (void);
-
void register_remote_g_packet_guess (struct gdbarch *gdbarch, int bytes,
const struct target_desc *tdesc);
void register_remote_support_xml (const char *);