[ECOS] debugging eCos
Michael Lang
email@michaellang.net
Wed Dec 12 21:23:00 GMT 2007
Hi,
i am new to eCos. I have build a tool chain for i386-elf, according to the
description provided on the ecos homepage.
For debugging, i use bochs and gdb(ddd). I configure eCos for floppy startup,
build my application with it (no kernel is present) and make a bootable
floppy disk from the resulting elf file.
In Bochs, the gdb stub is enabled and waiting for the gdb to connect.
When gdb connects to bochs and i continue, bochs starts booting from the
floppy disk.
My problem: When ever i set a breakpoint in ddd (using gdb) bochs seems to
hold at the right position, but the position gdb shows bochs was interrupted
is:
Program received signal SIGTRAP, Trace/breakpoint trap.
0x000088fd in cyg_interrupt_stack_base ()
How can i solve this problem,
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list