For example a mass that of the earth.
If you go inside the Earth's surface, you can only count the gravitational affect from all that mass below you, in a Gaussian sphere(I think). Only the mass within the Gaussian sphere, defined by the radius between you and the centre of mass, only this counts towards the gravitational attraction between you and the earth.
ie When you get to the centre of the earth, r=0, there is no mass in this surface and you are weightless. ie g=0
A black hole is different. Imagine the black hole with the same mass as the Earth. The mass is ALL at the centre of mass, and so the mass within the gaussian surface does not decrease, and the gravitational attraction will build up, and when you get to the centre, g=k/r balloons to infinity. Far away from the black hole, gravity will be the same as the earth, but when you start comparing to the gaussian surface and mass contained within, ie r<R (where R is radius of earth, r is your radius), you will get differences, due to the phenomena described above.
Sorry if I haven't explained that very well. I'm hoping there's no errors, I learned something about that 2 or 3 years ago.
EDIT: I wish I could draw some diagrams...that would be simpler to explain.