diff options
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 2b54739..3ce5814 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -3299,11 +3299,11 @@ producer_is_gcc (const char *producer, int *major, int *minor) if (*cs && isspace (*cs)) cs++; if (sscanf (cs, "%d.%d", major, minor) == 2) - return major; + return true; } /* Not recognized as GCC. */ - return -1; + return false; } /* Helper for make_cleanup_free_char_ptr_vec. */ |