Saute onions in oil in a skillet until brown and translucent. Stir in beef and leftover gravy. Add catsup and let simmer slowly for about 10 minutes. Salt and pepper to taste. Spoon mixture onto hamburger buns and serve with pickle slices.