File tree 1 file changed +6
-6
lines changed
lldb/source/Plugins/Process/gdb-remote 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -410,13 +410,13 @@ void ProcessGDBRemote::BuildDynamicRegisterInfo(bool force) {
410
410
}
411
411
if (target_definition_fspec) {
412
412
// See if we can get register definitions from a python file
413
- if (ParsePythonTargetDefinition (target_definition_fspec)) {
413
+ if (ParsePythonTargetDefinition (target_definition_fspec))
414
414
return ;
415
- } else {
416
- StreamSP stream_sp = GetTarget (). GetDebugger (). GetAsyncOutputStream ();
417
- stream_sp-> Printf ( " ERROR: target description file %s failed to parse. \n " ,
418
- target_definition_fspec. GetPath (). c_str ());
419
- }
415
+
416
+ Debugger ::ReportError ( " target description file " +
417
+ target_definition_fspec. GetPath () +
418
+ " failed to parse " ,
419
+ GetTarget (). GetDebugger (). GetID ());
420
420
}
421
421
422
422
const ArchSpec &target_arch = GetTarget ().GetArchitecture ();
You can’t perform that action at this time.
0 commit comments