[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [openrisc] Simulator as a debuger



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?

Thanks
Gili.


**************************************************************************************************
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the 
sender immediately and do not disclose the contents to any one or make copies.

** eSafe scanned this email for viruses, vandals and malicious content **
**************************************************************************************************

--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml