aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorChristian Himpel <chressie@googlemail.com>2012-11-19 10:22:47 -0800
committerIan Lance Taylor <iant@golang.org>2012-11-19 10:22:47 -0800
commitca8aac698f1766f80f68bcf5581361a784ef10d9 (patch)
tree6aa689e8881c75c1526c736b14324d7b08b4431f /src/cmd
parent8f3b703323df5831d13a2492019ebe932559ae4f (diff)
downloadgo-ca8aac698f1766f80f68bcf5581361a784ef10d9.tar.xz
runtime: gdb support: use parse_and_eval to get the goroutine id
This enables to loop over some goroutines, e.g. to print the backtrace of goroutines 1 to 9: set $i = 1 while $i < 10 printf "backtrace of goroutine %d:\n", $i goroutine $i++ bt end R=lvd, lvd CC=golang-dev https://golang.org/cl/6843071
Diffstat (limited to 'src/cmd')
0 files changed, 0 insertions, 0 deletions