ARM: add a default full_context() method
commit94dba423137d25fbe898fe7b04c451c6225a0079
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 18 Nov 2009 22:49:22 +0000 (18 14:49 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 18 Nov 2009 22:49:22 +0000 (18 14:49 -0800)
tree8514461c03e97dc8f0412f2cf8396200b90ee531
parentf5093e160534c269b8bc3590f5809ed3baead56f
ARM: add a default full_context() method

If the core doesn't provide an optimized version of this
method, provide one without core-specific optimizations.
Use this to make Cortex-A8 support the "arm reg" command.

Related: make the two register access methods properly static,
have the "set" log a "not halted" error too, and make sure
that the "valid" flag is set on successful reads.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/armv4_5.c
src/target/cortex_a8.c