Re: [gdbserver/rfa] CRIS/CRISv32 gdbserver support (part 2)

Daniel Jacobowitz
2005-05-12T13:13:27Z

On Thu, May 12, 2005 at 03:05:53PM +0200, Orjan Friberg wrote:
> Orjan Friberg wrote:
> >
> >Another thing: when removing cris_reinsert_addr, I got the same errors
> >as described in http://sourceware.org/ml/gdb/2005-01/msg00071.html (i.e.
> >"thread getmsg err: no event message for getmsg" and gdbserver getting a
> >SIGSEGV).
>
> It seems I didn't finish that thought. The reported fix for that problem
> (at http://www.linux-mips.org/archives/linux-mips/2005-02/msg00103.html)
> does not seem to be applicable to this case as our cache works on physical
> addresses.

Ah, that bug. It could be any other problem causing incoherency
between the inferior and the ptracing process; there's a number of
other ways to trigger the error, too.

(The segfault after the error is "expected". Gdbserver is not at all
robust in the face of errors which shouldn't happen in correct
operation.)

--
Daniel Jacobowitz
CodeSourcery, LLC