qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/9] tcg: declare __jit_debug_descriptor to be s


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 2/9] tcg: declare __jit_debug_descriptor to be static
Date: Mon, 21 May 2012 20:58:33 +0100

On 21 May 2012 20:51, Jim Meyering <address@hidden> wrote:
> From: Jim Meyering <address@hidden>
>
>
> Signed-off-by: Jim Meyering <address@hidden>
> ---
>  tcg/tcg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tcg/tcg.c b/tcg/tcg.c
> index ab589c7..350fdad 100644
> --- a/tcg/tcg.c
> +++ b/tcg/tcg.c
> @@ -2293,7 +2293,7 @@ void __jit_debug_register_code(void)
>
>  /* Must statically initialize the version, because GDB may check
>    the version before we can set it.  */
> -struct jit_descriptor __jit_debug_descriptor = { 1, 0, 0, 0 };
> +static struct jit_descriptor __jit_debug_descriptor = { 1, 0, 0, 0 };
>
>  /* End GDB interface.  */

Nak. This symbol is global so that gdb can find it by fishing around
in the executable's symbol table.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]