Etymology
Today it means: While, or as if, gnashing. Full definition →
From gnashing + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.