mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
* dwarf2read.c (create_debug_types_hash_table): Fix size of
type_offset field.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2011-10-19 Cary Coutant <ccoutant@google.com>
|
||||||
|
|
||||||
|
* dwarf2read.c (create_debug_types_hash_table): Fix size of
|
||||||
|
type_offset field.
|
||||||
|
|
||||||
2011-10-19 Cary Coutant <ccoutant@google.com>
|
2011-10-19 Cary Coutant <ccoutant@google.com>
|
||||||
|
|
||||||
* dwarf2read.c (peek_abbrev_code): New function.
|
* dwarf2read.c (peek_abbrev_code): New function.
|
||||||
|
@ -3214,7 +3214,7 @@ create_debug_types_hash_table (struct objfile *objfile)
|
|||||||
signature = bfd_get_64 (objfile->obfd, ptr);
|
signature = bfd_get_64 (objfile->obfd, ptr);
|
||||||
ptr += 8;
|
ptr += 8;
|
||||||
type_offset = read_offset_1 (objfile->obfd, ptr, offset_size);
|
type_offset = read_offset_1 (objfile->obfd, ptr, offset_size);
|
||||||
ptr += 1;
|
ptr += offset_size;
|
||||||
|
|
||||||
/* Skip dummy type units. */
|
/* Skip dummy type units. */
|
||||||
if (ptr >= end_ptr || peek_abbrev_code (objfile->obfd, ptr) == 0)
|
if (ptr >= end_ptr || peek_abbrev_code (objfile->obfd, ptr) == 0)
|
||||||
|
Reference in New Issue
Block a user