You're almost certainly thinking of The Flintstones (1960–66, but ubiquitous in 80s/90s syndication). "Gleeb and Glob" don't exist in the show—but they sound like childhood distortions of Fred Flintstone and Barney Rubble, the iconic caveman duo. Memory often blurs names into nonsense rhymes.