This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: mips-tdep.c: Adjust breakpoints in branch delay slots
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sourceware dot org, Chris Dearman <chris at mips dot com>, "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Fri, 25 May 2007 14:15:51 +0100 (BST)
- Subject: Re: mips-tdep.c: Adjust breakpoints in branch delay slots
- References: <Pine.LNX.4.61.0705241853450.21951@perivale.mips.com> <20070524183129.GA10094@caradoc.them.org> <Pine.LNX.4.61.0705251217190.13913@perivale.mips.com>
On Fri, 25 May 2007, Maciej W. Rozycki wrote:
> In principle on bare iron it should be doable, but the problem is, IIRC,
> the state of cp0.cause.bd is not propagated under Linux to userland in any
> way. And at the moment I'm not sure how this would affect EJTAG debugging
> either.
FYI, I have now checked Linux and it should be fine -- must have been my
bad memory. EJTAG has provisions for handling this correctly
(cp0.debug.dbd), but I'm not sure if associated software gets it right.
Maciej