]> Cypherpunks repositories - gostls13.git/commit
cmd/link: guarantee "section .debug_gdb_scripts" is always "$GOROOT/src/runtime/runti...
authorcrazycomputer <zhouguangyuan.xian@gmail.com>
Sun, 22 Aug 2021 09:26:20 +0000 (17:26 +0800)
committerThan McIntosh <thanm@google.com>
Tue, 24 Aug 2021 16:55:17 +0000 (16:55 +0000)
commitdaa55b21d1e7707ed251336c851841bb0eca3021
tree33ea8b077cc744cf5adf7e437882a78de10d10f9
parente6798795ff523b9b5df2514bffd8d5ce743c312e
cmd/link: guarantee "section .debug_gdb_scripts" is always "$GOROOT/src/runtime/runtime-gdb.py".

to guarantee the "section .debug_gdb_scripts" is  always "$GOROOT/src/runtime/runtime-gdb.py" , a check for package name is needed when search "runtime/proc.go".

Fixes #47881

Change-Id: Ib471314ca1a6777f625b488e5ae3790457540ef9
Reviewed-on: https://go-review.googlesource.com/c/go/+/344229
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Trust: Michael Knyszek <mknyszek@google.com>
src/cmd/link/internal/ld/dwarf.go