diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-08-21 16:30:00 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-08-24 18:04:55 +0100 |
commit | 3cdad0846b5f37898798d4145e5b991900a46ec5 (patch) | |
tree | f12756bd780d29a64c6d682fcdda42c195695dfb /bfd/elfnn-ia64.c | |
parent | 918dc783deadc206691dcc20bf8aa6c807c10244 (diff) | |
download | gdb-3cdad0846b5f37898798d4145e5b991900a46ec5.zip gdb-3cdad0846b5f37898798d4145e5b991900a46ec5.tar.gz gdb-3cdad0846b5f37898798d4145e5b991900a46ec5.tar.bz2 |
Fix erroroneous use of '%zu' in elfcore_grok_win32pstatus
As reported in [1], _bfd_error_handler() doesn't support '%zu'.
module_name_size is always 32-bits in the data structure we are
extracting it from, so use an unsigned int to store it instead.
[1] https://sourceware.org/pipermail/gdb-patches/2020-August/171391.html
bfd/ChangeLog:
2020-08-21 Jon Turney <jon.turney@dronecode.org.uk>
* elf.c (elfcore_grok_win32pstatus): Change name_size to unsigned
int. Use '%u' format with _bfd_error_handler to render it.
Diffstat (limited to 'bfd/elfnn-ia64.c')
0 files changed, 0 insertions, 0 deletions