mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-03 17:51:57 +00:00
* dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
This commit is contained in:
parent
4590cfcbee
commit
1c3d648d5a
@ -1,3 +1,7 @@
|
||||
2007-01-28 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
|
||||
|
||||
2007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
|
||||
|
@ -7079,7 +7079,7 @@ new_symbol (struct die_info *die, struct type *type, struct dwarf2_cu *cu)
|
||||
|| file_index > cu->line_header->num_file_names)
|
||||
complaint (&symfile_complaints,
|
||||
_("file index out of range"));
|
||||
else
|
||||
else if (file_index > 0)
|
||||
{
|
||||
struct file_entry *fe;
|
||||
fe = &cu->line_header->file_names[file_index - 1];
|
||||
|
Loading…
Reference in New Issue
Block a user