This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Breakpoints in delay slots
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew STUBBS <andrew dot stubbs at st dot com>
- Cc: GDB List <gdb at sourceware dot org>
- Date: Fri, 20 Oct 2006 10:26:01 -0400
- Subject: Re: Breakpoints in delay slots
- References: <453608FC.2040201@st.com> <45388E13.6000408@st.com>
On Fri, Oct 20, 2006 at 09:51:31AM +0100, Andrew STUBBS wrote:
> Unfortunately not. At least, the only way I can think of is to check
> whether it has a line number or not, and the answer is that even the
> data has a line number - that of the instruction immediately preceding it.
That's a shame. ARM invented a mechanism to solve this problem, which
works quite well for them, but it was a bit of a pain getting it
deployed.
--
Daniel Jacobowitz
CodeSourcery