From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B3iXV-000238-1i for qemu-devel@nongnu.org; Wed, 17 Mar 2004 16:25:25 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B3iWs-0001cZ-Jh for qemu-devel@nongnu.org; Wed, 17 Mar 2004 16:25:17 -0500 Received: from [193.252.22.21] (helo=mwinf1002.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3iWs-0001cS-5t for qemu-devel@nongnu.org; Wed, 17 Mar 2004 16:24:46 -0500 Message-ID: <4058C261.4010406@bellard.org> Date: Wed, 17 Mar 2004 22:25:53 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] GDB help References: <200403171539.18412.jm@poure.com> In-Reply-To: <200403171539.18412.jm@poure.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jm@poure.com, qemu-devel@nongnu.org Use the executable in qemu/i386-softmmu. The symbols are stripped from the installed version. But be warned, debugging QEMU with gdb is not easy, especially if the errors are in the dynamically generated code. Fabrice. Jean-Michel POURE wrote: > Dear friends, > > I am trying to run the following GDB session over a Windows XP pro > installation disc: > > root@station:/home/jmpoure/projets/qemu/winxp# gdb qemu > GNU gdb 6.0 > Copyright 2003 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-linux"...(no debugging symbols found)... > (gdb) set args -cdrom winxp.iso -hda hd.img -boot d > (gdb) run > Starting program: /usr/local/bin/qemu -cdrom winxp.iso -hda hd.img -boot d > (no debugging symbols found)...(no debugging symbols found)...(no debugging > symbols found)...(no debugging symbols found)...[New Thread 1077037664 (LWP > 3946)] > (no debugging symbols found)...(no debugging symbols found)...(no debugging > symbols found)...(no debugging symbols found)...(no debugging symbols > found)...(no debugging symbols found)...Connected to host network interface: > tun0 > Detaching after fork from child process 3956. > (no debugging symbols found)...(no debugging symbols found)...(no debugging > symbols found)...Serial port redirected to /dev/pts/32 > QEMU 0.5.2 monitor - type 'help' for more information > (qemu) q > > qemu was compiled from CVS. Any idea how I can get these debugging symbols? > Then, how do I display a trace when the process detaches? Can you make a > detailed description for newbees? Thanks in advance. > > Cheers, > Jean-Michel > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://mail.nongnu.org/mailman/listinfo/qemu-devel >