diff options
author | Alan Modra <amodra@gmail.com> | 2021-05-15 14:54:55 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-05-15 14:57:38 +0930 |
commit | 56051e28a33aa6b3c37a61d4647da324c21bc64d (patch) | |
tree | fce14f639ebb42ed84b91a376c1b8d86887da75a /gprof/utils.c | |
parent | 37195e23e731744d2d61c97844e884634b592f77 (diff) | |
download | gdb-56051e28a33aa6b3c37a61d4647da324c21bc64d.zip gdb-56051e28a33aa6b3c37a61d4647da324c21bc64d.tar.gz gdb-56051e28a33aa6b3c37a61d4647da324c21bc64d.tar.bz2 |
display_debug_lines_decoded
The directory_table strnlen used the negative of the proper size. After
fixing that I realised we don't need strnlen here.
* dwarf.c (display_debug_lines_decoded): Don't use strnlen when
we have already checked for NUL termination.
Diffstat (limited to 'gprof/utils.c')
0 files changed, 0 insertions, 0 deletions