commit | 9423d61e97fa10a5880719d194f326fe27da5e4f | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Thu Mar 30 10:25:40 2023 -0600 |
committer | Tom Tromey <tom@tromey.com> | Sun Jan 28 10:58:15 2024 -0700 |
tree | d37d177ea5201fd422cdb83b9ef4a643d4771e8c | |
parent | 48f7f3751eac0bb5a2cf8c4d52cbf477e81bef14 [diff] |
Small cleanup in DWARF reader I noticed a couple of spots in dwarf/read.c:new_symbol that call add_symbol_to_list. However, this function is generally written to set list_to_add, and then have a single call to add_symbol_to_list at the end. This patch cleans up this discrepancy. Note that new_symbol is overlong and should probably be split up.