gdb/ChangeLog:
* utils.c (producer_is_gcc): Return true or false.
+2015-02-11 Mark Wielaard <mjw@redhat.com>
+
+ * utils.c (producer_is_gcc): Return true or false.
+
2015-02-04 Mark Wielaard <mjw@redhat.com>
* utils.h (producer_is_gcc): Change return type to bool. Add major
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. */