Gravitational pull is purely a function of mass and distance.
So a rocky planet the size of Jupiter would have the same gravitational pull as a gas giant like Jupiter?