the upper edge of a ship's or boat's side [Middle English gonnewale, from gonne gun1 + wale, from its former use as a support for guns]