Gamma radiation from pulsar magnetospheric gaps