diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-03-23 08:48:02 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-03-23 08:48:02 +0100 |
commit | 8728bc3d87b8e785689f234ac1f9b73fe6c1fdd1 (patch) | |
tree | 1b1917a2bf744a00e45aaccc3bb2a061845da3f3 /gdb/python/py-unwind.c | |
parent | 47513fab28ef21fff8a6218ed3aade16605ed8b4 (diff) | |
download | binutils-8728bc3d87b8e785689f234ac1f9b73fe6c1fdd1.zip binutils-8728bc3d87b8e785689f234ac1f9b73fe6c1fdd1.tar.gz binutils-8728bc3d87b8e785689f234ac1f9b73fe6c1fdd1.tar.bz2 |
gas/Dwarf5: adjust .debug_line file 0 checking
First of all when a table entry has a NULL filename, the two inner if()s
are better done the other way around: The 2nd doesn't depend on what the
first does. This then renders redundant half of the conditions of the
other if() and clarifies that subsequently only entry 0 is dealt with
(indicating that part of the comment was wrong). Finally for there to be
a usable name in slot 1, files_in_use needs to be larger than 1 and slot
1's (rather than slot 0's) name needs to be non-NULL.
Diffstat (limited to 'gdb/python/py-unwind.c')
0 files changed, 0 insertions, 0 deletions