delve/pkg/proc/gdbserial
aarzilli 60c58acb8e proc,service: display return values when stepping out of a function
Displays the return values of the current function when we step out of
it after executing a step, next or stepout command.

Implementation of this feature is tricky: when the function has
returned the return variables are not in scope anymore. Implementing
this feature requires evaluating variables that are out of scope, using
a stack frame that doesn't exist anymore.

We can't calculate the address of these variables when the
next/step/stepout command is initiated either, because between that
point and the time where the stepout breakpoint is actually hit the
goroutine stack could grow and be moved to a different memory address.
2018-06-12 11:35:56 +02:00
..
gdbserver_conn.go proc/gdbserial,dlv/cmds: make logGdbWire command line configurable 2018-04-13 15:31:02 -07:00
gdbserver_unix.go proc/native,proc/gdbserial: let target access terminal 2018-05-18 09:53:29 -07:00
gdbserver_windows.go proc/native,proc/gdbserial: let target access terminal 2018-05-18 09:53:29 -07:00
gdbserver.go proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
rr_test.go tests: call RunTestsWithFixtures everywhere we use BuildFixture 2018-06-08 11:39:47 -07:00
rr.go gdbserial,debugger: better error message when debugserver not installed 2018-04-10 13:49:57 -07:00