From d7e94ea555a73e296116dc7c858a923ad4b1374c Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Fri, 10 Apr 2009 12:25:58 -0400 Subject: [PATCH] update with gdb instructions. --- qemu/README.qemu.mc1322x | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/qemu/README.qemu.mc1322x b/qemu/README.qemu.mc1322x index d334793bc..1d43d576c 100644 --- a/qemu/README.qemu.mc1322x +++ b/qemu/README.qemu.mc1322x @@ -1,4 +1,5 @@ -apt-get source qemu + apt-get source qemu + use these files in place of those in the qemu tree Build qemu @@ -12,4 +13,13 @@ which will load the bin at 0x00400000 and execution will start there (type c). I plan to add a way to load a rom image as well... +Debug with gdb: + +Build gdb for an arm target: + + apt-get source gdb + ./configure --target=arm-linux + make + ./gdb + (gdb) target remote localhost:1234