This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/17770] New: GDB disassembles incorrectly


https://sourceware.org/bugzilla/show_bug.cgi?id=17770

            Bug ID: 17770
           Summary: GDB disassembles incorrectly
           Product: gdb
           Version: 7.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: mark4th at gmail dot com

When laying down opcodes outside of the memory range of known opcodes (the ones
contained within the executable on launch), the ARM version of gdb does not
disassemble them correctly.  

For example, at address 0x3f18 I assembled a BL to address 0x1394.  When GDB
disassembles this opcode it incorrectly disassembles it as BLX 0xf41f14.

I have not tested this theory but it is my guess that GDB is disassembling this
as a 32 bit arm opcode not a 32 bit thumb2 opcode.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]