~ubuntu-branches/ubuntu/oneiric/bug-buddy/oneiric

« back to all changes in this revision

Viewing changes to google-breakpad/src/client/solaris/handler/solaris_lwp.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-03-17 11:52:38 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20090317115238-pelki75p8yvl9bw1
Tags: 2.26.0+dfsg-0ubuntu1
* New upstream release: (LP: #344132)
  - Don't hardcode a scrollkeeper check in the configure script.
  - Build correctly with --disable-eds.
  - Fix a segfault (Josseline Mouette).
  - Don't free uninitialized memory.
  - Drop libgnome and libgnomeui dependencies.
  - Make google-breakpad support optional (but enabled by default).
    Thanks to Sjoerd Simons.
  - Obtain the real path of the crashed process by looking in /proc.
    Thanks to Sam Morris and Matt Keenan.
  - Add an option to delete the included file after bug-buddy has
    processed it.
  - Implement a logger for pasting critical and fatal warnings in the
    stacktraces.
  - Include the loaded GTK+ modules in the stacktraces sent to bugzilla.
  - Update google-breakpad to SVN r290.
  - Compile with all the GLib/GTK+ deprecation flags.
* debian/control.in:
  - remove scroolkeeper, libgnome2-dev and libgnomeui-dev b-d
  - bump libgtk2.0-dev to 2.14
  - add libgconf2-dev
  - add Vcs-Bzr tag
  - re-generate debian/control
* debian/patches:
  - remove 01_double-free.patch as taken upstream
  - remove 02_disable_breakpad.patch as upstream handle --disable-*
    (and so, --disable-google-breakpad)
  - refresh 70_automake-autoconf.patch
* debian/rules: remove --disable-scrollkeeper as removed in configure
  file
* Adapt debian/watch to get unstable version

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#ifndef CLIENT_SOLARIS_HANDLER_SOLARIS_LWP_H__
33
33
#define CLIENT_SOLARIS_HANDLER_SOLARIS_LWP_H__
34
34
 
 
35
#if defined(sparc) || defined(__sparc)
 
36
#define TARGET_CPU_SPARC 1
 
37
#elif defined(i386) || defined(__i386)
 
38
#define TARGET_CPU_X86 1
 
39
#else
 
40
#error "cannot determine cpu type"
 
41
#endif
 
42
 
35
43
#include <signal.h>
36
44
#include <stdint.h>
37
45
#include <sys/user.h>
 
46
#include <ucontext.h>
38
47
 
39
48
#ifndef _KERNEL
40
49
#define _KERNEL
134
143
  // Get the bottom of the stack from esp.
135
144
  uintptr_t GetLwpStackBottom(uintptr_t current_esp) const;
136
145
 
 
146
  // Finds a signal context on the stack given the ebp of our signal handler.
 
147
  bool FindSigContext(uintptr_t sighandler_ebp, ucontext_t **sig_ctx);
 
148
 
 
149
 private:
 
150
  // Check if the address is a valid virtual address.
 
151
  bool IsAddressMapped(uintptr_t address) const;
 
152
 
137
153
 private:
138
154
  // The pid of the process we are listing lwps.
139
155
  int pid_;