aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorRuslan Kabatsayev <b7.10110111@gmail.com>2019-12-26 00:09:40 +0300
committerRuslan Kabatsayev <b7.10110111@gmail.com>2019-12-26 00:12:43 +0300
commit3142e908d01c044b15c750b5427c9ea2f8a486e2 (patch)
tree2e8ba77fa083020a20a49e165d589c1128efc98f /gdb/dwarf2read.c
parentb68476f1368e49ef9aea08944d51ed2cb991253c (diff)
downloadgdb-3142e908d01c044b15c750b5427c9ea2f8a486e2.zip
gdb-3142e908d01c044b15c750b5427c9ea2f8a486e2.tar.gz
gdb-3142e908d01c044b15c750b5427c9ea2f8a486e2.tar.bz2
Fix printing ULONGEST variables on x86-32
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.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 685d996..2520780 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -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;
}
}