diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-01-24 07:00:34 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-01-24 07:00:49 -0800 |
commit | 940d0202fd472b09d370fb483bf5a8ae99c9c830 (patch) | |
tree | 4dd338338921426e7cd8db37d3c2784436a58b80 /texinfo | |
parent | eea133e65524218c05bd7a1e93b4fe4241dd8e08 (diff) | |
download | gdb-940d0202fd472b09d370fb483bf5a8ae99c9c830.zip gdb-940d0202fd472b09d370fb483bf5a8ae99c9c830.tar.gz gdb-940d0202fd472b09d370fb483bf5a8ae99c9c830.tar.bz2 |
DWARF-5: Ignore empty range in DWARF-5 line number tables
The DWARF5 spec does indeed explicitly say: "A bounded range entry whose
beginning and ending address offsets are equal (including zero) indicates
an empty range and may be ignored."
Since arange_add already ignores empty ranges, remove the whole check
which is equivalent to the check plus explicit continue.
PR binutils/27231
* dwarf2.c (read_rnglists): Ignore empty range when parsing line
number tables.
Diffstat (limited to 'texinfo')
0 files changed, 0 insertions, 0 deletions