This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: gdb/2103: Bug stepping into Thumb function from ARM code
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 26 Mar 2006 02:08:02 -0000
- Subject: Re: gdb/2103: Bug stepping into Thumb function from ARM code
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR gdb/2103; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: dave.bryan@gmail.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2103: Bug stepping into Thumb function from ARM code
Date: Sat, 25 Mar 2006 21:04:08 -0500
On Sat, Mar 25, 2006 at 08:16:09PM -0000, dave.bryan@gmail.com wrote:
> infrun: stop_pc = 0x81004d2c
> infrun: stepped into subroutine
> Non-debugging symbols:
> 0x81004d2c __DecodeCommand_from_arm
That's why - GDB doesn't know about the _from_arm stubs. It would have
to be taught that they should be skipped automatically. It thinks
you've stepped into a function that doesn't have any debugging
information.
Thanks - I can't promise to fix this right away, but this was an
excellent bug report, so an interested hacker should be able to
fix it straightforwardly.
--
Daniel Jacobowitz
CodeSourcery