I had to shout to be heard.to be heard是做宾语还是状语?

问题描述:

I had to shout to be heard.
to be heard是做宾语还是状语?