M.C.
By law they have to report it. They don't want to be in trouble with the IRS any more than you do. If debt is forgiven through foreclosure, that will be reported to the IRS and a 1099 issued as well.
But...
On December 20, 2009, President Obama signed this law, called the Mortgage Forgiveness Debt Relief Act. The law exempts forgiven mortgage debt from federal taxation up to $2 million. It applies only to principal residences, covers the amount of money taken out with the original loan used to purchase the property, and remains in effect through 2012.
As described in IRS Publication 4681, if your home has been foreclosed upon or you sold it through a short sale, your lender will send you a form 1099-C in January of the year following the mortgage termination. This form will report the debt amount that was forgiven. Attach IRS Form 982 to your tax return to exclude the debt from taxation.
http://www.ehow.com/info_###-###-####_foreclosure-short-s...