Change producer_is_gcc function return type to bool.
[deliverable/binutils-gdb.git] / gdb / dwarf2read.c
index db35e7e8f783e7a2130fb3ed2c382259b211634d..a7643896c75ef2081c35b5b84ec62e3af72952c1 100644 (file)
@@ -12293,7 +12293,7 @@ check_producer (struct dwarf2_cu *cu)
         combination.  gcc-4.5.x -gdwarf-4 binaries have DW_AT_accessibility
         interpreted incorrectly by GDB now - GCC PR debug/48229.  */
     }
-  else if ((major = producer_is_gcc (cu->producer, &minor)) > 0)
+  else if (producer_is_gcc (cu->producer, &major, &minor))
     {
       cu->producer_is_gxx_lt_4_6 = major < 4 || (major == 4 && minor < 6);
       cu->producer_is_gcc_lt_4_3 = major < 4 || (major == 4 && minor < 3);
This page took 0.038763 seconds and 4 git commands to generate.