[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [openrisc] Simulator as a debuger
On Wednesday 11 September 2002 09:52, Gili Gamliel wrote:
> Marko Mlinar wrote:
> >On Monday 09 September 2002 11:13, Gili Gamliel wrote:
> >>Hi All,
> >>When I use the simulator to debug my program,
> >>Is there a shortcut to set a breakpoint at entry to symbol without
> >> knowing its actual address?
> >>I use the objdump to find an address of a symbol in order to use the sim
> >>break command ,
> >>Is there more simple way?
> >
> >break _main should work, if you have left simbols in your object file.
> >
> >Marko
> >
> >--
> >To unsubscribe from openrisc mailing list please visit
> > http://www.opencores.org/mailinglists.shtml
>
> Hi Marko
>
> I have the symbols in my object file ( I can see the labels when I use
> the 't' sim command )
> And when I use /break// / < label>/ / it put the breakpoint at 0x0
> instead of at actual address
> Maybe I did something stupid , Where I did wrong?
Huh, I've checked it and it doesn't work for me either. I'll check what broke.
thanks,
Marko
--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml