GDB: Fix inserting a breakpoint while application is running

Task-number: QTCREATORBUG-11084
Change-Id: Ic506894aaf8a48df4f2e0e93638432af39c887d6
Reviewed-by: hjk <hjk121@nokiamail.com>