This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Questions about PSIM


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@OARcorp.com                 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, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]