OS-7441: mdb: clean up ::sysregs duplication


Issue Type:Bug
Priority:4 - Normal
Created at:2018-12-12T13:14:44.181Z
Updated at:2019-02-13T23:33:08.799Z


Created by:Hans Rosenfeld [X]
Reported by:Hans Rosenfeld [X]
Assigned to:Hans Rosenfeld [X]


Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2019-02-13T23:33:08.788Z)

Fix Versions

2019-02-14 Liz Lemon (Release Date: 2019-02-14)

Related Links


The bhyve target for mdb comes with its own implementation of ::sysregs, which is more elaborate than the existing ::sysregs that is available in kmdb. These two could be unified and be made generic, probably also making them available for mdb -k.


Comment by Hans Rosenfeld [X]
Created at 2019-02-08T16:09:12.085Z

Testing: I compared the output of ::sysregs before and after the change and made sure the formatting of the output is the same.

Comment by Jira Bot
Created at 2019-02-13T23:32:40.777Z

illumos-joyent commit 2a78db82bec123064d30d051995cb4d577ca04ba (branch master, by Hans Rosenfeld)

OS-7441 mdb: clean up ::sysregs duplication
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: John Levon <john.levon@joyent.com>