GPs have been advised to routinely ask patients about gambling, in addition to standard questions about smoking and alcohol.