Questions about PSIM

Joel Sherrill joel.sherrill at OARcorp.com
Wed Jul 19 13:24:27 UTC 2000


CARERI/SEG wrote:
> 
> 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.

Yes.

>         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
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