Created
January 26, 2019 07:49
-
-
Save tetsu-koba/648166471d7c3db6f02aa1ffec1f0259 to your computer and use it in GitHub Desktop.
go-gdb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
GOROOT=`go env GOROOT` | |
GO_GDB="${GO_GDB:-gdb}" | |
exec ${GO_GDB} \ | |
--directory="$GOROOT" \ | |
-iex "add-auto-load-safe-path $GOROOT/src/runtime/runtime-gdb.py" \ | |
"$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment