TO KISS (or MARRY) THE GUNNERS DAUGHTER, verb. phr. (nautical).To be flogged. [GUNNERS DAUGHTER = the gun to which boys were lashed for punishment.]
1785. GROSE, A Classical Dictionary of the Vulgar Tongue, s.v.
1833. MARRYAT, Peter Simple, II. xiii. I dont know what officers are made of nowadays. Ill marry some of you young gentlemen to the GUNNERS DAUGHTER before long. Quarter-decks no better than a bear-garden.