mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-13 02:45:02 +08:00
* objdump.c (disassemble_bytes): If the disassembler returns an
error, print out anything it may have printed to the buffer. From H.J. Lu <hjl@gnu.org>.
This commit is contained in:
@ -1305,7 +1305,12 @@ disassemble_bytes (info, disassemble_fn, insns, data, start, stop, relppp,
|
||||
if (info->bytes_per_line != 0)
|
||||
bytes_per_line = info->bytes_per_line;
|
||||
if (bytes < 0)
|
||||
break;
|
||||
{
|
||||
if (sfile.current != sfile.buffer)
|
||||
printf ("%s\n", sfile.buffer);
|
||||
free (sfile.buffer);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user