qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] qemu on Fedora Core 3 (Linux 2.6.9+), glibc-2.3.3


From: John Reiser
Subject: Re: [Qemu-devel] qemu on Fedora Core 3 (Linux 2.6.9+), glibc-2.3.3
Date: Sun, 19 Dec 2004 06:35:25 -0800
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

This optional part of the patch to vl.c:
-----
@@ -3449,6 +3455,7 @@
             exit(1);
         } else {
             printf("Waiting gdb connection on port %d\n", gdbstub_port);
+sleep(5);
         }
     } else
 #endif
-----
resulted from my misunderstanding of what qemu actually does.
I interpreted "Waiting" as a synchronizing rendezvous blocking wait,
while it seems that qemu is merely "Listening" without blocking.
The difference is important to me because I want to observe
the very first emulated instruction at hardware boot.  For the moment,
I have put an infinite loop there, then advance the instruction pointer
by hand once the gdb connection is established.

--




reply via email to

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