Default implementation of a new virtual method wasn't returning a value.
This commit is contained in:
Adrian McCarthy 2019-10-25 15:50:42 -07:00
parent 6c89392592
commit 5a3c657f3e
1 changed files with 5 additions and 1 deletions

View File

@ -323,7 +323,11 @@ public:
SetBreakpointCommandCallbackFunction(
BreakpointOptions *bp_options,
const char *function_name,
StructuredData::ObjectSP extra_args_sp) {}
StructuredData::ObjectSP extra_args_sp) {
Status error;
error.SetErrorString("unimplemented");
return error;
}
/// Set a one-liner as the callback for the watchpoint.
virtual void SetWatchpointCommandCallback(WatchpointOptions *wp_options,