This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Problem in using gdb 6.8 to step code in flash
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jiju George T <jiju dot george at nestgroup dot net>
- Cc: gdb at sourceware dot org
- Date: Wed, 14 May 2008 09:08:16 -0400
- Subject: Re: Problem in using gdb 6.8 to step code in flash
- References: <00b501c8b5c0$d47ed7d0$390aa8c0@ashmicro.ashling.com>
On Wed, May 14, 2008 at 01:48:38PM +0100, Jiju George T wrote:
> ?? I checked the difference between these two and fond out that the issue is
> caused by the difference in the way sde-gdb and gdb 6.8 does step operation.
> SDE GDB issues step(s) command to GDB server where as gdb 6.8 tries to set
> breakpoint on next line and issue continue(c) command. Any idea on why the
> two gdb variants behave differently for step operation using same GDB
> server? How gdb decides what mechanism to be used for stepping operation?
Is your GDB configured for mips-linux? The SDE debugger is
configured for mips-elf. Try that configuration instead.
--
Daniel Jacobowitz
CodeSourcery