Project

General

Profile

Feature #12067

mdb: add option to ::dis to show instruction bytes

Added by Jason King 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
mdb - modular debugger
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The dis(1) command support showing the actual bytes of an instruction in addition to the customary assembler mnemonics, e.g.

    .text+0x5264:               74 2a              je     +0x2a <0x8057aa0>
    .text+0x5266:               55                 pushl  %ebp
    .text+0x5267:               89 e5              movl   %esp,%ebp
    .text+0x5269:               53                 pushl  %ebx

It would be nice if mdb(1) had a flag for it's ::dis to display a similar output.

Also available in: Atom PDF