The banks might be quite happy to write-off some of the debt if in so doing they can entice a more credit-worthy borrower to takeover the company and by consequence ,the bulk of the remaining debt.
Shareholder equity is protected to the extent that GPG will not agree to a deal where shareholders get shafted.