projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edea4a3
)
Fix another place were we suggest lldb.target in a Frame Recognizer.
author
Jim Ingham
<jingham@apple.com>
Tue, 6 Sep 2022 20:24:21 +0000
(13:24 -0700)
committer
Jim Ingham
<jingham@apple.com>
Tue, 6 Sep 2022 20:24:21 +0000
(13:24 -0700)
lldb/source/Commands/CommandObjectFrame.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Commands/CommandObjectFrame.cpp
b/lldb/source/Commands/CommandObjectFrame.cpp
index
23954dd
..
e5d14d6
100644
(file)
--- a/
lldb/source/Commands/CommandObjectFrame.cpp
+++ b/
lldb/source/Commands/CommandObjectFrame.cpp
@@
-814,7
+814,8
@@
functions 'read', 'write' and 'close' follows:
def get_recognized_arguments(self, frame):
if frame.name in ["read", "write", "close"]:
fd = frame.EvaluateExpression("$arg1").unsigned
- value = lldb.target.CreateValueFromExpression("fd", "(int)%d" % fd)
+ target = frame.thread.process.target
+ value = target.CreateValueFromExpression("fd", "(int)%d" % fd)
return [value]
return []