give up to do sth or give up doing sth?

问题描述:

give up to do sth or give up doing sth?

give up to do sth.事情还没开始,就放弃了
give up doing sth.事情做到中途,才放弃的