mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
2010-08-03 Tristan Gingold <gingold@adacore.com>
* dwarf.c (display_debug_lines): Mark file argument unused. Do not try to load .debug_info section.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-08-03 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
|
* dwarf.c (display_debug_lines): Mark file argument unused.
|
||||||
|
Do not try to load .debug_info section.
|
||||||
|
|
||||||
2010-08-02 Alan Modra <amodra@gmail.com>
|
2010-08-02 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* readelf.c (apply_relocations): D30V is really REL.
|
* readelf.c (apply_relocations): D30V is really REL.
|
||||||
|
@ -3056,20 +3056,13 @@ display_debug_lines_decoded (struct dwarf_section *section,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
display_debug_lines (struct dwarf_section *section, void *file)
|
display_debug_lines (struct dwarf_section *section, void *file ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
unsigned char *data = section->start;
|
unsigned char *data = section->start;
|
||||||
unsigned char *end = data + section->size;
|
unsigned char *end = data + section->size;
|
||||||
int retValRaw = 1;
|
int retValRaw = 1;
|
||||||
int retValDecoded = 1;
|
int retValDecoded = 1;
|
||||||
|
|
||||||
if (load_debug_info (file) == 0)
|
|
||||||
{
|
|
||||||
warn (_("Unable to load/parse the .debug_info section, so cannot interpret the %s section.\n"),
|
|
||||||
section->name);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (do_debug_lines == 0)
|
if (do_debug_lines == 0)
|
||||||
do_debug_lines |= FLAG_DEBUG_LINES_RAW;
|
do_debug_lines |= FLAG_DEBUG_LINES_RAW;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user