Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(512)

Unified Diff: gdb/remote.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/regset.c ('k') | gdb/remote.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/remote.h
diff --git a/gdb/remote.h b/gdb/remote.h
index 3adc54ee6c57a6c73c319da7282c52489a290c2c..b6ea5470d8ef21d5ec08eb9d54c0b6411bec9a17 100644
--- a/gdb/remote.h
+++ b/gdb/remote.h
@@ -1,5 +1,5 @@
/* Remote target communications for serial-line targets in custom GDB protocol
- Copyright (C) 1999, 2003-2012 Free Software Foundation, Inc.
+ Copyright (C) 1999-2013 Free Software Foundation, Inc.
This file is part of GDB.
@@ -19,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
@@ -37,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);
@@ -53,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
« no previous file with comments | « gdb/regset.c ('k') | gdb/remote.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698