From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=48987 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OygBL-0007V8-Je for qemu-devel@nongnu.org; Thu, 23 Sep 2010 03:25:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OygBK-0005ms-Dh for qemu-devel@nongnu.org; Thu, 23 Sep 2010 03:25:27 -0400 Received: from mail-px0-f173.google.com ([209.85.212.173]:54254) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OygBK-0005mR-2O for qemu-devel@nongnu.org; Thu, 23 Sep 2010 03:25:26 -0400 Received: by pxi12 with SMTP id 12so393603pxi.4 for ; Thu, 23 Sep 2010 00:25:24 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 23 Sep 2010 12:55:24 +0530 Message-ID: From: chandra shekar Content-Type: multipart/alternative; boundary=000e0cd32c7a62851f0490e82ac8 Subject: [Qemu-devel] qemu gdb List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --000e0cd32c7a62851f0490e82ac8 Content-Type: text/plain; charset=ISO-8859-1 This is output when i use gdb with my img in which i installed windows xp and after some time i get cannot find bound of the current line or received SIGTRAP Trace/breakpoint trap and stops plz any one help $ gdb -args x86_64-softmmu/qemu-system-x86_64 -m 512 -cdrom guest1.img (gdb) r Starting program: /home/project/temp/qemu-0.12.4/x86_64-softmmu/qemu-system-x86_64 -m 512 -cdrom guest1.img [Thread debugging using libthread_db enabled] [New Thread 0x899f0b70 (LWP 8918)] Program received signal SIGUSR2, User defined signal 2. 0x0012d422 in __kernel_vsyscall () (gdb) n Single stepping until exit from function __kernel_vsyscall, which has no line number information. aio_signal_handler (signum=12) at posix-aio-compat.c:501 501 { (gdb) n 502 if (posix_aio_state) { (gdb) n [Thread 0x899f0b70 (LWP 8918) exited] 505 write(posix_aio_state->wfd, &byte, sizeof(byte)); (gdb) n 503 char byte = 0; (gdb) n 505 write(posix_aio_state->wfd, &byte, sizeof(byte)); (gdb) n 508 qemu_service_io(); 509 } (gdb) n 0x0012d422 in __kernel_vsyscall () (gdb) n Single stepping until exit from function __kernel_vsyscall, which has no line number information. 0x00240971 in select () from /lib/tls/i686/cmov/libc.so.6 (gdb) n Single stepping until exit from function select, which has no line number information. 0x00281216 in ?? () from /lib/tls/i686/cmov/libc.so.6 (gdb) n Cannot find bounds of current function (gdb) n Cannot find bounds of current function (gdb) n Cannot find bounds of current function (gdb) c Continuing. VNC server running on `127.0.0.1:5900' [New Thread 0x899f0b70 (LWP 8920)] Program received signal SIGUSR2, User defined signal 2. 0x0012d422 in __kernel_vsyscall () (gdb) n Single stepping until exit from function __kernel_vsyscall, which has no line number information. [Thread 0x899f0b70 (LWP 8920) exited] 0x00240971 in select () from /lib/tls/i686/cmov/libc.so.6 (gdb) s Cannot find bounds of current function --000e0cd32c7a62851f0490e82ac8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This is output when i use gdb with my img in which i installed windows xp a= nd after some time i get cannot find bound of the current line or received = SIGTRAP=A0 Trace/breakpoint trap and stops plz any one help

$ gdb -a= rgs x86_64-softmmu/qemu-system-x86_64 -m 512 -cdrom guest1.img

(gdb) r
Starting program: /home/project/temp/qemu-0.12.4/x86_64-soft= mmu/qemu-system-x86_64 -m 512 -cdrom guest1.img
[Thread debugging using = libthread_db enabled]
[New Thread 0x899f0b70 (LWP 8918)]

Program = received signal SIGUSR2, User defined signal 2.
0x0012d422 in __kernel_vsyscall ()
(gdb) n
Single stepping until exit= from function __kernel_vsyscall,
which has no line number information.=
aio_signal_handler (signum=3D12) at posix-aio-compat.c:501
501=A0=A0= =A0 {
(gdb) n
502=A0=A0=A0 =A0=A0=A0 if (posix_aio_state) {
(gdb) n
[Thr= ead 0x899f0b70 (LWP 8918) exited]
505=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 wri= te(posix_aio_state->wfd, &byte, sizeof(byte));
(gdb) n
503=A0= =A0=A0 =A0=A0=A0=A0=A0=A0=A0 char byte =3D 0;
(gdb) n
505=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 write(posix_aio_state->wfd, &byte= , sizeof(byte));
(gdb) n
508=A0=A0=A0 =A0=A0=A0 qemu_service_io();509=A0=A0=A0 }
(gdb) n
0x0012d422 in __kernel_vsyscall ()
(gdb) n=
Single stepping until exit from function __kernel_vsyscall,
which has no line number information.
0x00240971 in select () from /lib/= tls/i686/cmov/libc.so.6
(gdb) n
Single stepping until exit from funct= ion select,
which has no line number information.
0x00281216 in ?? (= ) from /lib/tls/i686/cmov/libc.so.6
(gdb) n
Cannot find bounds of current function
(gdb) n
Cannot find= bounds of current function
(gdb) n
Cannot find bounds of current fun= ction
(gdb) c
Continuing.
VNC server running on `127.0.0.1:5900'
[New Thread 0x899f0b70 (LWP 8920)]

Program received signal SIGUSR2, = User defined signal 2.
0x0012d422 in __kernel_vsyscall ()
(gdb) n
= Single stepping until exit from function __kernel_vsyscall,
which has n= o line number information.
[Thread 0x899f0b70 (LWP 8920) exited]
0x00240971 in select () from /lib/= tls/i686/cmov/libc.so.6
(gdb) s
Cannot find bounds of current functio= n

--000e0cd32c7a62851f0490e82ac8--