aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-05-15 15:01:51 +0930
committerAlan Modra <amodra@gmail.com>2021-05-15 15:05:29 +0930
commitc03df92247333e5bf65bc663fab80fe7a87c0370 (patch)
treedf0e2e34a73dc8820d8ba44e51420846e8a5225f /sim/m32c
parent35b2c89ec8bbcbf6894cb6ae408d97cbe06bbeb4 (diff)
downloadbinutils-c03df92247333e5bf65bc663fab80fe7a87c0370.zip
binutils-c03df92247333e5bf65bc663fab80fe7a87c0370.tar.gz
binutils-c03df92247333e5bf65bc663fab80fe7a87c0370.tar.bz2
display_debug_macinfo
The existing code went to the bother of using strnlen for scanning but went wild when printing, and possibly incremented curr past end. * dwarf.c (display_debug_macinfo): Print strings that might not be zero terminated with %*s. Don't bump curr if unterminated.
Diffstat (limited to 'sim/m32c')
0 files changed, 0 insertions, 0 deletions