Fix regular /path/to/directory sysroots and target reported dll paths with drive...
[deliverable/binutils-gdb.git] / gdb / remote.c
index 0fa1e2b029b79379ac0a9fd946c5370cd89f36be..a9ef2974ac34c854312b49339eeaee0c4ad2cede 100644 (file)
@@ -10036,7 +10036,9 @@ remote_bfd_iovec_stat (struct bfd *abfd, void *stream, struct stat *sb)
 int
 remote_filename_p (const char *filename)
 {
-  return strncmp (filename, "remote:", 7) == 0;
+  return strncmp (filename,
+                 REMOTE_SYSROOT_PREFIX,
+                 sizeof (REMOTE_SYSROOT_PREFIX) - 1) == 0;
 }
 
 bfd *
This page took 0.025097 seconds and 4 git commands to generate.