]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/producer.c
gdb, gdbserver, gdbsupport: fix leading space vs tabs issues
[thirdparty/binutils-gdb.git] / gdb / producer.c
index d25d93fcced4ee47857fa7738db01318a5e31163..730d3129f808ac097ab1e1cf17d8c88ce75d81a6 100644 (file)
@@ -61,9 +61,9 @@ producer_is_gcc (const char *producer, int *major, int *minor)
       */
       cs = &producer[strlen ("GNU ")];
       while (*cs && !isspace (*cs))
-        cs++;
+       cs++;
       if (*cs && isspace (*cs))
-        cs++;
+       cs++;
       if (sscanf (cs, "%d.%d", major, minor) == 2)
        return 1;
     }
@@ -131,7 +131,7 @@ bool
 producer_is_llvm (const char *producer)
 {
   return ((producer != NULL) && (startswith (producer, "clang ")
-                                 || startswith (producer, " F90 Flang ")));
+                                || startswith (producer, " F90 Flang ")));
 }
 
 #if defined GDB_SELF_TEST