Picon

How to set a breakpoint at a cpu context switch

Hello, I am using GDB to debug a program that includes RTEMS directives. What I want is to set a breakpoint everytime there is a context switch (or a task switch if you prefer it).
What do I have to enter after the "break" command in order to achieve this? I have tried something like "break CPU_Context_Switch" (or variants of it), but it doesn't seem to be working.
 
Thank you in advance.

Gmane