GDB help
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
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.
Quoted 34 lines · Jean-Michel POURE
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) qqemu 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
[email protected]
http://mail.nongnu.org/mailman/listinfo/qemu-devel