mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
proc: add flag to distinguish ReturnValues (#2230)
Adds a flag that distinguishes the return values of an injected function call from the return values of a function call executed by the target program.
This commit is contained in:
committed by
GitHub
parent
f7542d69fe
commit
807664b34b
@ -128,6 +128,8 @@ type Thread struct {
|
||||
|
||||
// ReturnValues contains the return values of the function we just stepped out of
|
||||
ReturnValues []Variable
|
||||
// CallReturn is true if ReturnValues are the return values of an injected call.
|
||||
CallReturn bool
|
||||
}
|
||||
|
||||
// Location holds program location information.
|
||||
|
||||
Reference in New Issue
Block a user