nds32: always polling after gdb attached 74/1574/7
authorHsiangkai Wang <hsiangkai@gmail.com>
Mon, 27 May 2013 05:18:08 +0000 (13:18 +0800)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 13 Sep 2013 19:37:28 +0000 (19:37 +0000)
commit54d8a801b2210a31ce48a77ff51933f4f23a84e9
tree373b579770152a75f4e239f6b0f513e393d75664
parent9288a59aa1bad76c8ae91c00b876fe24508476fd
nds32: always polling after gdb attached

Do not turn on/off polling as leave/enter debug mode.
Enable polling after gdb attached, and disable polling
after gdb detached.

Change-Id: Id64459b86f44937af7ea5ccfe2cd13e31732eecf
Signed-off-by: Hsiangkai Wang <hsiangkai@gmail.com>
Reviewed-on: http://openocd.zylin.com/1574
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/nds32.c
src/target/nds32_v2.c
src/target/nds32_v3.c
src/target/nds32_v3_common.c
src/target/nds32_v3m.c