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] fix PR python/15816


On 08/09/2013 09:02 PM, Tom Tromey wrote:
> This fixes PR python/15816.
> 
> The bug here is that python-selftest.exp can fail:
> 
>     No symbol "RETURN_MASK_ALL" in current context.
> 
> RETURN_MASK_ALL is a macro, so if macros do not end up in the
> debuginfo (very typical) then the test fails.
> 
> It seemed simplest to me to simply turn the RETURN_MASK_ defines into
> enum constants.  This way they end up in the debuginfo and all is
> well.

Looks like the simplest to me too.

-- 
Pedro Alves


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