Unable to step over functions in arm-elf binary

Daniel Jacobowitz drow@false.org
Thu Feb 22 16:50:00 GMT 2007


On Thu, Feb 22, 2007 at 12:56:04PM +0000, Colin MacDonald wrote:
> I'm using GDB / Insight 6.5.  First attempts with 6.6 appear to show the same behaviour.
> 
> I updated my remote serial server to support $vCont packets as well as the basic $c and $s packets but no joy.

I recommend you single step (using stepi) to the first instruction of
a function you can't "next" over, and try "backtrace".  If it's wrong,
that's your problem.  Keep stepi'ing a bit until you're into the
function body.

Another thing that may be helpful is "set debug infrun 1".


-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list