mdb: add option to ::dis to show instruction bytes
mdb - modular debugger
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.