eshiehz / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Import Microsoft's CONTEXT_ARM definitions #648

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Modern Windows SDKs have a CONTEXT_ARM. Thankfully the context cpu flag they're 
using doesn't conflict with any of the ones we currently have:
#define CONTEXT_ARM   0x00200000L

...but we should get that into the headers just so we don't create a conflict 
in the future. The context struct they use is about 90% compatible with the 
existing Breakpad struct, but I think the float state and debug registers they 
have after the GPRs doesn't match up. We could probably fiddle things to make 
our code handle either struct. (Breakpad doesn't use the float registers for 
anything, it'd just have to handle alternate-sized contexts.)

Original issue reported on code.google.com by ted.mielczarek on 2 Apr 2015 at 12:34