[lldb/Target] Remove outdated code
authorTatyana Krasnukha <tatyana@synopsys.com>
Fri, 19 Feb 2021 22:21:05 +0000 (01:21 +0300)
committerTatyana Krasnukha <tatyana@synopsys.com>
Sun, 28 Feb 2021 16:23:27 +0000 (19:23 +0300)
Arg0 callback does work.

lldb/include/lldb/Target/Target.h
lldb/source/Target/Target.cpp

index f35f4e9..737efaf 100644 (file)
@@ -211,7 +211,7 @@ public:
 
   void SetDisplayRecognizedArguments(bool b);
 
-  const ProcessLaunchInfo &GetProcessLaunchInfo();
+  const ProcessLaunchInfo &GetProcessLaunchInfo() const;
 
   void SetProcessLaunchInfo(const ProcessLaunchInfo &launch_info);
 
index 6cf9d54..98f63a8 100644 (file)
@@ -4196,8 +4196,7 @@ void TargetProperties::SetNonStopModeEnabled(bool b) {
   m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, b);
 }
 
-const ProcessLaunchInfo &TargetProperties::GetProcessLaunchInfo() {
-  m_launch_info.SetArg0(GetArg0()); // FIXME: Arg0 callback doesn't work
+const ProcessLaunchInfo &TargetProperties::GetProcessLaunchInfo() const {
   return m_launch_info;
 }