This is my third pregnancy and my third OB/GYN. It is amazing to me how differently each of them handled me. I'm about average to a little bigger than average in terms of pre-pregnancy weight, but I work out.
When I was pregnant with DD (pregnancy #1) they mentioned weight a little, and possibly said something at the end, as I gained about 50 lbs.
When I was pregnant with DS (pregnancy #2) my doctor had a huge issue with my weight gain. She would lecture me about weight gain no matter how much I did or didn't gain. I ended up only gaining about 40 lbs with that pregnancy.
This pregnancy I have gained about 22 lbs so far, at 26 weeks, and every time I brace myself for a lecture but it has yet to come. Even when I gain 8 lbs in 5 weeks! I just find it so interesting, because my OB/GYN with DS would have been yelling at me all along.

Did your OB/GYN "yell" at you for weight gain?