aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-09-26 11:28:04 +0930
committerAlan Modra <amodra@gmail.com>2017-09-26 13:39:35 +0930
commit66cfc0fd0d9daadc2dac5a783b69b4050c0b1722 (patch)
treec4bfe4c81311d9fd53ab1ce6e81b676554ee6689 /cpu
parent6c3e20f177102519cf4f8b3c7e7e17996ed7cd7f (diff)
downloadgdb-66cfc0fd0d9daadc2dac5a783b69b4050c0b1722.zip
gdb-66cfc0fd0d9daadc2dac5a783b69b4050c0b1722.tar.gz
gdb-66cfc0fd0d9daadc2dac5a783b69b4050c0b1722.tar.bz2
PR21732, String-concatenated message can not be translated
Preprocessor tokens like DWARF_VMA_FMT and BFD_VMA_FMT are not understood by gettext, and cause the translation string to be truncated. Even if it were not truncated, we wouldn't want a value that changes depending on host or configure options to be put in a translation string. PR 21732 * dwarf.c (READ_ULEB): Don't use DWARF_VMA_FMT in translated string. (READ_SLEB): Likewise. * readelf.c (bfd_vmatoa): New function. (get_data, get_dynamic_data): Use it for printing error messages.
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions