On Wed, Aug 26, 2009 at 4:50 PM, Igor Skochinsky<[email protected]> wrote:
> On Wed, Aug 26, 2009 at 16:29, Øyvind Harboe<[email protected]> wrote:
>> I've worked on refactoring the arm simulation code
>> to be able to support non-armv4_5 targets. The
>> approach is to define an interface that the caller
>> has to support. See below for example.
>>
>> Thoughts? Objections?
>
> I think there is no need to add extra get_xxx pointers since the
> necesary actions (get registers, read memory etc) should be reachable
> from target_t*. We also need to think about non-arm targerts.

I hope I have understood your comments and answered them
below...

This is an ARM specific simulator, so this is not really reachable
via polymorphic fn's on target.

non-arm targets would have a non-arm specific simulator.

> As for ARM, I think arm_simulator.c and arm_disassembler.c should be
> merged since they share a lot of functionality.

I didn't look at arm_disassembler, but I would expect
a simulator to be quite different....

-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to