diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-07-14 16:57:18 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-07-14 16:57:18 +0000 |
commit | 9bd16489a8f0d41302bb4a5103fd1683486555db (patch) | |
tree | 8f477de44d86c30344bc7dc8f2c269ce8480a9d6 /binutils/dwarf.h | |
parent | 3b2130380761609ddf2b377284fbcc5d33b5b668 (diff) | |
download | binutils-redhat-9bd16489a8f0d41302bb4a5103fd1683486555db.tar.gz |
binutils/
Support unordered .debug_info references to .debug_ranges.
* dwarf.c (struct range_entry, range_entry_compar): New.
(display_debug_ranges): Remove variables last_offset, first, j,
seen_first_offset, use_debug_info and next. New variables
range_entries and range_entry_fill. Create the sorted copy
range_entries. Remove the FIXME error on detected unordered references.
* dwarf.h (debug_info <range_lists>): New comment.
binutils/testsuite/
* binutils-all/objcopy.exp (testranges): New test.
* binutils-all/testranges.d, binutils-all/testranges.s: New files.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 6b61360d14..533400fba9 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -87,6 +87,7 @@ typedef struct int *have_frame_base; unsigned int num_loc_offsets; unsigned int max_loc_offsets; + /* List of .debug_ranges offsets seen in this .debug_info. */ unsigned long *range_lists; unsigned int num_range_lists; unsigned int max_range_lists; |