bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/755] objdump creating mis-aligned listing using latest CVS


From: bje at sources dot redhat dot com
Subject: [Bug binutils/755] objdump creating mis-aligned listing using latest CVS MAIN/HEAD
Date: 28 Mar 2006 05:53:14 -0000

------- Additional Comments From bje at sources dot redhat dot com  2006-03-28 
05:53 -------
objdump is behaving correctly.

It sounds like you want the --file-start-context option:

  `--file-start-context'
     Specify that when displaying interlisted source code/disassembly
     (assumes `-S') from a file that has not yet been displayed, extend
     the context to the start of the file.

When this option is omitted (as you were doing), the default is to show five
previous lines from a file that has not been displayed before.  When I use the
option, I see:

-- snip --
Disassembly of section .text:

00000000 <main>:

typedef struct {
  int a;
  int b;
  int c;
  int d;
  int f;
  int g;
  } s;

int main (void){
   0:   c0 e0           ldi     r28, 0x00       ; 0
   2:   d0 e0           ldi     r29, 0x00       ; 0
   4:   de bf           out     0x3e, r29       ; 62
   6:   cd bf           out     0x3d, r28       ; 61

[.. etc ..]

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


http://sourceware.org/bugzilla/show_bug.cgi?id=755

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]