gnaw [intransitive,transitive always + adverb/preposition]
Dexter gnawed his pen thoughtfully.
A rat had gnawed a hole in the box.
The puppy was gnawing on a bone.
gnaw (away) at somebody/somethingphrasal verb
Something was gnawing at the back of his mind.
Doubt was gnawing away at her confidence.