This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Unable to step over functions in arm-elf binary
- From: Colin MacDonald <colin_mac2002 at yahoo dot co dot uk>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb at sourceware dot org
- Date: Thu, 22 Feb 2007 12:56:04 +0000 (GMT)
- Subject: Re: Unable to step over functions in arm-elf binary
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.
Colin MacDonald
----- Original Message ----
From: Daniel Jacobowitz <drow@false.org>
To: Colin MacDonald <colin_mac2002@yahoo.co.uk>
Cc: gdb@sourceware.org
Sent: Thursday, 22 February, 2007 12:27:23 PM
Subject: Re: Unable to step over functions in arm-elf binary
On Thu, Feb 22, 2007 at 11:48:53AM +0000, Colin MacDonald wrote:
> We have .elf targets for Arm processors and we can debug these via a remote connection (using the remote serial protocol) with Insight / GDB. Everything works fine except for one thing: I can't step over a function. If I try to step over a function I invariably step into it instead. Using the 'n' command from GDB command line generates a sequence remote serial commands like this:
You didn't say what version of GDB you're using. Try a newer one? It
sounds like yours fails to backtrace after stepping in to a function.
--
Daniel Jacobowitz
CodeSourcery
___________________________________________________________
All New Yahoo! Mail ? Tired of unwanted email come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html