* [Qemu-devel] GDB help
@ 2004-03-17 14:39 Jean-Michel POURE
2004-03-17 21:25 ` Fabrice Bellard
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Michel POURE @ 2004-03-17 14:39 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] GDB help
2004-03-17 14:39 [Qemu-devel] GDB help Jean-Michel POURE
@ 2004-03-17 21:25 ` Fabrice Bellard
0 siblings, 0 replies; 2+ messages in thread
From: Fabrice Bellard @ 2004-03-17 21:25 UTC (permalink / raw)
To: jm, qemu-devel
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-17 21:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-17 14:39 [Qemu-devel] GDB help Jean-Michel POURE
2004-03-17 21:25 ` Fabrice Bellard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).