Expose WalkTheStack

git-svn-id: svn://10.0.0.236/trunk@15359 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-11-26 18:03:20 +00:00
parent 983d848263
commit 2a73c19d2a
6 changed files with 18 additions and 12 deletions

View File

@@ -95,8 +95,8 @@ EnumModulesCB(LPSTR aModuleName,
* the rebasing and accordingly I've made a tool to use it to rebase the * the rebasing and accordingly I've made a tool to use it to rebase the
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp). * DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
*/ */
static void void
WalkTheStack(char* aBuffer, int aBufLen) nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{ {
CONTEXT context; CONTEXT context;
STACKFRAME frame; STACKFRAME frame;
@@ -191,8 +191,8 @@ WalkTheStack(char* aBuffer, int aBufLen)
} }
#else /* _WIN32 */ #else /* _WIN32 */
static void void
WalkTheStack(char* aBuffer, int aBufLen) nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{ {
aBuffer[0] = '\0'; aBuffer[0] = '\0';
} }

View File

@@ -54,6 +54,8 @@ public:
static NS_COM void LoadLibrarySymbols(const char* aLibraryName, static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
void* aLibrayHandle); void* aLibrayHandle);
static NS_COM void WalkTheStack(char* aBuffer, int aBufLen);
}; };
#endif /* nsTraceRefcnt_h___ */ #endif /* nsTraceRefcnt_h___ */

View File

@@ -95,8 +95,8 @@ EnumModulesCB(LPSTR aModuleName,
* the rebasing and accordingly I've made a tool to use it to rebase the * the rebasing and accordingly I've made a tool to use it to rebase the
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp). * DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
*/ */
static void void
WalkTheStack(char* aBuffer, int aBufLen) nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{ {
CONTEXT context; CONTEXT context;
STACKFRAME frame; STACKFRAME frame;
@@ -191,8 +191,8 @@ WalkTheStack(char* aBuffer, int aBufLen)
} }
#else /* _WIN32 */ #else /* _WIN32 */
static void void
WalkTheStack(char* aBuffer, int aBufLen) nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{ {
aBuffer[0] = '\0'; aBuffer[0] = '\0';
} }

View File

@@ -54,6 +54,8 @@ public:
static NS_COM void LoadLibrarySymbols(const char* aLibraryName, static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
void* aLibrayHandle); void* aLibrayHandle);
static NS_COM void WalkTheStack(char* aBuffer, int aBufLen);
}; };
#endif /* nsTraceRefcnt_h___ */ #endif /* nsTraceRefcnt_h___ */

View File

@@ -54,6 +54,8 @@ public:
static NS_COM void LoadLibrarySymbols(const char* aLibraryName, static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
void* aLibrayHandle); void* aLibrayHandle);
static NS_COM void WalkTheStack(char* aBuffer, int aBufLen);
}; };
#endif /* nsTraceRefcnt_h___ */ #endif /* nsTraceRefcnt_h___ */

View File

@@ -95,8 +95,8 @@ EnumModulesCB(LPSTR aModuleName,
* the rebasing and accordingly I've made a tool to use it to rebase the * the rebasing and accordingly I've made a tool to use it to rebase the
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp). * DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
*/ */
static void void
WalkTheStack(char* aBuffer, int aBufLen) nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{ {
CONTEXT context; CONTEXT context;
STACKFRAME frame; STACKFRAME frame;
@@ -191,8 +191,8 @@ WalkTheStack(char* aBuffer, int aBufLen)
} }
#else /* _WIN32 */ #else /* _WIN32 */
static void void
WalkTheStack(char* aBuffer, int aBufLen) nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{ {
aBuffer[0] = '\0'; aBuffer[0] = '\0';
} }