Etymology
Today it means: In a condoling manner. Full definition →
From condoling + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.