mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-08 18:28:33 +00: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:
parent
78de0b4335
commit
e07bf1ac47
@ -1,5 +1,9 @@
|
||||
1999-06-13 Ian Lance Taylor <ian@zembu.com>
|
||||
|
||||
* 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>.
|
||||
|
||||
* defparse.y (explist): Remove separate expline to eliminate
|
||||
shift/reduce conflict.
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user