[PATCH] Delegate to target_ops->beneath to read cache lines

Pedro Alves palves@redhat.com
Fri Nov 29 20:16:00 GMT 2013


On 11/29/2013 07:42 PM, Doug Evans wrote:
> I think a comment is required here explaining why things are the way they are.
> i.e., why we use current_target.beneath instead of &current_target.

I suggest adding a target_read_raw_memory function, similar,
and next to target_read_memory, target_read_stack, etc., and
put the comment there.  Incidentally, I notice target_read_code
misses the comment.

-- 
Pedro Alves



More information about the Gdb-patches mailing list