qemu-discuss
[Top][All Lists]
Advanced

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

Where goes "printf" messages?


From: Kamil Jońca
Subject: Where goes "printf" messages?
Date: Sun, 01 Nov 2020 12:09:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hello.
Assume, I want to trace behavior one qemu part (say,
https://github.com/qemu/qemu/blob/master/hw/input/ps2.c)
How can I see

(line 793)
#ifdef DEBUG_MOUSE
    printf("kbd: write mouse 0x%02x\n", val);
#endif

after, of course, uncommenting

(line 39-40)
/* debug PC keyboard : only mouse */
//#define DEBUG_MOUSE

I tried to run domain with -D option, but nothing showed in file.

KJ

-- 
http://wolnelektury.pl/wesprzyj/teraz/



reply via email to

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