File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lldb/source/Plugins/Process/gdb-remote Expand file tree Collapse file tree 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) {
410410 }
411411 if (target_definition_fspec) {
412412 // See if we can get register definitions from a python file
413- if (ParsePythonTargetDefinition (target_definition_fspec)) {
413+ if (ParsePythonTargetDefinition (target_definition_fspec))
414414 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 ());
420420 }
421421
422422 const ArchSpec &target_arch = GetTarget ().GetArchitecture ();
You can’t perform that action at this time.
0 commit comments