aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote.h')
-rw-r--r--gdb/remote.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/remote.h b/gdb/remote.h
index c036db7..b6ea547 100644
--- a/gdb/remote.h
+++ b/gdb/remote.h
@@ -57,6 +57,13 @@ 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,