Fix printing ULONGEST variables on x86-32
authorRuslan Kabatsayev <b7.10110111@gmail.com>
Wed, 25 Dec 2019 21:09:40 +0000 (00:09 +0300)
committerRuslan Kabatsayev <b7.10110111@gmail.com>
Wed, 25 Dec 2019 21:12:43 +0000 (00:12 +0300)
gdb/ChangeLog
2019-12-26  Ruslan Kabatsayev  <b7.10110111@gmail.com>

        * dwarf2read.c (is_valid_DW_AT_defaulted)
        (is_valid_DW_AT_calling_convention_for_type)
        (is_valid_DW_AT_calling_convention_for_subroutine): Fix printing
        ULONGEST variables on x86-32.

gdb/ChangeLog
gdb/dwarf2read.c

index acf9106e844b0f49487d28d9b18ac8325548f5a2..66a7b9b4b80c5e7f5645919f60367281df18320a 100644 (file)
@@ -1,3 +1,10 @@
+2019-12-26  Ruslan Kabatsayev  <b7.10110111@gmail.com>
+
+       * dwarf2read.c (is_valid_DW_AT_defaulted)
+       (is_valid_DW_AT_calling_convention_for_type)
+       (is_valid_DW_AT_calling_convention_for_subroutine): Fix printing
+       ULONGEST variables on x86-32.
+
 2019-12-21  George Barrett  <bob@bob131.so>
 
        * solib-svr4.c (svr4_handle_solib_event): Add fallback link
index 685d9962978ccf665d5d1f35593c7d4bc07a5155..2520780611db0b82b4782bc66ceadfd50df97bc7 100644 (file)
@@ -15487,7 +15487,7 @@ is_valid_DW_AT_defaulted (ULONGEST value)
       return true;
     }
 
-  complaint (_("unrecognized DW_AT_defaulted value (%lu)"), value);
+  complaint (_("unrecognized DW_AT_defaulted value (%s)"), pulongest (value));
   return false;
 }
 
@@ -15867,7 +15867,7 @@ is_valid_DW_AT_calling_convention_for_type (ULONGEST value)
 
     default:
       complaint (_("unrecognized DW_AT_calling_convention value "
-                  "(%lu) for a type"), value);
+                  "(%s) for a type"), pulongest (value));
       return false;
     }
 }
@@ -15893,7 +15893,7 @@ is_valid_DW_AT_calling_convention_for_subroutine (ULONGEST value)
 
     default:
       complaint (_("unrecognized DW_AT_calling_convention value "
-                  "(%lu) for a subroutine"), value);
+                  "(%s) for a subroutine"), pulongest (value));
       return false;
     }
 }
This page took 0.037276 seconds and 4 git commands to generate.