diff options
| author | Christian Himpel <chressie@googlemail.com> | 2012-11-19 10:22:47 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2012-11-19 10:22:47 -0800 |
| commit | ca8aac698f1766f80f68bcf5581361a784ef10d9 (patch) | |
| tree | 6aa689e8881c75c1526c736b14324d7b08b4431f /src/cmd/api | |
| parent | 8f3b703323df5831d13a2492019ebe932559ae4f (diff) | |
| download | go-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/api')
0 files changed, 0 insertions, 0 deletions
