GDB/MI: Document support for -exec-run --start in -list-features
[deliverable/binutils-gdb.git] / gdb / remote.h
index fae7f25d1509b41d9bda6468b879f68b65bfb057..b6ea5470d8ef21d5ec08eb9d54c0b6411bec9a17 100644 (file)
@@ -1,6 +1,5 @@
 /* Remote target communications for serial-line targets in custom GDB protocol
-   Copyright (C) 1999, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 1999-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -20,6 +19,8 @@
 #ifndef REMOTE_H
 #define REMOTE_H
 
+#include "remote-notif.h"
+
 struct target_desc;
 
 /* Read a packet from the remote machine, with error checking, and
@@ -38,9 +39,11 @@ extern void getpkt (char **buf, long *sizeof_buf, int forever);
 
 extern int putpkt (char *buf);
 
-extern char *unpack_varlen_hex (char *buff, ULONGEST *result);
+extern int hex2bin (const char *hex, gdb_byte *bin, int count);
 
-extern void async_remote_interrupt_twice (void *arg);
+extern int bin2hex (const gdb_byte *bin, char *hex, int count);
+
+extern char *unpack_varlen_hex (char *buff, ULONGEST *result);
 
 void register_remote_g_packet_guess (struct gdbarch *gdbarch, int bytes,
                                     const struct target_desc *tdesc);
@@ -54,10 +57,18 @@ void remote_file_delete (const char *remote_file, int from_tty);
 
 bfd *remote_bfd_open (const char *remote_file, const char *target);
 
+/* If a path starts with this sequence, GDB will retrieve the target
+   libraries from the remote system.  */
+
+#define REMOTE_SYSROOT_PREFIX "remote:"
+
+/* True if FILENAME starts with REMOTE_SYSROOT_PREFIX.  */
+
 int remote_filename_p (const char *filename);
 
 extern int remote_register_number_and_offset (struct gdbarch *gdbarch,
                                              int regnum, int *pnum,
                                              int *poffset);
 
+extern void remote_notif_get_pending_events (struct notif_client *np);
 #endif
This page took 0.02428 seconds and 4 git commands to generate.