This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/22877] New: Disassemble instructions emulated by the Linux kernel
- From: "noring at nocrew dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 22 Feb 2018 16:44:45 +0000
- Subject: [Bug gdb/22877] New: Disassemble instructions emulated by the Linux kernel
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22877
Bug ID: 22877
Summary: Disassemble instructions emulated by the Linux kernel
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: noring at nocrew dot org
Target Milestone: ---
Compilers often generate machine code that is not directly supported by the
processor, for example RDHWR for the mips:5900 and LL, SC, SYNC, etc. for the
mips:3000. These instructions are trapped and emulated by the Linux kernel.
Currently, GDB does not disassemble them or present them as nonsensical
instructions as in the case with RDHWR for the mips:5900.
When debugging, it would be helpful to have GDB properly disassemble emulated
instructions as well. Perhaps an option such as "-M linux-emulation" could
activate this feature. It would also be helpful to indicate which instructions
are emulated, perhaps with a comment in the resulting disassembly.
--
You are receiving this mail because:
You are on the CC list for the bug.