This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] fix PR python/15816
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 13 Aug 2013 15:55:56 +0100
- Subject: Re: [PATCH] fix PR python/15816
- References: <1376078536-27226-1-git-send-email-tromey at redhat dot com>
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