delve/pkg/proc
aarzilli 1ced7c3a60 proc: next should not skip lines with conditional bps
Conditional breakpoints with unmet conditions would cause next and step
to skip the line.

This breakpoint changes the Kind field of proc.Breakpoint from a single
value to a bit field, each breakpoint object can represent
simultaneously a user breakpoint and one internal breakpoint (of which
we have several different kinds).

The breakpoint condition for internal breakpoints is stored in the new
internalCond field of proc.Breakpoint so that it will not conflict with
user specified conditions.

The breakpoint setting code is changed to allow overlapping one
internal breakpoint on a user breakpoint, or a user breakpoint on an
existing internal breakpoint. All other combinations are rejected. The
breakpoint clearing code is changed to clear the UserBreakpoint bit and
only remove the phisical breakpoint if no other bits are set in the
Kind field. ClearInternalBreakpoints does the same thing but clearing
all bits that aren't the UserBreakpoint bit.

Fixes #844
2017-11-20 11:25:35 -08:00
..
core proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
gdbserial proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
native proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
test pkg/prog/test: add flag to run target with -race flag 2017-11-15 08:51:57 -08:00
arch.go proc: refactor stack.go to use DWARF registers 2017-11-17 10:17:24 -08:00
bininfo.go pkg/dwarf/line: improve performance 2017-11-03 20:57:04 +01:00
breakpoints.go proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
disasm_amd64.go proc: replace all uses of gosymtab/gopclntab with uses of debug_line 2017-11-03 20:57:04 +01:00
disasm.go proc: breakpoints refactoring 2017-11-20 11:25:35 -08:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
eval.go proc/eval: support more type casts 2017-10-25 13:20:25 +02:00
interface.go proc: breakpoints refactoring 2017-11-20 11:25:35 -08:00
mem.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
moduledata.go proc: next, stepout should work on recursive goroutines (#831) 2017-05-16 11:23:33 -07:00
proc_general_test.go proc: refactoring: split backends to separate packages 2017-04-21 14:00:04 -07:00
proc_test.go proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
proc_unix_test.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
proc.go proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
registers.go proc: refactor stack.go to use DWARF registers 2017-11-17 10:17:24 -08:00
scope_test.go proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
stack.go pkg/proc: remove callFrameRegs from stackIterator 2017-11-17 12:55:40 -08:00
threads.go proc: next should not skip lines with conditional bps 2017-11-20 11:25:35 -08:00
types.go proc: replace all uses of gosymtab/gopclntab with uses of debug_line 2017-11-03 20:57:04 +01:00
variables.go proc: refactor stack.go to use DWARF registers 2017-11-17 10:17:24 -08:00