delve/pkg
Derek Parker cac86b8791
dwarf/line: handle end_seq properly (#3277)
This patch changes how we handle end_seq in the debug_line state machine
program. Instead of always considering the state machine invalid at the
end_seq instead simply consider the *current* address invalid. This
solves a number of issues such as incorrect disassemble output for the
last few instructions in certain functions, and creating an eval scope
at an address within the last few instructions of certain functions. It
also handles the case where the end_seq address is the same as the start
address of the next adjacent function, which would previously confuse
Delve which is why we initially marked end_seq as invalid for the entire
state machine. This approach is more nuanced and still solves that
initial problem while fixing some problems introduced by that patch.
2023-02-20 10:36:09 +01:00
..
astutil proc: simplify next/step/stepout condition code 2020-04-04 11:00:54 -07:00
config terminal: Add config options for tab printing (#3243) 2023-01-05 14:09:03 +01:00
dwarf dwarf/line: handle end_seq properly (#3277) 2023-02-20 10:36:09 +01:00
elfwriter terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
gobuild gobuild: drop support for building on Go < 1.10 (#2960) 2022-04-06 12:02:21 -07:00
goversion *: CHANGELOG and bump to version 1.20.0 (#3209) 2022-12-08 10:34:57 -08:00
locspec *: Change comments to match common Go standarts (#3221) 2022-12-14 08:56:07 -08:00
logflags terminal/logflags: Added SetLoggerFactory(LoggerFactory) (#3257) 2023-02-14 09:46:35 -08:00
proc dwarf/line: handle end_seq properly (#3277) 2023-02-20 10:36:09 +01:00
terminal Documentation: watch example for arbitrary address (#3268) 2023-02-13 06:27:14 -08:00
version *: bump to version 1.20.1 (#3213) 2022-12-12 09:21:46 -08:00