Re: [Qemu-devel] [PATCH 3/3] hid.c: Add debug support

2016-07-01 Thread Eric Blake
On 06/30/2016 03:32 PM, John Arbuckle wrote: > Add debug macros to the code for easier debugging. > > Signed-off-by: John Arbuckle > --- > hw/input/hid.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/hw/input/hid.c b/hw/input/hid.c > index 3e1b46e..efe703e 100644 > --- a

[Qemu-devel] [PATCH 3/3] hid.c: Add debug support

2016-06-30 Thread John Arbuckle
Add debug macros to the code for easier debugging. Signed-off-by: John Arbuckle --- hw/input/hid.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/input/hid.c b/hw/input/hid.c index 3e1b46e..efe703e 100644 --- a/hw/input/hid.c +++ b/hw/input/hid.c @@ -37,6 +37,13 @@ #define

Re: [Qemu-devel] [PATCH 3/3] hid.c: Add debug support

2016-03-27 Thread Alex Bennée
It won't. The compiler will dead code away any branches where the test evaluates to a constant. On 27 Mar 2016 3:30 p.m., "Programmingkid" wrote: > > On Mar 26, 2016, at 2:48 AM, Alex Bennée wrote: > > > > > Programmingkid writes: > > > >> Add debug macros to the code for easier debugging. > >>

Re: [Qemu-devel] [PATCH 3/3] hid.c: Add debug support

2016-03-27 Thread Programmingkid
On Mar 26, 2016, at 2:48 AM, Alex Bennée wrote: > > Programmingkid writes: > >> Add debug macros to the code for easier debugging. >> >> Signed-off-by: John Arbuckle >> --- >> hw/input/hid.c | 11 +++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/hw/input/hid.c b/hw/input/hi

Re: [Qemu-devel] [PATCH 3/3] hid.c: Add debug support

2016-03-25 Thread Alex Bennée
Programmingkid writes: > Add debug macros to the code for easier debugging. > > Signed-off-by: John Arbuckle > --- > hw/input/hid.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/hw/input/hid.c b/hw/input/hid.c > index 329a27b..42ca592 100644 > --- a/hw/input/hid.c > +++

[Qemu-devel] [PATCH 3/3] hid.c: Add debug support

2016-03-25 Thread Programmingkid
Add debug macros to the code for easier debugging. Signed-off-by: John Arbuckle --- hw/input/hid.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/input/hid.c b/hw/input/hid.c index 329a27b..42ca592 100644 --- a/hw/input/hid.c +++ b/hw/input/hid.c @@ -37,6 +37,13 @@ #define