Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(547)

Issue 416002: Android ucontext_t handling refinement. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by digit
Modified:
11 years, 9 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Android ucontext_t handling refinement.

This is a forward-compatible patch to prepare for future versions
of the Android C library headers that define ucontext_t.

When this patch is applied, Google Breakpad will build and work
properly against any version of the NDK or platform headers.

See http://code.google.com/p/android/issues/detail?id=34784 for
more context.
Committed: https://code.google.com/p/google-breakpad/source/detail?r=1000

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/android_ucontext.h View 1 2 3 4 1 chunk +116 lines, -13 lines 0 comments Download

Messages

Total messages: 10
Ted Mielczarek
https://breakpad.appspot.com/416002/diff/1/src/client/linux/android_ucontext.h File src/client/linux/android_ucontext.h (right): https://breakpad.appspot.com/416002/diff/1/src/client/linux/android_ucontext.h#newcode48 src/client/linux/android_ucontext.h:48: #include <asm/sigcontext.h> /* Ensure 'struct sigcontext' is defined. */ ...
11 years, 9 months ago #1
digit
https://breakpad.appspot.com/416002/diff/1/src/client/linux/android_ucontext.h File src/client/linux/android_ucontext.h (right): https://breakpad.appspot.com/416002/diff/1/src/client/linux/android_ucontext.h#newcode48 src/client/linux/android_ucontext.h:48: #include <asm/sigcontext.h> /* Ensure 'struct sigcontext' is defined. */ ...
11 years, 9 months ago #2
Ted Mielczarek
On Mon, Jul 30, 2012 at 7:07 AM, <digit@chromium.org> wrote: > I'm currently working on ...
11 years, 9 months ago #3
Mark Mentovai
https://breakpad.appspot.com/416002/diff/6001/src/client/linux/android_ucontext.h File src/client/linux/android_ucontext.h (right): https://breakpad.appspot.com/416002/diff/6001/src/client/linux/android_ucontext.h#newcode57 src/client/linux/android_ucontext.h:57: // Other fields are not used by Google Breakpad. ...
11 years, 9 months ago #4
digit
https://breakpad.appspot.com/416002/diff/6001/src/client/linux/android_ucontext.h File src/client/linux/android_ucontext.h (right): https://breakpad.appspot.com/416002/diff/6001/src/client/linux/android_ucontext.h#newcode57 src/client/linux/android_ucontext.h:57: // Other fields are not used by Google Breakpad. ...
11 years, 9 months ago #5
Mark Mentovai
Thanks for the explanation. Keeping the structs simple sounds like the right call. LGTM.
11 years, 9 months ago #6
digit
Sorry, I had forgotten to change __BIONIC_HAVE_STRUCT_SIGCONTEXT into __BIONIC_HAVE_UCONTEXT_T. The code compiles ok in both ...
11 years, 9 months ago #7
Mark Mentovai
lgtm https://breakpad.appspot.com/416002/diff/14001/src/client/linux/android_ucontext.h File src/client/linux/android_ucontext.h (right): https://breakpad.appspot.com/416002/diff/14001/src/client/linux/android_ucontext.h#newcode158 src/client/linux/android_ucontext.h:158: #endif // !__BIONIC_HAVE_UCONTEX_T This is still missing a ...
11 years, 9 months ago #8
digit
https://breakpad.appspot.com/416002/diff/14001/src/client/linux/android_ucontext.h File src/client/linux/android_ucontext.h (right): https://breakpad.appspot.com/416002/diff/14001/src/client/linux/android_ucontext.h#newcode158 src/client/linux/android_ucontext.h:158: #endif // !__BIONIC_HAVE_UCONTEX_T Oh this, I thought you were ...
11 years, 9 months ago #9
Mark Mentovai
11 years, 9 months ago #10
I was. I was commenting on both the spelling and the balance.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted