bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/12422] New: objdump --dwarf displays ranges (from / to) wi


From: stefan at obssys dot com
Subject: [Bug binutils/12422] New: objdump --dwarf displays ranges (from / to) with mixed(decimal and hex) output
Date: Thu, 20 Jan 2011 14:03:31 +0000

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

           Summary: objdump --dwarf displays ranges (from / to) with
                    mixed(decimal and hex) output
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: address@hidden
        ReportedBy: address@hidden


Running objdump --dwarf can result in an outputline where hex and decimal is
mixed - eg:
  DW_CFA_advance_loc: 11 to 0000000f

where "11" is decimal and "0000000f" hex.


Seems this happen for:
  DW_CFA_advance_loc
  DW_CFA_set_loc
  DW_CFA_advance_loc1
  DW_CFA_advance_loc2
  DW_CFA_advance_loc4
  DW_CFA_MIPS_advance_loc8


----
Sample output of "objdump --dwarf -j .eh_frame <objectfile>":

Contents of the .eh_frame section:

00000000 00000014 00000000 CIE
  Version:               1
  Augmentation:          "zR"
  Code alignment factor: 1
  Data alignment factor: -8
  Return address column: 16
  Augmentation data:     1b

  DW_CFA_def_cfa: r7 (rsp) ofs 8
  DW_CFA_offset: r16 (rip) at cfa-8
  DW_CFA_nop
  DW_CFA_nop

00000018 00000014 0000001c FDE cie=00000000 pc=00000000..0000001a
  DW_CFA_advance_loc: 4 to 00000004
  DW_CFA_def_cfa_offset: 16
  DW_CFA_advance_loc: 11 to 0000000f
  DW_CFA_def_cfa_offset: 8
  DW_CFA_nop

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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