Re: Problem in using gdb 6.8 to step code in flash

'Daniel Jacobowitz'
2008-05-14T14:49:30Z

On Wed, May 14, 2008 at 03:28:34PM +0100, Jiju George T wrote:
> I am using configure --target=mipsel-linux --host=i686-pc-linux-gnu for
> configuring gdb
>
> I am trying to build a gdb that can both debug linux kernel and some code in
> flash. Is it possible?

Try building a mips-elf GDB with --enable-targets=mips-linux. If you
are using kgdb and the kernel does not support the single step packet,
you will have to use 'set osabi GNU/Linux' when connected to kgdb
(I don't know if you'll need that or not).

> How do these configurations affect the stepping logic?

They don't, you're looking in the wrong file. See mips-linux-tdep.c.