Project

General

Profile

Actions

Bug #3548

open

mdb dcmd tab completion occurs before setting dot

Added by Bryan Cantrill over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2013-02-10
Due date:
% Done:

0%

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

Description

Currently any mdb dcmd tab completion function is called before dot is set (or indeed, before the address specification is even parsed). As a result, the address on which the dcmd is to operate is unknown -- making it impossible to implement any tab completion that depends on the address. (This issue was encountered to trying to implement tab completion for ::jsprint, which needs to know the address of the object being operated upon to know how to complete the field names.) Ideally, a tab completion function should have all information available to the dcmd itself, including address and dcmd flags. Unfortunately, this is likely pretty gruesome to fix...

No data to display

Actions

Also available in: Atom PDF