> On 2010-11-09 11:50:33, Gabe Black wrote:
> > Instead of packing/unpacking 32 bit values in 64 bit registers, why don't 
> > we template the base class on the type of register it's going to hold. I 
> > think the changes to the base class would be minimal, and it would simplify 
> > this ARM code nicely with almost no impact on the other ISAs.
> 
> Ali Saidi wrote:
>     I sort of agree, but I don't think it's worth the time. The remote gdb 
> code is already a disaster area and putting a bandaid on it doesn't really 
> help much. It was quite a pain to make sure this was correct and test every 
> register, so I'd prefer to leave it this way until some overall restructuring 
> of the remote gdb code occurs.

Ok. Maybe we should add a bug to flyspray (and start actually using flyspray), 
and/or start talking about what needs to happen on m5-dev. I originally split 
up the remote gdb code from its monolithic Alpha implementation, and it was a 
big pain since the GDB protocol is a big pain. It's one of those things that 
just sort of goes off the rails rather than complaining about anything 
specific. I don't think the split is horrifically bad, but I also don't doubt 
it can be improved. I think there may be some functional issues too with 
breakpoints, although maybe that was specific to a particular ISA (Alpha, I 
think which was concerning) or maybe I wasn't using it right. It would be great 
to have some testing for this. This and checkpoints are just asking to bit rot 
since there's no testing and I don't even know how to use checkpointing.


- Gabe


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.m5sim.org/r/293/#review446
-----------------------------------------------------------


On 2010-11-08 15:35:16, Ali Saidi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.m5sim.org/r/293/
> -----------------------------------------------------------
> 
> (Updated 2010-11-08 15:35:16)
> 
> 
> Review request for Default.
> 
> 
> Summary
> -------
> 
> imported patch ext/arm_gdb.patch
> 
> 
> Diffs
> -----
> 
>   src/arch/arm/SConscript f61e079ad05e 
>   src/arch/arm/remote_gdb.hh f61e079ad05e 
>   src/arch/arm/remote_gdb.cc PRE-CREATION 
>   src/arch/arm/utility.hh f61e079ad05e 
>   src/arch/arm/utility.cc f61e079ad05e 
> 
> Diff: http://reviews.m5sim.org/r/293/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Ali
> 
>

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to