mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
2001-08-03 John Healy <jhealy@redhat.com>
Patch suggested by Frank Eigler <fche@redhat.com>. * objdump.c (disassemble_data): Fill in section member of the disasm_info structure.
This commit is contained in:
@@ -1736,6 +1736,7 @@ disassemble_data (abfd)
|
||||
disasm_info.buffer = data;
|
||||
disasm_info.buffer_vma = section->vma;
|
||||
disasm_info.buffer_length = datasize;
|
||||
disasm_info.section = section;
|
||||
if (start_address == (bfd_vma) -1
|
||||
|| start_address < disasm_info.buffer_vma)
|
||||
addr_offset = 0;
|
||||
|
||||
Reference in New Issue
Block a user