i386 GDB Thread Commands

Joel Sherrill joel.sherrill at OARcorp.com
Wed Jan 15 21:37:11 UTC 2003

Mike Siers wrote:
> Hi,
> I am using the i386/pc386 BSP for doing some initial testing
> with the current snapshot.  I built gdb 5.2 and can successfully
> do debugging over a serial line.  My question is are there any
> commands in this build of gdb which will print out the RTEMS threads?
> The rdbg version of gdb has commands like "info threads" but this
> does not work with serial debugging.

Some of the serial stubs included with RTEMS support the thread aware
in the gdb remote debugging protocol.  I thought the i386 was the first
one to do that.  

Anyway, here is a script I posted back in December that will dump the
RTEMS threads regardless of the debugger interface used.  


As I suggested then, enhancements and suggestions welcomed.

> Thanks
> Mike Siers

Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

More information about the users mailing list