This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [MinGW] RFC/RFA: Get Partial Stack Traces on Windows
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: Ranjit Mathew <rmathew at gmail dot com>, GCJ Patches <java-patches at gcc dot gnu dot org>, mckinlay at redhat dot com
- Date: 26 Jun 2006 13:11:21 -0600
- Subject: Re: [MinGW] RFC/RFA: Get Partial Stack Traces on Windows
- References: <44A02481.207@gmail.com> <17568.12296.591741.9873@dell.pink>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>> - if ((void*)rfp < _esp || diff > 4 * 1024 || diff < 0)
>> + if (((unsigned int)rfp & 0x00000003) != 0 || (void*)rfp < _esp
Andrew> Don't use unsigned int for a pointer; instead use
Andrew> int __attribute__((mode(pointer))). This is an int that is exactly the
Andrew> same size as a pointer.
Maybe we ought to add a _Jv_intptr_t typedef somewhere.
Tom