[gdbserver/rfa] CRIS/CRISv32 gdbserver support (part 2)
Orjan Friberg
orjan.friberg@axis.com
Mon Feb 14 16:17:00 GMT 2005
Orjan Friberg wrote:
>>
>> What to do about the threaded case? GDB is having so much trouble
>> getting it right that I'd like to make sure gdbserver does from the
>> start.
>>
>> I guess this can be handled completely in the linux-low wrapper
>> functions by switching the current thread and setting watchpoints for
>> each. I think that is correct for all Linux targets using hardware
>> watchpoints, because of the nature of Linux threading.
>
>
> For CRISv32, there might be an additional problem lurking in the
> shadows: we treat the watchpoint registers as global (i.e., only one
> process at a time can use them, and thus they are not saved/restored on
> context switches etc).
>
> Anyway, is this something you want resolved before I commit the
> CRIS/CRISv32 support? (Here's an updated ChangeLog entry and updated
> patches if not.)
Two week ping. (If you want the multi-threaded watchpoint support issue
resolved before the commit please elaborate, if possible, on what needs to be done.)
--
Orjan Friberg
Axis Communications
More information about the Gdb-patches
mailing list