IAR+OpenOCD+lm3s6965 why can't work?like this

Hi,all,

my openocd version is 1.0 and when i debug the lm3s6965 in iar,there is an error like this:

Fatal error:Error receiving packet. Connection Lost?

Session aborted!

i have hacked it at armv7m.h :

#if 0 //1 to 0

#define ARMV7_GDB_HACKS

#endif

is my adapter’s problem?[/img]

not enough information to make a judgement.