aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-06-16 17:04:30 -0700
committerRob Pike <r@golang.org>2008-06-16 17:04:30 -0700
commit88a3371a91ac01fb8bcc8083c0f32300514846c3 (patch)
tree9cea5906cb62a6ed29c246d386973ad2342895b1 /src/runtime/runtime.h
parentbb57a5bc2c167f82698654419376ce3a4825489f (diff)
downloadgo-88a3371a91ac01fb8bcc8083c0f32300514846c3.tar.xz
print pc on faults
SVN=123030
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index a12ac29f55..d006915730 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -91,6 +91,7 @@ void sys_write(int32, void*, int32);
void sys_breakpoint(void);
uint8* sys_mmap(byte*, uint32, int32, int32, int32, uint32);
void sys_memclr(byte*, uint32);
+void* sys_getcallerpc(void*);
/*
* runtime