The G-8 summit is expected to give final approval to an agreement that forgives $ 40 billion of debt held by the world 's poorest nations , mostly in Africa .