是"give up to do sth."还是"give up doing sth.

问题描述:

是"give up to do sth."还是"give up doing sth.

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