Project

General

Profile

Feature #3688

Want mdb -e

Added by Robert Mustacchi over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
mdb - modular debugger
Start date:
2013-04-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Currently mdb only exits one if it is unable to execute an expression for some reason or there is some syntax error. If however you have a dmcd which returns DCMD_ERR or DCMD_USAGE there is no programatic way to know of that. Having this would really great aid testing of things such as ::typedef. This work adds a -e option to mdb to evaluate an expression and if the dcmd returns something other than DCMD_OK, then the exit status will be one. If several dcmds are done in a row, e.g. '::help | ::foobar' then the exit status will be that of the last command.

#1

Updated by Robert Mustacchi over 7 years ago

  • Tracker changed from Bug to Feature
#2

Updated by Robert Mustacchi over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Resolved in 0a47c91c895e274dd0990009919e30e984364a8b.

Also available in: Atom PDF