Who select Who?

I have a question about gmtselect. Is that possible to find out what feature select a point?

I.e. considering that I am searching data points (in a datafile) close to other data points given by another file, called pointfile (-Cpointfile+d10k on gmtselect synthax).

How to find which point on pointfile selected eachpoint on datafile?

cheers,

Marcelo B.