aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-07-28 11:29:41 -0700
committerRob Pike <r@golang.org>2008-07-28 11:29:41 -0700
commit3835e01d97c26f110d9842f3279ec24bd3f15add (patch)
tree24d1103f17c63bf035886e72f7d475727077691c /src/runtime/runtime.h
parentea0569026cddcecd8cf6df55dcd24c93fc9769ea (diff)
downloadgo-3835e01d97c26f110d9842f3279ec24bd3f15add.tar.xz
print tracebacks for all goroutines, not just the crashing one
R=ken OCL=13518 CL=13518
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 9ee7534926..26eb1af2ac 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -106,7 +106,7 @@ struct G
byte* stackbase; // must not move
byte* stack0; // first stack segment
Gobuf sched;
- G* alllink; // on allq
+ G* alllink; // on allg
void* param; // passed parameter on wakeup
int16 status;
int32 goid;
@@ -189,6 +189,7 @@ void* mal(uint32);
uint32 cmpstring(string, string);
void initsig(void);
void traceback(uint8 *pc, uint8 *sp, G* gp);
+void tracebackothers(G*);
int32 open(byte*, int32, ...);
int32 read(int32, void*, int32);
int32 write(int32, void*, int32);