diff options
author | Alan Modra <amodra@gmail.com> | 2023-03-08 09:19:38 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-03-08 11:24:55 +1030 |
commit | 160f20077865425a5874ed327540ab0bf33fb0d1 (patch) | |
tree | 93ed7fe4f476be5978cf0b82058c642b804f1283 /gdb/python | |
parent | d64c8f7181fd21f90983f8d55369f6f9a2960c43 (diff) | |
download | binutils-160f20077865425a5874ed327540ab0bf33fb0d1.zip binutils-160f20077865425a5874ed327540ab0bf33fb0d1.tar.gz binutils-160f20077865425a5874ed327540ab0bf33fb0d1.tar.bz2 |
Re: Move nm.c cached line number info to bfd usrdata
Commit e3f450f3933d resulted in a nm -l segfault on object files
without undefined symbols. Fix that, and be paranoid about bfd
section count changing.
* nm.c (struct lineno_cache): Add seccount.
(free_lineno_cache): Don't segfault on NULL lc->relocs.
(print_symbol): Stash section count when creating arrays.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions