i.mx6 continue or resume bug

When hitting Breakpoint then continue or resume will always stay the same line

it shows [Could not insert single-step breakpoint] at…

because imx6 only have hardware breakpoint

need fix…

function gdb_breakpoint_watchpoint_packet of openocd-0.9.0/src/server/gdb_server.c

if (type == 0) /* memory breakpoint */

bp_type = BKPT_SOFT;

modify to

bp_type = BKPT_HARD;