Skip to content

Commit 1d6a6f3

Browse files
committed
[lldb/Target] Remove outdated code
Arg0 callback does work.
1 parent f0f183e commit 1d6a6f3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lldb/include/lldb/Target/Target.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class TargetProperties : public Properties {
211211

212212
void SetDisplayRecognizedArguments(bool b);
213213

214-
const ProcessLaunchInfo &GetProcessLaunchInfo();
214+
const ProcessLaunchInfo &GetProcessLaunchInfo() const;
215215

216216
void SetProcessLaunchInfo(const ProcessLaunchInfo &launch_info);
217217

lldb/source/Target/Target.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4196,8 +4196,7 @@ void TargetProperties::SetNonStopModeEnabled(bool b) {
41964196
m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, b);
41974197
}
41984198

4199-
const ProcessLaunchInfo &TargetProperties::GetProcessLaunchInfo() {
4200-
m_launch_info.SetArg0(GetArg0()); // FIXME: Arg0 callback doesn't work
4199+
const ProcessLaunchInfo &TargetProperties::GetProcessLaunchInfo() const {
42014200
return m_launch_info;
42024201
}
42034202

0 commit comments

Comments
 (0)