mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-10 09:35:24 +08:00
2011-05-10 Tristan Gingold <gingold@adacore.com>
* dwarf.c (process_extended_line_op): Dump unknown records.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2011-05-10 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
|
* dwarf.c (process_extended_line_op): Dump unknown records.
|
||||||
|
|
||||||
2011-05-07 Alan Modra <amodra@gmail.com>
|
2011-05-07 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR binutils/12632
|
PR binutils/12632
|
||||||
|
@ -376,14 +376,22 @@ process_extended_line_op (unsigned char *data, int is_stmt)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
{
|
||||||
|
unsigned int rlen = len - bytes_read - 1;
|
||||||
|
|
||||||
if (op_code >= DW_LNE_lo_user
|
if (op_code >= DW_LNE_lo_user
|
||||||
/* The test against DW_LNW_hi_user is redundant due to
|
/* The test against DW_LNW_hi_user is redundant due to
|
||||||
the limited range of the unsigned char data type used
|
the limited range of the unsigned char data type used
|
||||||
for op_code. */
|
for op_code. */
|
||||||
/*&& op_code <= DW_LNE_hi_user*/)
|
/*&& op_code <= DW_LNE_hi_user*/)
|
||||||
printf (_("user defined: length %d\n"), len - bytes_read);
|
printf (_("user defined: "));
|
||||||
else
|
else
|
||||||
printf (_("UNKNOWN: length %d\n"), len - bytes_read);
|
printf (_("UNKNOWN: "));
|
||||||
|
printf (_("length %d ["), rlen);
|
||||||
|
for (; rlen; rlen--)
|
||||||
|
printf (" %02x", *data++);
|
||||||
|
printf ("]\n");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user