17 Commits

Author SHA256 Message Date
0dccf8b65e Accepting request 1323715 from devel:languages:go
- Update to version 1.26.0:
  * v1.26.0 (#4220)
  * tests: fix TestFilterGoroutines/TestGoroutineLabels on windows/1.26 (#4217)
  * gdbserial: do not set detached if we kill the process (#4216)
  * service/dap: fix restart handling when compilation fails (#4215)
  * service/dap: disable string() field for address-less variables (#4214)
  * service/test: disable TestGuessSubstitutePath on riscv64 (#4212)
  * *: More fixes for Go 1.26 (#4211)
  * pkg/proc: process spawned event (#4171)
  * *: update riscv64 capslock file (#4210)
  * github: fix issue template (#4209)
  * fix: go mod vendor (#4207)
  * *: replace github.com/hashicorp/golang-lru with a custom lru cache (#4196)
  * *: update riscv64 support and adding it in test matrix (#4190)
  * go.mod: remove replace directive
  * cmd/dlv,_scripts: move things that use x/tools/go/packages to new repo (#3990)
  * pkg/proc: add way to disable stop-on-error for breakpoint conditions (#4191)
  * *: fix tests on windows and arm64 for go1.26 (#4205)
  * dap: preserve tags when handling tags (#4201)
  * test: only run capslock on latest minor version (#4202)
  * *: fix tests (#4198)
  * Teamcity: disable riscv64 build due to lack of agent (#4199)
  * terminal: add savestate command (#4045)
  * service/dap: add target command in console and support follow-exec in DAP interface (#4078)
  * service: workaround for non-unicode strings in Variables (#4082)
  * pkg/proc: guard register logging from nil pointer dereferences (#4188)
  * teamcity: Add support for riscv64 architecture in settings (#4189)
  * Add support to trace defer function calls under trace follow option (#3978)
  * pkg/dwarf: do not insist stmt is same line as entry (#4186)
  * replay subcommand must keep trace directory. (#4184) (forwarded request 1323714 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1323715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/delve?expand=0&rev=22
2025-12-20 20:46:04 +00:00
55fee21973 - Update to version 1.26.0:
* v1.26.0 (#4220)
  * tests: fix TestFilterGoroutines/TestGoroutineLabels on windows/1.26 (#4217)
  * gdbserial: do not set detached if we kill the process (#4216)
  * service/dap: fix restart handling when compilation fails (#4215)
  * service/dap: disable string() field for address-less variables (#4214)
  * service/test: disable TestGuessSubstitutePath on riscv64 (#4212)
  * *: More fixes for Go 1.26 (#4211)
  * pkg/proc: process spawned event (#4171)
  * *: update riscv64 capslock file (#4210)
  * github: fix issue template (#4209)
  * fix: go mod vendor (#4207)
  * *: replace github.com/hashicorp/golang-lru with a custom lru cache (#4196)
  * *: update riscv64 support and adding it in test matrix (#4190)
  * go.mod: remove replace directive
  * cmd/dlv,_scripts: move things that use x/tools/go/packages to new repo (#3990)
  * pkg/proc: add way to disable stop-on-error for breakpoint conditions (#4191)
  * *: fix tests on windows and arm64 for go1.26 (#4205)
  * dap: preserve tags when handling tags (#4201)
  * test: only run capslock on latest minor version (#4202)
  * *: fix tests (#4198)
  * Teamcity: disable riscv64 build due to lack of agent (#4199)
  * terminal: add savestate command (#4045)
  * service/dap: add target command in console and support follow-exec in DAP interface (#4078)
  * service: workaround for non-unicode strings in Variables (#4082)
  * pkg/proc: guard register logging from nil pointer dereferences (#4188)
  * teamcity: Add support for riscv64 architecture in settings (#4189)
  * Add support to trace defer function calls under trace follow option (#3978)
  * pkg/dwarf: do not insist stmt is same line as entry (#4186)
  * replay subcommand must keep trace directory. (#4184)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/delve?expand=0&rev=45
2025-12-19 21:37:35 +00:00
7dc65a3fa5 Accepting request 1301626 from devel:languages:go
- Update to version 1.25.2:
  * *: release version 1.25.2 (#4104)
  * pkg/proc: return better error attempting to call nonexistent function (#4062)
  * service/dap: allow clients to specify rebuild on restart (#4103)
  * pkg/proc: add support for additional stack-switching functions on loong64 (#4100)
  * *: fix some failing tests on go1.25 (#4089)
  * proc: early fixes for Go 1.26 (#4070)
  * dwarf: using maps.Clone (#4088)
  * proc: in-progress calls must be properly terminated (#4090)
  * pkg/proc: support ContextRegNum on loong64 (#4095)
  * pkg/proc: add support for reading runtime.sigtrampgo context on loong64 (#4098)
  * proc,service,terminal: add events call use it for dld notifications (#3980)
  * service/dap: fix TestConfigurationDoneWithoutDebugSession (#4071)
  * proc: fix nil pointer dereference loading malformed classic maps (#4067)
  * service/dap: fix restart while the target is running (#4068)
  * service/dap: fix panic on uninitialized debugger (#4061) (forwarded request 1301625 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1301626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/delve?expand=0&rev=21
2025-08-28 15:18:26 +00:00
dabe650439 - Update to version 1.25.2:
* *: release version 1.25.2 (#4104)
  * pkg/proc: return better error attempting to call nonexistent function (#4062)
  * service/dap: allow clients to specify rebuild on restart (#4103)
  * pkg/proc: add support for additional stack-switching functions on loong64 (#4100)
  * *: fix some failing tests on go1.25 (#4089)
  * proc: early fixes for Go 1.26 (#4070)
  * dwarf: using maps.Clone (#4088)
  * proc: in-progress calls must be properly terminated (#4090)
  * pkg/proc: support ContextRegNum on loong64 (#4095)
  * pkg/proc: add support for reading runtime.sigtrampgo context on loong64 (#4098)
  * proc,service,terminal: add events call use it for dld notifications (#3980)
  * service/dap: fix TestConfigurationDoneWithoutDebugSession (#4071)
  * proc: fix nil pointer dereference loading malformed classic maps (#4067)
  * service/dap: fix restart while the target is running (#4068)
  * service/dap: fix panic on uninitialized debugger (#4061)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/delve?expand=0&rev=43
2025-08-28 01:01:33 +00:00
fb865a81d4 Accepting request 1295828 from devel:languages:go
- Packaging improvements:
  * Update BuildRequires: golang(API) >= 1.25 to address warning:
    "To debug executables using DWARFv5 or later Delve must be
    built with Go version 1.25.0 or later." The go1.25 compiler
    emits DWARF version 5 debuginfo and delve must be built with
    go1.25 to debug go1.25 built binaries.
    https://go.dev/doc/go1.25#compiler
    Refs boo#1246767 (forwarded request 1295827 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1295828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/delve?expand=0&rev=20
2025-07-26 11:41:25 +00:00
5c31ba4234 - Packaging improvements:
* Update BuildRequires: golang(API) >= 1.25 to address warning:
    "To debug executables using DWARFv5 or later Delve must be
    built with Go version 1.25.0 or later." The go1.25 compiler
    emits DWARF version 5 debuginfo and delve must be built with
    go1.25 to debug go1.25 built binaries.
    https://go.dev/doc/go1.25#compiler
    Refs boo#1246767

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/delve?expand=0&rev=41
2025-07-25 19:43:57 +00:00
70c2988658 Accepting request 1294421 from devel:languages:go
- Update to version 1.25.1:
  * *: v1.25.1
  * service/dap: do not try to stacktrace an unreadable goroutine (#4056)
  * service/dap: implement restart request (#4057)
  * service/dap: do not try to access value of unreadable string variables (#4055)
  * goversion: update min supported go minor version
  * CI: update teamcity to run 1.25
  * *: update golang.org/x/tools
  * pkg/goversion: update max supported go minor version
  * gobuild: try using debug filename pattern for debug binary first
  * pkg/proc: fix type cast between slices (#4048)
  * pkg/proc: make closure captured vars visible on closure's first line (#4049)
  * pkg,service: simplify tests with slices.Contains (#4040)
  * service/dap: add missing response body close in test (#4039)
  * dwarf/frame: handle unknown opcodes more gracefully (#4037)
  * proc: propogate errors from switchToGoroutineStack
  * proc: refactor multi arch branches to uses Arch.usesLR
  * proc: handle moving of direct interface flag in Go 1.26 (#4032) (forwarded request 1294418 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1294421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/delve?expand=0&rev=19
2025-07-20 13:29:01 +00:00
95a3aa40dd - Update to version 1.25.1:
* *: v1.25.1
  * service/dap: do not try to stacktrace an unreadable goroutine (#4056)
  * service/dap: implement restart request (#4057)
  * service/dap: do not try to access value of unreadable string variables (#4055)
  * goversion: update min supported go minor version
  * CI: update teamcity to run 1.25
  * *: update golang.org/x/tools
  * pkg/goversion: update max supported go minor version
  * gobuild: try using debug filename pattern for debug binary first
  * pkg/proc: fix type cast between slices (#4048)
  * pkg/proc: make closure captured vars visible on closure's first line (#4049)
  * pkg,service: simplify tests with slices.Contains (#4040)
  * service/dap: add missing response body close in test (#4039)
  * dwarf/frame: handle unknown opcodes more gracefully (#4037)
  * proc: propogate errors from switchToGoroutineStack
  * proc: refactor multi arch branches to uses Arch.usesLR
  * proc: handle moving of direct interface flag in Go 1.26 (#4032)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/delve?expand=0&rev=39
2025-07-18 16:21:27 +00:00
bb819a7cde Accepting request 1286174 from devel:languages:go
- Update to version 1.25.0:
  * *: Release v1.25.0 (#4029)
  * proc: fill bi member of constants (#4026)
  * dap: Exclude internal breakpoints from response (#4027)
  * service/dap: fix race condition between disconnect and continue (#4028)
  * proc: fix nil pointer dereference in swiss table iterator (#4015)
  * proc: fix TestRangeOverFunc for arm64 on go1.25 (#4014)
  * service/dap: do not attempt further loading on unreadable string vars (#4016)
  * proc/gdbserial: fix out of bounds access reading registers (#4017)
  * proc: fix sigpanic in openOnRead (#4018)
  * terminal/command: Fix typo in goroutines help output (#4024)
  * service/debugger,rpc2,dap: target locking review (#3997)
  * goversion: fix development version parsing (#3999)
  * version: remove build constraint (#3998)
  * version: use git hash for version.Build in `dlv version` command (#3987)
  * gdbserial: fix call injection with newer versions of macOS (#3988)
  * pkg/terminal: improve TestBreakPointFailWithCond (#3996)
  * proc: remove dieToRuntimeType (#3985)
  * cmd/dlv: update staticcheck (#3989) (forwarded request 1286173 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1286174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/delve?expand=0&rev=18
2025-06-17 16:22:16 +00:00
1e1491641a - Update to version 1.25.0:
* *: Release v1.25.0 (#4029)
  * proc: fill bi member of constants (#4026)
  * dap: Exclude internal breakpoints from response (#4027)
  * service/dap: fix race condition between disconnect and continue (#4028)
  * proc: fix nil pointer dereference in swiss table iterator (#4015)
  * proc: fix TestRangeOverFunc for arm64 on go1.25 (#4014)
  * service/dap: do not attempt further loading on unreadable string vars (#4016)
  * proc/gdbserial: fix out of bounds access reading registers (#4017)
  * proc: fix sigpanic in openOnRead (#4018)
  * terminal/command: Fix typo in goroutines help output (#4024)
  * service/debugger,rpc2,dap: target locking review (#3997)
  * goversion: fix development version parsing (#3999)
  * version: remove build constraint (#3998)
  * version: use git hash for version.Build in `dlv version` command (#3987)
  * gdbserial: fix call injection with newer versions of macOS (#3988)
  * pkg/terminal: improve TestBreakPointFailWithCond (#3996)
  * proc: remove dieToRuntimeType (#3985)
  * cmd/dlv: update staticcheck (#3989)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/delve?expand=0&rev=37
2025-06-16 17:57:10 +00:00
a699248a24 Accepting request 1268542 from devel:languages:go
- Update to version 1.24.2:
  * *: 1.24.2 (#3983)
  * service/test: assert error on CreateBreakpoint in TestNextInstruction (#3979)
  * gdbserial: do not abort register reload on the first failed register (#3966)
  * service/dap: fix race condition when launching with backend=rr (#3971)
  * proc: limit the max length of goroutine's label map (#3928) (#3968)
  * proc: replace Thread.Location method with a function (#3972)
  * debugger: add missing targetMutex protection to CreateWatchpoint() (#3973)
  * proc: relax DWARFv5 check (#3961)
  * debugger: acquire missing lock to GuessSubstitutePath (#3963)
  * proc: skip invalid goroutine labels when debugging on Go 1.24 (#3928) (#3962)
  * proc: fix bug telemetry counter increment (#3967)
  * proc: do not always allocate struct literals (#3953)
  * Documentation: fix substitutePath explanation for DAP server (#3952)
  * proc/core: skip tests on ppc64le (#3954)
  * service/test: skip substitutepath test when modules disabled (#3955)
  * proc: add support for struct literals (#3935)
  * terminal: better question for suspended breakpoints (#3934)
  * terminal/command: bind if condition to location earlier (#3938)
  * cmd/dlv: fix typo (#3951)
  * service/test: fix compile error in tests (#3949)
  * service/debugger: fix FindLocation with child processes (#3937)
  * goversion: add check for DWARFv5 compatibility (#3943)
  * proc: add RegnumToString to PPC64LE architecture (#3944)
  * *: fix various test problems with go1.25 (#3946)
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.21 matching go.mod

OBS-URL: https://build.opensuse.org/request/show/1268542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/delve?expand=0&rev=17
2025-04-11 14:49:53 +00:00
7c26b0bff0 - Update to version 1.24.2:
* *: 1.24.2 (#3983)
  * service/test: assert error on CreateBreakpoint in TestNextInstruction (#3979)
  * gdbserial: do not abort register reload on the first failed register (#3966)
  * service/dap: fix race condition when launching with backend=rr (#3971)
  * proc: limit the max length of goroutine's label map (#3928) (#3968)
  * proc: replace Thread.Location method with a function (#3972)
  * debugger: add missing targetMutex protection to CreateWatchpoint() (#3973)
  * proc: relax DWARFv5 check (#3961)
  * debugger: acquire missing lock to GuessSubstitutePath (#3963)
  * proc: skip invalid goroutine labels when debugging on Go 1.24 (#3928) (#3962)
  * proc: fix bug telemetry counter increment (#3967)
  * proc: do not always allocate struct literals (#3953)
  * Documentation: fix substitutePath explanation for DAP server (#3952)
  * proc/core: skip tests on ppc64le (#3954)
  * service/test: skip substitutepath test when modules disabled (#3955)
  * proc: add support for struct literals (#3935)
  * terminal: better question for suspended breakpoints (#3934)
  * terminal/command: bind if condition to location earlier (#3938)
  * cmd/dlv: fix typo (#3951)
  * service/test: fix compile error in tests (#3949)
  * service/debugger: fix FindLocation with child processes (#3937)
  * goversion: add check for DWARFv5 compatibility (#3943)
  * proc: add RegnumToString to PPC64LE architecture (#3944)
  * *: fix various test problems with go1.25 (#3946)
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.21 matching go.mod

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/delve?expand=0&rev=35
2025-04-11 06:41:52 +00:00
8657451207 - Update to version 1.24.2:
* *: 1.24.2 (#3983)
  * service/test: assert error on CreateBreakpoint in TestNextInstruction (#3979)
  * gdbserial: do not abort register reload on the first failed register (#3966)
  * service/dap: fix race condition when launching with backend=rr (#3971)
  * proc: limit the max length of goroutine's label map (#3928) (#3968)
  * proc: replace Thread.Location method with a function (#3972)
  * debugger: add missing targetMutex protection to CreateWatchpoint() (#3973)
  * proc: relax DWARFv5 check (#3961)
  * debugger: acquire missing lock to GuessSubstitutePath (#3963)
  * proc: skip invalid goroutine labels when debugging on Go 1.24 (#3928) (#3962)
  * proc: fix bug telemetry counter increment (#3967)
  * proc: do not always allocate struct literals (#3953)
  * Documentation: fix substitutePath explanation for DAP server (#3952)
  * proc/core: skip tests on ppc64le (#3954)
  * service/test: skip substitutepath test when modules disabled (#3955)
  * proc: add support for struct literals (#3935)
  * terminal: better question for suspended breakpoints (#3934)
  * terminal/command: bind if condition to location earlier (#3938)
  * cmd/dlv: fix typo (#3951)
  * service/test: fix compile error in tests (#3949)
  * service/debugger: fix FindLocation with child processes (#3937)
  * goversion: add check for DWARFv5 compatibility (#3943)
  * proc: add RegnumToString to PPC64LE architecture (#3944)
  * *: fix various test problems with go1.25 (#3946)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/delve?expand=0&rev=34
2025-04-11 06:30:03 +00:00
665c1c9e9c Accepting request 1251026 from devel:languages:go
- Update to version 1.24.1:
  * *: v1.24.1 (#3931)
  * proc: expose breakpoint hitcounts in expressions (#3874)
  * proc: do not pin function call returns for toplevel call (#3925)
  * telemetry: add stack counter for internal errors (#3930)
  * service/test: handle wider registers in test (#3929)
  * dwarf,proc: various fixes to support DWARFv5 (#3893)
  * pkg/proc: support watchpoint on nil interface (#3924)
  * pkg/proc: add support for interface watchpoints (#3922)
  * proc/gdbserial: use rr version to determine style of qRRCmd (#3921)
  * logflags: replace logrus with log/slog (#3918)
  * *: remove uses of reflect.MethodByName from all of Delve (#3916)
  * CirrusCI: update FreeBSD version (#3917)
  * proc: some refactorings for supporting struct literals (#3909)
  * proc: better error message for breakpoints on stripped binaries (#3914)
  * TeamCity: remove riscv64 from configuration (#3912)
  * proc: allow access to thread registers after a function call (#3908)
  * *: add support for linux/loong64 to native backend (#3892)
  * service/dap: provide process events after launch (#3902)
  * pkg/terminal: support zed editor and allow args in DELVE_EDITOR (#3899)
  * proc: switch to goroutine stack if we make no progress on thread stack (#3898)
  * proc: remove irrelevant TODO comment (#3891)
  * pkg: refactor sort.Sort to slices.SortFunc (#3880)
  * delete redundancy code. (#3897)
  * pkg/proc/internal/ebpf: Fix uprobe address (#3894)
  * service/test: disable TestGuessSubstitutePath on TeamCity/linux/tip (#3890)
  * proc: remove leftover fmt.Printf (#3885)
  * fix check it.Err() != nil but return a nil value error err (#3886)
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.21 matching go.mod (forwarded request 1251025 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1251026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/delve?expand=0&rev=16
2025-03-07 15:42:42 +00:00
456206da61 - Update to version 1.24.1:
* *: v1.24.1 (#3931)
  * proc: expose breakpoint hitcounts in expressions (#3874)
  * proc: do not pin function call returns for toplevel call (#3925)
  * telemetry: add stack counter for internal errors (#3930)
  * service/test: handle wider registers in test (#3929)
  * dwarf,proc: various fixes to support DWARFv5 (#3893)
  * pkg/proc: support watchpoint on nil interface (#3924)
  * pkg/proc: add support for interface watchpoints (#3922)
  * proc/gdbserial: use rr version to determine style of qRRCmd (#3921)
  * logflags: replace logrus with log/slog (#3918)
  * *: remove uses of reflect.MethodByName from all of Delve (#3916)
  * CirrusCI: update FreeBSD version (#3917)
  * proc: some refactorings for supporting struct literals (#3909)
  * proc: better error message for breakpoints on stripped binaries (#3914)
  * TeamCity: remove riscv64 from configuration (#3912)
  * proc: allow access to thread registers after a function call (#3908)
  * *: add support for linux/loong64 to native backend (#3892)
  * service/dap: provide process events after launch (#3902)
  * pkg/terminal: support zed editor and allow args in DELVE_EDITOR (#3899)
  * proc: switch to goroutine stack if we make no progress on thread stack (#3898)
  * proc: remove irrelevant TODO comment (#3891)
  * pkg: refactor sort.Sort to slices.SortFunc (#3880)
  * delete redundancy code. (#3897)
  * pkg/proc/internal/ebpf: Fix uprobe address (#3894)
  * service/test: disable TestGuessSubstitutePath on TeamCity/linux/tip (#3890)
  * proc: remove leftover fmt.Printf (#3885)
  * fix check it.Err() != nil but return a nil value error err (#3886)
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.21 matching go.mod

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/delve?expand=0&rev=32
2025-03-06 18:34:55 +00:00
820efe472c Accepting request 1231969 from devel:languages:go
- Update to version 1.24.0:
  * *: v1.24.0 (#3883)
  * goversion,proc_test: add go1.24 compatiblity, disable broken test (#3882)
  * proc: fix loading goroutine labels on Go 1.24 (#3879)
  * service/rpc1: delete APIv1 (#3881)
  * tests: removing of dlvbin is not needed (#3875)
  * pkg/proc: support swiss table map implementation (#3838)
  * terminal/starbind: allow modification of structs returned by API (#3872)
  * pkg/proc,service/debugger: do not disable unsatisfiable breakpoints (#3868)
  * proc: allow accessing captured variable as if they were struct fields (#3866)
  * feat: print a message when the debuggee process exits (#3870)
  * proc: fix issue on Windows when launching process while detached (#3867)
  * proc/core/minidump: remove newlines from minidump logs (#3869)
  * pkg/proc/native,pkg/proc/amd64util: xsave decoding cleanup (#3840)
  * go.mod: sync golang.org/x/telemetry@58a1122356f5 (#3857)
  * all: remove redundant err declarations (#3855)
  * tests: calling os.Exit in TestMain is not required (#3856)
  * proc: do not ignore error return of funcCallEvalFuncExpr (#3850)
  * Documentation: using `go install` is preferable (#3853)
  * proc: fix typos in errors and comments (#3852)
  * proc: run gofmt (#3851)
  * proc: fix rangeFuncStackTrace with inlined functions (#3849)
  * service,terminal,cmd/dlv: automatically guessing substitute-path config (#3781)
  * service/rpc2: correct ExamineMemory length error message (#3846)
  * all: import go telemetry and enable crash reporting (#3841)
  * TeamCity: move riscv64 backend testing to tip (#3842)
  * _scripts: update staticcheck version (#3839)
  * proc: use CPUID to determine ZMM_Hi256 region offset (#3831)
  * Documentation: fix autogenerated markdown documentation (#3836)
  * goversion: parse version for development builds (#3837) (forwarded request 1231968 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1231969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/delve?expand=0&rev=15
2024-12-19 20:40:36 +00:00
fb14dbb9a4 - Update to version 1.24.0:
* *: v1.24.0 (#3883)
  * goversion,proc_test: add go1.24 compatiblity, disable broken test (#3882)
  * proc: fix loading goroutine labels on Go 1.24 (#3879)
  * service/rpc1: delete APIv1 (#3881)
  * tests: removing of dlvbin is not needed (#3875)
  * pkg/proc: support swiss table map implementation (#3838)
  * terminal/starbind: allow modification of structs returned by API (#3872)
  * pkg/proc,service/debugger: do not disable unsatisfiable breakpoints (#3868)
  * proc: allow accessing captured variable as if they were struct fields (#3866)
  * feat: print a message when the debuggee process exits (#3870)
  * proc: fix issue on Windows when launching process while detached (#3867)
  * proc/core/minidump: remove newlines from minidump logs (#3869)
  * pkg/proc/native,pkg/proc/amd64util: xsave decoding cleanup (#3840)
  * go.mod: sync golang.org/x/telemetry@58a1122356f5 (#3857)
  * all: remove redundant err declarations (#3855)
  * tests: calling os.Exit in TestMain is not required (#3856)
  * proc: do not ignore error return of funcCallEvalFuncExpr (#3850)
  * Documentation: using `go install` is preferable (#3853)
  * proc: fix typos in errors and comments (#3852)
  * proc: run gofmt (#3851)
  * proc: fix rangeFuncStackTrace with inlined functions (#3849)
  * service,terminal,cmd/dlv: automatically guessing substitute-path config (#3781)
  * service/rpc2: correct ExamineMemory length error message (#3846)
  * all: import go telemetry and enable crash reporting (#3841)
  * TeamCity: move riscv64 backend testing to tip (#3842)
  * _scripts: update staticcheck version (#3839)
  * proc: use CPUID to determine ZMM_Hi256 region offset (#3831)
  * Documentation: fix autogenerated markdown documentation (#3836)
  * goversion: parse version for development builds (#3837)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/delve?expand=0&rev=30
2024-12-18 22:09:59 +00:00
7 changed files with 283 additions and 10 deletions

View File

@@ -3,7 +3,7 @@
<param name="url">https://github.com/go-delve/delve.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v1.23.1</param>
<param name="revision">v1.26.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/go-delve/delve.git</param>
<param name="changesrevision">856ad78be040837b352a884a60917f5efbc5abdc</param></service></servicedata>
<param name="changesrevision">4e4f29ce753a0dda04b200452c23b90a25923465</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0716208784ab84009472ccefd3df09f40dd56244d880eaf4899788280746af98
size 9623805

3
delve-1.26.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5ef4e6e1736e9430e32f0a9aa10842fb3fee3a3287b4b6910d4213b19ffe460
size 21138662

View File

@@ -1,3 +1,276 @@
-------------------------------------------------------------------
Fri Dec 19 21:08:28 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.26.0:
* v1.26.0 (#4220)
* tests: fix TestFilterGoroutines/TestGoroutineLabels on windows/1.26 (#4217)
* gdbserial: do not set detached if we kill the process (#4216)
* service/dap: fix restart handling when compilation fails (#4215)
* service/dap: disable string() field for address-less variables (#4214)
* service/test: disable TestGuessSubstitutePath on riscv64 (#4212)
* *: More fixes for Go 1.26 (#4211)
* pkg/proc: process spawned event (#4171)
* *: update riscv64 capslock file (#4210)
* github: fix issue template (#4209)
* fix: go mod vendor (#4207)
* *: replace github.com/hashicorp/golang-lru with a custom lru cache (#4196)
* *: update riscv64 support and adding it in test matrix (#4190)
* go.mod: remove replace directive
* cmd/dlv,_scripts: move things that use x/tools/go/packages to new repo (#3990)
* pkg/proc: add way to disable stop-on-error for breakpoint conditions (#4191)
* *: fix tests on windows and arm64 for go1.26 (#4205)
* dap: preserve tags when handling tags (#4201)
* test: only run capslock on latest minor version (#4202)
* *: fix tests (#4198)
* Teamcity: disable riscv64 build due to lack of agent (#4199)
* terminal: add savestate command (#4045)
* service/dap: add target command in console and support follow-exec in DAP interface (#4078)
* service: workaround for non-unicode strings in Variables (#4082)
* pkg/proc: guard register logging from nil pointer dereferences (#4188)
* teamcity: Add support for riscv64 architecture in settings (#4189)
* Add support to trace defer function calls under trace follow option (#3978)
* pkg/dwarf: do not insist stmt is same line as entry (#4186)
* replay subcommand must keep trace directory. (#4184)
* gobuild: add log for build argument (#4185)
* pkg/terminal: allow custom starlark commands to be used in on prefix (#4170)
* service/dap: add dap read memory request handler (#4083)
* winarm64: remove experimental build tags (#4176)
* pkg/terminal: lazy init functions trie to reduce unnecessary memory usage (#4177)
* service/dap: implement input/output redirection (#4178)
* terminal: fix wait reason string table (#4182)
* proc: add test for interfaces with otherwise unreachable runtime types (#4096)
* proc: simplify and rename structMember (#4159)
* CI: add windows arm64 workflow (#4175)
* service/dap: use exception breakpoints for predefined breakpoints (#4169)
* cmd/dlv: prevent trace killing attached process (#4164)
* service/debugger: use address in ClearBreakpoint only when ID is 0 (#4168)
* pkg/proc: split off rangeParent from function extras (#4173)
* pkg/proc: fix nil pointer dereference when calling extra on a nil func (#4174)
* service,proc: fix tests to enable parallel runs (#4135)
* teamcity: re-remove loong64 configuration
* proc: produce materialized breakpoint event for follow-exec mode (#4161)
* tests: add missing test cleanup (#4163)
* teamcity: add linux/loong64 to configuration (#4154)
* proc/gdbserial: cleanup TestTraceDirCleanup (#4157)
* Revert "teamcity: add linux/loong64 to configuration (#4154)" (#4158)
* ci/cd: set CI=true on a project level (#4156)
* teamcity: add linux/loong64 to configuration (#4154)
* teamcity: don't sign binaries on CI
* dlv_test: disable parallelization on TestUnattendedBreakpoint (#4145)
* pkg/proc: add support for function calls on loong64 (#4114)
* Add flag to retain trace directory after detach (#4091)
* proc,service,terminal: allow cancelling of debuginfod downloads (#4123)
* pkg/proc: hierarchical search structMember or method (#4118)
* pkg/proc: fix and improve frame unwind context handling on loong64 (#4133)
* terminal: add shortcut syntax to starlark to access target vars (#4134)
* proc: additional checks parsing g structs (#4140)
* proc: return error when calling a non-ptr receiver method on a nil ptr (#4139)
* debugger: check that breakpoint exists in ClearBreakpoint (#4141)
* go.mod: upgrade simplelru to v2 (#4143)
* *: update trie to v3.2.0 (#4131)
* service/dap: Implement suspended breakpoints (#4075)
* terminal: trace /regexp/ should set ret breakpoints correctly (#4130)
* support_sentinel_linux.go: Fixed the ppc64le clause in the file to prevent build failures. (#4129)
* pkg/proc: optimize range body lookup cost by trie searching and use moduledata cache to reduce LoadModuleData cost (#4113)
* cmd/dlv: use distinct ports for parallel tests (#4124)
* service/dap: fix nativeProcess race condition in tests (#4121)
* *: install capslock after env var setup (#4122)
* cmd/dlv: add capslock check (#4106)
* service: remember that we attached in WaitFor attach mode (#4120)
* *: parallelize tests where possible (#4115)
* *: update github.com/derekparker/trie (#4107)
* *: modernize codebase with newer syntax / helpers (#4110)
* service/test: reduce TestGoroutinesGrouping runtime (#4111)
* pkg/goversion: update MinSupportedVersionOfGoMinor (#4108)
-------------------------------------------------------------------
Thu Aug 28 00:48:20 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.25.2:
* *: release version 1.25.2 (#4104)
* pkg/proc: return better error attempting to call nonexistent function (#4062)
* service/dap: allow clients to specify rebuild on restart (#4103)
* pkg/proc: add support for additional stack-switching functions on loong64 (#4100)
* *: fix some failing tests on go1.25 (#4089)
* proc: early fixes for Go 1.26 (#4070)
* dwarf: using maps.Clone (#4088)
* proc: in-progress calls must be properly terminated (#4090)
* pkg/proc: support ContextRegNum on loong64 (#4095)
* pkg/proc: add support for reading runtime.sigtrampgo context on loong64 (#4098)
* proc,service,terminal: add events call use it for dld notifications (#3980)
* service/dap: fix TestConfigurationDoneWithoutDebugSession (#4071)
* proc: fix nil pointer dereference loading malformed classic maps (#4067)
* service/dap: fix restart while the target is running (#4068)
* service/dap: fix panic on uninitialized debugger (#4061)
-------------------------------------------------------------------
Fri Jul 25 12:15:40 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Packaging improvements:
* Update BuildRequires: golang(API) >= 1.25 to address warning:
"To debug executables using DWARFv5 or later Delve must be
built with Go version 1.25.0 or later." The go1.25 compiler
emits DWARF version 5 debuginfo and delve must be built with
go1.25 to debug go1.25 built binaries.
https://go.dev/doc/go1.25#compiler
Refs boo#1246767
-------------------------------------------------------------------
Fri Jul 18 16:04:58 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.25.1:
* *: v1.25.1
* service/dap: do not try to stacktrace an unreadable goroutine (#4056)
* service/dap: implement restart request (#4057)
* service/dap: do not try to access value of unreadable string variables (#4055)
* goversion: update min supported go minor version
* CI: update teamcity to run 1.25
* *: update golang.org/x/tools
* pkg/goversion: update max supported go minor version
* gobuild: try using debug filename pattern for debug binary first
* pkg/proc: fix type cast between slices (#4048)
* pkg/proc: make closure captured vars visible on closure's first line (#4049)
* pkg,service: simplify tests with slices.Contains (#4040)
* service/dap: add missing response body close in test (#4039)
* dwarf/frame: handle unknown opcodes more gracefully (#4037)
* proc: propogate errors from switchToGoroutineStack
* proc: refactor multi arch branches to uses Arch.usesLR
* proc: handle moving of direct interface flag in Go 1.26 (#4032)
-------------------------------------------------------------------
Mon Jun 16 16:54:56 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.25.0:
* *: Release v1.25.0 (#4029)
* proc: fill bi member of constants (#4026)
* dap: Exclude internal breakpoints from response (#4027)
* service/dap: fix race condition between disconnect and continue (#4028)
* proc: fix nil pointer dereference in swiss table iterator (#4015)
* proc: fix TestRangeOverFunc for arm64 on go1.25 (#4014)
* service/dap: do not attempt further loading on unreadable string vars (#4016)
* proc/gdbserial: fix out of bounds access reading registers (#4017)
* proc: fix sigpanic in openOnRead (#4018)
* terminal/command: Fix typo in goroutines help output (#4024)
* service/debugger,rpc2,dap: target locking review (#3997)
* goversion: fix development version parsing (#3999)
* version: remove build constraint (#3998)
* version: use git hash for version.Build in `dlv version` command (#3987)
* gdbserial: fix call injection with newer versions of macOS (#3988)
* pkg/terminal: improve TestBreakPointFailWithCond (#3996)
* proc: remove dieToRuntimeType (#3985)
* cmd/dlv: update staticcheck (#3989)
-------------------------------------------------------------------
Fri Apr 11 06:24:09 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.24.2:
* *: 1.24.2 (#3983)
* service/test: assert error on CreateBreakpoint in TestNextInstruction (#3979)
* gdbserial: do not abort register reload on the first failed register (#3966)
* service/dap: fix race condition when launching with backend=rr (#3971)
* proc: limit the max length of goroutine's label map (#3928) (#3968)
* proc: replace Thread.Location method with a function (#3972)
* debugger: add missing targetMutex protection to CreateWatchpoint() (#3973)
* proc: relax DWARFv5 check (#3961)
* debugger: acquire missing lock to GuessSubstitutePath (#3963)
* proc: skip invalid goroutine labels when debugging on Go 1.24 (#3928) (#3962)
* proc: fix bug telemetry counter increment (#3967)
* proc: do not always allocate struct literals (#3953)
* Documentation: fix substitutePath explanation for DAP server (#3952)
* proc/core: skip tests on ppc64le (#3954)
* service/test: skip substitutepath test when modules disabled (#3955)
* proc: add support for struct literals (#3935)
* terminal: better question for suspended breakpoints (#3934)
* terminal/command: bind if condition to location earlier (#3938)
* cmd/dlv: fix typo (#3951)
* service/test: fix compile error in tests (#3949)
* service/debugger: fix FindLocation with child processes (#3937)
* goversion: add check for DWARFv5 compatibility (#3943)
* proc: add RegnumToString to PPC64LE architecture (#3944)
* *: fix various test problems with go1.25 (#3946)
- Packaging improvements:
* Update to BuildRequires: golang(API) >= 1.21 matching go.mod
-------------------------------------------------------------------
Thu Mar 06 17:57:33 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.24.1:
* *: v1.24.1 (#3931)
* proc: expose breakpoint hitcounts in expressions (#3874)
* proc: do not pin function call returns for toplevel call (#3925)
* telemetry: add stack counter for internal errors (#3930)
* service/test: handle wider registers in test (#3929)
* dwarf,proc: various fixes to support DWARFv5 (#3893)
* pkg/proc: support watchpoint on nil interface (#3924)
* pkg/proc: add support for interface watchpoints (#3922)
* proc/gdbserial: use rr version to determine style of qRRCmd (#3921)
* logflags: replace logrus with log/slog (#3918)
* *: remove uses of reflect.MethodByName from all of Delve (#3916)
* CirrusCI: update FreeBSD version (#3917)
* proc: some refactorings for supporting struct literals (#3909)
* proc: better error message for breakpoints on stripped binaries (#3914)
* TeamCity: remove riscv64 from configuration (#3912)
* proc: allow access to thread registers after a function call (#3908)
* *: add support for linux/loong64 to native backend (#3892)
* service/dap: provide process events after launch (#3902)
* pkg/terminal: support zed editor and allow args in DELVE_EDITOR (#3899)
* proc: switch to goroutine stack if we make no progress on thread stack (#3898)
* proc: remove irrelevant TODO comment (#3891)
* pkg: refactor sort.Sort to slices.SortFunc (#3880)
* delete redundancy code. (#3897)
* pkg/proc/internal/ebpf: Fix uprobe address (#3894)
* service/test: disable TestGuessSubstitutePath on TeamCity/linux/tip (#3890)
* proc: remove leftover fmt.Printf (#3885)
* fix check it.Err() != nil but return a nil value error err (#3886)
- Packaging improvements:
* Update to BuildRequires: golang(API) >= 1.21 matching go.mod
-------------------------------------------------------------------
Wed Dec 18 21:15:55 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.24.0:
* *: v1.24.0 (#3883)
* goversion,proc_test: add go1.24 compatiblity, disable broken test (#3882)
* proc: fix loading goroutine labels on Go 1.24 (#3879)
* service/rpc1: delete APIv1 (#3881)
* tests: removing of dlvbin is not needed (#3875)
* pkg/proc: support swiss table map implementation (#3838)
* terminal/starbind: allow modification of structs returned by API (#3872)
* pkg/proc,service/debugger: do not disable unsatisfiable breakpoints (#3868)
* proc: allow accessing captured variable as if they were struct fields (#3866)
* feat: print a message when the debuggee process exits (#3870)
* proc: fix issue on Windows when launching process while detached (#3867)
* proc/core/minidump: remove newlines from minidump logs (#3869)
* pkg/proc/native,pkg/proc/amd64util: xsave decoding cleanup (#3840)
* go.mod: sync golang.org/x/telemetry@58a1122356f5 (#3857)
* all: remove redundant err declarations (#3855)
* tests: calling os.Exit in TestMain is not required (#3856)
* proc: do not ignore error return of funcCallEvalFuncExpr (#3850)
* Documentation: using `go install` is preferable (#3853)
* proc: fix typos in errors and comments (#3852)
* proc: run gofmt (#3851)
* proc: fix rangeFuncStackTrace with inlined functions (#3849)
* service,terminal,cmd/dlv: automatically guessing substitute-path config (#3781)
* service/rpc2: correct ExamineMemory length error message (#3846)
* all: import go telemetry and enable crash reporting (#3841)
* TeamCity: move riscv64 backend testing to tip (#3842)
* _scripts: update staticcheck version (#3839)
* proc: use CPUID to determine ZMM_Hi256 region offset (#3831)
* Documentation: fix autogenerated markdown documentation (#3836)
* goversion: parse version for development builds (#3837)
* pkg/proc/core: Clean up some repetitive code (#3834)
* *: mark riscv64 port as experimental (#3835)
* delve: add linux-riscv64 support (#3785)
* all: update golang.org/x/arch to v0.11.0 (#3826)
* proc: adds pointer pinning to call injection (#3787)
* terminal,service: add raw examinemem dump (#3721)
* tests: disable TestGeneratedDoc on 1.24 (tip) (#3820)
* *: replace uses of uniq with slices.Compact (#3821)
* pkg/proc: simplify tests by using errors.As (#3818)
* cmds/commands: Update 'client-addr' to support Unix domain sockets (#3819)
* Documentation: Add dape to list of plugins (#3817)
* proc: step into coroutine (#3791)
-------------------------------------------------------------------
Mon Sep 23 19:42:20 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package delve
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define shortname dlv
Name: delve
Version: 1.23.1
Version: 1.26.0
Release: 0
Summary: Debugger for the Go Programming Language
License: MIT
@@ -27,7 +27,7 @@ Group: Development/Languages/Go
URL: https://github.com/go-delve/delve
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang(API) >= 1.17
BuildRequires: golang(API) >= 1.25
# your_linux_architecture_is_not_supported_by_delve (support_sentinel_linux.go)
ExcludeArch: s390x ppc64 ppc64le %arm riscv64

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf59b38b53ea7d291f2242d83eded028bb09a92b2c54ed931581da6fae42fb5b
size 2174752
oid sha256:3644b2dbe1ce1589ebf57a43b5d57e0f3bbb87763de55cc3894d864fe0ef6c8a
size 2159052