aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-03-08 09:19:38 +1030
committerAlan Modra <amodra@gmail.com>2023-03-08 11:24:55 +1030
commit160f20077865425a5874ed327540ab0bf33fb0d1 (patch)
tree93ed7fe4f476be5978cf0b82058c642b804f1283 /gdb/python
parentd64c8f7181fd21f90983f8d55369f6f9a2960c43 (diff)
downloadbinutils-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