|
Message
From: Marko Mlinar <markom@o...>
Date: Wed, 22 Oct 2003 15:19:41 +0200
Subject: Re: [openrisc] Re: How to debug program via jp1-rtl_sim with GDB?
Ok, then you are on the right track. You have to start the RTL simulation, so
that it points to those two files. The communication is done through files...
Both options are possible, but I would suggest with hex file, since via GDB is
really slow.
Marko
On Wednesday 22 October 2003 13:38, zixim@s... wrote:
> I just want to connect gdb with rtl simulator. Then, how?
> Should I initialize flash automaticly with hex file or
> load program using gdb command?
>
> regards,
> zixim
>
> ----- Original Message -----
> From: Marko Mlinar <markom@o... >
> To: zixim@s...
> openrisc@o...
> Date: Wed, 22 Oct 2003 11:08:17 +0200
> Subject: [openrisc] Re: How to debug program via jp1-rtl_sim with
> GDB?
>
> > zixim,
> >
> > I suppose you are trying to connect gdb to the board.
> > If this is the case you shouldn't run jp1-rtl_sim, but jp1-xilinx
> > instead.
> > See the web page for more info on board debugging.
> >
> > Please use openrisc mailing list for openrisc related questions.
> >
> > Marko
> >
> > On Wednesday 22 October 2003 10:11, zixim@s... wrote:
> > > HI Marko,
> > >
> > > I want to debug program via jp1-rtl_sim with GDB, and start
> >
> > the jtag
> >
> > > server with command "./jp1-rtl_sim 9999". It created two files
> >
> > named
> >
> > > gdb_in.dat and gdb_out.dat. But how did it cooperate with rtl
> >
> > simulator
> >
> > > (e.g. ncsim)?
> > >
> > > Can you give an explanation or example?
> > >
> > > Regards,
> > > zixim
|
 |