[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1.1] tci: Fix wrong macro name for debug code
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 1.1] tci: Fix wrong macro name for debug code |
Date: |
Thu, 3 May 2012 17:15:56 +0100 |
On 3 May 2012 17:09, Stefan Weil <address@hidden> wrote:
> Code which is compiled with CONFIG_TCG_DEBUG (set by configure option
> --enable-debug-tcg) should not disable the assert macro by
> defining NDEBUG.
>
> With the wrong macro name CONFIG_TCG_DEBUG, all assertions in tci.c
> were completely useless because NDEBUG was always defined.
>
> Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
This now matches the equivalent check in tcg/tcg.c.
-- PMM