On a quantum computer, my understanding is that Shor's algorithm could potentially target both problems, though.
reply
So a hypothetical classic algorithm that breaks the RSA is also highly likely to break the ECDSA.