Stops DDB from annyingly print a stack trace on command line parse error.
Behaviour in the cases when a trace is desirable in unchanged.
Details
Details
- Reviewers
pfg
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 3519 Build 3559: arc lint + arc unit
Event Timeline
Comment Actions
Perhaps you can minimize the change by renaming kdb_reenter to _kdb_reenter() and having 'kdb_reenter()' call '_kdb_reenter(true)' and 'db_error()' call '_kdb_reenter(false)'? In general I don't think other places that call kdb_reenter() should have to think about specifying the 'print_trace' arg. I think it's fine if they just use 'db_error()' or 'kdb_reenter()' depending on the situation.