Use Frame*.

This commit is contained in:
Steve Checkoway
2006-03-29 11:21:44 +00:00
parent 788ad134f1
commit 61363eff0b
3 changed files with 12 additions and 8 deletions
+5 -1
View File
@@ -3,6 +3,9 @@
/* This API works like backtrace_pointers(), to retrieve a stack trace. */
#if defined(CPU_PPC)
struct Frame;
#endif
/* This contains the information necessary to backtrace a thread. */
struct BacktraceContext
{
@@ -15,7 +18,8 @@ struct BacktraceContext
#endif
#if defined(CPU_PPC)
void *FramePtr, *PC;
const Frame *FramePtr;
const void *PC;
#endif
};