Please use user variables defined in VisualGDB Project Properties instead. The VisualGDB user variables feature was added in version 4.0.
You can define your MCU variable there similarly to MSVS variables and use it throughout VisualGDB Project Properties as $(MCU).