diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-03-29 20:42:48 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-03-29 20:42:48 +0000 |
commit | f048b1425bed2e17643e37c85ac72741021ffa30 (patch) | |
tree | 8235f9b5ee162b1a846c3d450318f4438f905f5d /binutils/dwarf.c | |
parent | 6296d8c13f28f70398c2f42124eaa88670c2714b (diff) | |
download | gdb-f048b1425bed2e17643e37c85ac72741021ffa30.zip gdb-f048b1425bed2e17643e37c85ac72741021ffa30.tar.gz gdb-f048b1425bed2e17643e37c85ac72741021ffa30.tar.bz2 |
Increment hdrptr by 8 after SAFE_BYTE_GET64
* dwarf.c (process_debug_info): Increment hdrptr by 8 after
SAFE_BYTE_GET64.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 1787e7e..a3a5949 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -2238,6 +2238,7 @@ process_debug_info (struct dwarf_section *section, if (do_types) { SAFE_BYTE_GET64 (hdrptr, &signature_high, &signature_low, end); + hdrptr += 8; SAFE_BYTE_GET_AND_INC (type_offset, hdrptr, offset_size, end); } |