To tell someone about (one's troubles), and thus obtain relief.
To free (oneself) of the burden of one's troubles by telling of them.
To confess a misdeed.