use cgdb for debug