diff options
author | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-06-11 16:01:46 +0000 |
---|---|---|
committer | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-06-11 16:01:46 +0000 |
commit | 21d58c728185e616c9ae8076143af0955d6fe4df (patch) | |
tree | 02756ce232c7de603274f1f35c0a00861598bd9c /src/client/linux/handler/linux_thread.h | |
parent | issue 154: reviewed by Waylonis (diff) | |
download | breakpad-21d58c728185e616c9ae8076143af0955d6fe4df.tar.xz |
Issue 182: linux handler doesn't have sigcontext if called from a previous signal handler. r=mento / Liu Li
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@188 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/linux/handler/linux_thread.h')
-rw-r--r-- | src/client/linux/handler/linux_thread.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/linux/handler/linux_thread.h b/src/client/linux/handler/linux_thread.h index 9f5d479f..f738c2e0 100644 --- a/src/client/linux/handler/linux_thread.h +++ b/src/client/linux/handler/linux_thread.h @@ -171,7 +171,10 @@ class LinuxThread { int ListModules(CallbackParam<ModuleCallback> *callback_param) const; // Get the bottom of the stack from ebp. - uintptr_t GetThreadStackBottom(uintptr_t current_esp) const; + uintptr_t GetThreadStackBottom(uintptr_t current_ebp) const; + + // Finds a sigcontext on the stack given the ebp of our signal handler. + bool FindSigContext(uintptr_t sighandler_ebp, struct sigcontext **sig_ctx); private: // This callback will run when a new thread has been found. |