delve/_fixtures/coreemptystring.go
aarzilli cd5203e305 proc: fix reading of empty strings in core files
Every time we read an empty string we accidentally issue a read for 0
bytes at address 0, this is fine for real memory but the core file
reader doesn't like it.

Fixes an issue reported on the mailing list.
2018-03-08 11:58:03 -08:00

9 lines
86 B
Go

package main
func main() {
s := ""
t := "test"
panic("panic!!!")
println(s, t)
}