]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2001-08-03 John Healy <jhealy@redhat.com>
authorJohn Healy <jhealy@redhat.com>
Fri, 3 Aug 2001 22:08:44 +0000 (22:08 +0000)
committerJohn Healy <jhealy@redhat.com>
Fri, 3 Aug 2001 22:08:44 +0000 (22:08 +0000)
        Patch suggested by Frank Eigler <fche@redhat.com>.
        * objdump.c (disassemble_data): Fill in section member of the
        disasm_info structure.

binutils/ChangeLog
binutils/objdump.c

index 38630f96624e28a8b3971d679b816c456c28dcee..cabd657bbebd71984679521d6cefb4d818b1a3ce 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2001-08-03  Tom Walsh  <tom@cyberiansoftware.com>
 
        * configure.in: Added --with-windres option.
index 12a8324b0472666fb3f0aaeed2dfbbb4e0ac30c7..151ed85d245b7d53055d60d0b382e4e6a9c107d2 100644 (file)
@@ -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;