From b15d531bfa03c4c7e0ff622ce6ae656fff784ae9 Mon Sep 17 00:00:00 2001 From: espes Date: Sat, 7 Dec 2013 23:22:42 -0800 Subject: [PATCH] Updated Getting Started (markdown) --- Getting-Started.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Getting-Started.md b/Getting-Started.md index f651612..178b5d0 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -29,4 +29,9 @@ Create an Xbox hard-disk image: Launch XQEMU with something like... - xbox-softmmu/qemu-system-xbox -cpu pentium3 -machine xbox,bootrom=mcpx_rom.bin -m 64 -drive file=xbox_harddisk.qcow2,index=0,media=disk,locked=on -drive index=1,media=cdrom -bios xbox_bios.bin -usb -device usb-xbox-gamepad \ No newline at end of file + xbox-softmmu/qemu-system-xbox -cpu pentium3 -machine xbox,bootrom=mcpx_rom.bin -m 64 -drive file=xbox_harddisk.qcow2,index=0,media=disk,locked=on -drive index=1,media=cdrom -bios xbox_bios.bin -usb -device usb-xbox-gamepad + +## Debugging Tips +* QEMU can host a gdb stub! Launch with ```-s -S```, and with gdb run `target remote localhost:1234` + * Protip: You can also attach to it with [IDA](https://www.hex-rays.com/products/ida/) if you're so inclined. You can then load in a database if you export it as a IDC script! +* XQEMU can emulate a XDK serial port (which with a debug bios hosts KD, as in [this](http://msdn.microsoft.com/en-us/library/hh406279.aspx) or [this](http://www.reactos.org/wiki/Techwiki:Kd))! Launch with something like ```-device lpc47m157 -serial unix:/tmp/xserial,server```. With some effort you can wrestle the unix socket into a vm for with WinDBG. There's also a very barebones perl KD client in scripts/windpl \ No newline at end of file