Dry heaves may indicate that your pet has internal parasites, internal infection, food allergy, bloat, liver disfunction or has swollowed and ingested a poisoneous substance (such as bone meal fertilizer). Take your dog to the vet as soon as you can.
http://www.gopetsamerica.com/dog-health/dry-heaves.aspx