Oh, they will eat pills! Be very careful with them. I have gotten into the habit of taking them out of the bottle over the kitchen sink so that if I drop them they don't roll onto the floor.
Some pills can be deadly!! Ibuprofen (Motrin) is one of them!
Hope your little one is ok!