mips_m4k: Added SMP debug support for mips architectures
commit6d76fc13282311c6bb40a6d5f594ad955346ff5c
authorKamal Dasu <kdasu.kdev@gmail.com>
Wed, 17 Oct 2012 16:16:36 +0000 (17 12:16 -0400)
committerFreddie Chopin <freddie.chopin@gmail.com>
Sun, 9 Dec 2012 21:28:21 +0000 (9 21:28 +0000)
treed3b8fff11e7d2e5db356668062e428fe43b53298
parent65659880641f2b08e824c3cd20f2304d78cbfdbf
mips_m4k: Added SMP debug support for mips architectures

This change adds smp debug support for mips platforms. The change
leverages the exiting gdb smp support as mentioned in the OpenOCD
documentation for using gdb in smp environemnt. Added commands
smp_on, smp_off, smp_gdb to control the smp mode. The implementation
also provides a way to send Jc packet and toggle the gdb display core
context as well.

Change-Id: I0835a5aed1844b6ebf8291582912f20695346003
Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Reviewed-on: http://openocd.zylin.com/937
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/mips_m4k.c