Project

General

Profile

Actions

Bug #9210

closed

remove KMDB branch debugging support

Added by John Levon almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2018-02-28
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

https://smartos.org/bugview/OS-6565

KMDB has vestigial support for two features, ::step branch and ::branches. The former allows you to step to the next branch point, while the latter reports the "last few" branches, as recorded in MSRs such as the LBR.

However, this was never properly implemented for 64-bit, thus is effectively non-existent on any reasonably modern system. While it could be resurrected, fixing this would complicate KPTI implementation. As it's already broken, it's hard to argue that it will be missed; we'll just remove all the relevant code.

Actions

Also available in: Atom PDF