RE: [PATCH 1/3] gdbstub: prevent uninitialized warning

2020-03-27 Thread Chenqun (kuhn)
>-Original Message- >From: Alex Bennée [mailto:alex.ben...@linaro.org] >Sent: Friday, March 27, 2020 5:13 PM >To: Chenqun (kuhn) >Cc: qemu-devel@nongnu.org; qemu-triv...@nongnu.org; Zhanghailiang >; laur...@vivier.eu; Euler Robot >; Philippe Mathieu-Daudé >

Re: [PATCH 1/3] gdbstub: prevent uninitialized warning

2020-03-27 Thread Alex Bennée
Chen Qun writes: > According to the glib function requirements, we need initialise > the variable. Otherwise there will be compilation warnings: > > qemu/gdbstub.c: In function ‘handle_query_thread_extra’: > /usr/include/glib-2.0/glib/glib-autocleanups.h:28:3: warning: > ‘cpu_name’ may

Re: [PATCH 1/3] gdbstub: prevent uninitialized warning

2020-03-25 Thread Miroslav Rezanina
On Wed, Mar 25, 2020 at 05:21:35PM +0800, Chen Qun wrote: > According to the glib function requirements, we need initialise > the variable. Otherwise there will be compilation warnings: > > qemu/gdbstub.c: In function ‘handle_query_thread_extra’: >