This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
gdb stub implement questions
- From: "Michael Qiu" <fallwind at gmail dot com>
- To: gdb at sourceware dot org
- Date: Mon, 1 Sep 2008 12:02:38 +0800
- Subject: gdb stub implement questions
Hi Guys,
I'm using ucos/ii and an r3k like mips core for my project. I'm
going to add a gdb-stub on my target. But I still have some uncleared
questions, can anyone give me a hand?
1. Is there any hardware requirement for the gdb-stub running
correctly? e.g. special instructions? Currently, my core only support
"bkpt". Is it enough?
2. I'v read the gdb-stub from yamon, but it seems only work for a
bootloader. There is no multitask. The yamon shell in charge of the
context switch, but it only a ping-pang like switch. How can I support
multitask in ucos/ii?
3. In general, the gdb-stub should be implemented in a bootloader or
in OS level, or user spaces?
Best regards