How to set a breakpoint at a cpu context switch

"Constantine \"chicky\" Giotopoulos" <[email protected]> Wed, 5 Oct 2011 09:36:35 +0200
Newsgroups gmane.comp.gdb.general
Message-ID <CA+58DwsT1ppxT6KjW2T+AXejjFaq92GXeeHxZTzxGQS+QtsEBw@mail.gmail.com>
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.