This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][PR gdb/17046] Use standard setjmp.h on Darwin


Thatâs where I got the fix from. Not quite sure why this include location
was chosen in the first place; `setjmp.h' was a standard header in pure
ANSI C. The only reason I can think of is that older versions had 
`setjmp.hâ which simply includes `machine/setjmp.hâ, which had the actual
definitions.

James Clarke

> On 15 Sep 2014, at 22:35, Sergio Durigan Junior <sergiodj@redhat.com> wrote:
> 
> On Monday, September 15 2014, James Clarke wrote:
> 
>> The `machine/setjmp.h' header is no longer present on OS X 10.10, and is
>> non-standard. Instead, `darwin-nat.c' should be using the standard
>> `setjmp.h' header.
> 
> Thanks.
> 
> I am not a Mac user, and I know nothing about the details of the system,
> but I did a little investigation and I think this is the right fix
> indeed.
> 
> FWIW, I found
> <https://lists.macosforge.org/pipermail/macports-tickets/2014-June/163911.html>
> which is a related discussion.
> 
> This is not an approval, BTW.
> 
> -- 
> Sergio
> GPG key ID: 0x65FC5E36
> Please send encrypted e-mail if possible
> http://sergiodj.net/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]