How to debug user application using arm-elf-gdb and serial port

Sankha
Hi,
I want to debug an user application for mini2440 using arm-elf-gdb using
serial port.
Is it possible? Can anyone tell me step by step how to do it?
Thanks & regards

wildpossum
Yes you can debug using the gdb on ARM remotes including mini2440.

The following pdf should assist you in that goal.

http://files.meetup.com/1590495/debugging-with-qemu.pdf

or other step by step instructions are available by
http://www.linux.com/archive/feature/121735
http://blog.flameeyes.eu/2008/12/17/remote-debugging-with-gdb-part-1-gentoo
http://blog.flameeyes.eu/2010/02/20/remote-debugging-with-gdb-part-2-gdb

Hope this assists.
Cheers.