According to a history professor, it appears that dogs in general were originally domesticated as a food animal. It only later occurred to people that they could be more valuable off the spit than on.