Page MenuHomeFreeBSD

[PowerPC] Add opcode dumping format character to ddb
ClosedPublic

Authored by bdragon on Sat, Nov 2, 10:40 PM.

Details

Summary

Split off from D22121.

Add display of raw opcode to the examine command when using the "alternate format" format character I, which previously just worked the same as i, as it's useful sometimes to be able to see the raw opcodes alongside the disassembly.

Since PowerPC has a fixed instruction width of 32 bits, instructions are always aligned, there are no "modes", and we don't have multiple competing assembly syntaxes, "show the raw opcodes alongside the disassembly" seemed like the obvious interpretation of "alternate format" to me.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bdragon created this revision.Sat, Nov 2, 10:40 PM
jhibbits accepted this revision.Sun, Nov 3, 12:32 AM
This revision is now accepted and ready to land.Sun, Nov 3, 12:32 AM
This revision was automatically updated to reflect the committed changes.