Questions about PSIM

Joel Sherrill
Wed Jul 19 06:37:00 GMT 2000

> Hi there,
>         We have downloaded the C-tools for ¡°PowerPC-rtems¡± for
> platform Linux and cygwin.
> And there are the tools: powerpc-rtems-gdb and powerpc-rtems-run(PSIM) .
> But after I tried some times, I am still puzzled:
>         What the PSIM can do? Can it be used with GDB to simulate the
> executing of each instruction
> and to set breakpoints on the instruction? 

Yes.  It is an instruction set simulator for the PowerPC.  The 
RTEMS BSP named "psim" runs all RTEMS tests on the simulator.

> So I can debug the PowerPC
> program on my Linux or
> Cygwin host.


>         If it can , how to do it ?

See the getting started guide and in the tests directory when
you build is "psim" and "psim-gdb" that invoke powerpc-rtems-run
and powerpc-rtems-gdb with the proper arguments. 

> Any help would be thankful.
> Su Wenming

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

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list