yes. The error depends on the version of FreeRTOS you are using. I think you are using a new version, taht is always the best choice.
I don’t remember exactly when, but there was a change in the name of some FreeRTOS private variables. In particular, if you look at the file task.c you find that the uxTopUsedPriority variable is now namened xTopReadyPriority. To fix this, when I want to use the OpenOCD multitasking support I add a define in the FreeRTOSConfig.h file in order to rename that variable:
#define uxTopUsedPriority xTopReadyPriority
In this way I don’t have to change the soure of FreeRTOS.