This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/17770] New: GDB disassembles incorrectly
- From: "mark4th at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 28 Dec 2014 15:31:46 +0000
- Subject: [Bug gdb/17770] New: GDB disassembles incorrectly
- Auto-submitted: auto-generated
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.