Minor updates to ensure all kernel aware debuggers are happy with V8.

This commit is contained in:
Richard Barry 2014-02-19 11:58:52 +00:00
parent e101e7e437
commit ba6d285ea8
3 changed files with 25 additions and 7 deletions

View file

@ -153,7 +153,12 @@ typedef struct QueueDefinition
struct QueueDefinition *pxQueueSetContainer; struct QueueDefinition *pxQueueSetContainer;
#endif #endif
} Queue_t; } xQUEUE;
/* The old xQUEUE name is maintained above then typedefed to the new Queue_t
name below to enable the use of older kernel aware debuggers. */
typedef xQUEUE Queue_t;
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
/* /*
@ -169,7 +174,12 @@ typedef struct QueueDefinition
{ {
const char *pcQueueName; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */ const char *pcQueueName; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
QueueHandle_t xHandle; QueueHandle_t xHandle;
} QueueRegistryItem_t; } xQueueRegistryItem;
/* The old xQueueRegistryItem name is maintained above then typedefed to the
new xQueueRegistryItem name below to enable the use of older kernel aware
debuggers. */
typedef xQueueRegistryItem QueueRegistryItem_t;
/* The queue registry is simply an array of QueueRegistryItem_t structures. /* The queue registry is simply an array of QueueRegistryItem_t structures.
The pcQueueName member of a structure being NULL is indicative of the The pcQueueName member of a structure being NULL is indicative of the

View file

@ -167,7 +167,11 @@ typedef struct tskTaskControlBlock
struct _reent xNewLib_reent; struct _reent xNewLib_reent;
#endif #endif
} TCB_t; } tskTCB;
/* The old tskTCB name is maintained above then typedefed to the new TCB_t name
below to enable the use of older kernel aware debuggers. */
typedef tskTCB TCB_t;
/* /*
* Some kernel aware debuggers require the data the debugger needs access to to * Some kernel aware debuggers require the data the debugger needs access to to

View file

@ -108,7 +108,11 @@ typedef struct tmrTimerControl
#if( configUSE_TRACE_FACILITY == 1 ) #if( configUSE_TRACE_FACILITY == 1 )
UBaseType_t uxTimerNumber; /*<< An ID assigned by trace tools such as FreeRTOS+Trace */ UBaseType_t uxTimerNumber; /*<< An ID assigned by trace tools such as FreeRTOS+Trace */
#endif #endif
} Timer_t; } xTIMER;
/* The old xTIMER name is maintained above then typedefed to the new Timer_t
name below to enable the use of older kernel aware debuggers. */
typedef xTIMER Timer_t;
/* The definition of messages that can be sent and received on the timer queue. /* The definition of messages that can be sent and received on the timer queue.
Two types of message can be queued - messages that manipulate a software timer, Two types of message can be queued - messages that manipulate a software timer,