This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: is sim/common documented anywhere?


On Friday 24 August 2012 16:03:51 DJ Delorie wrote:
> Ok, how do I get past this one...
> 
> sim-events.c:1076: assertion failed - events->nr_ticks_to_process != 0
> 
> This happens after sim_create_inferior is called, but before
> sim_engine_run is called.

ah, sometimes i think that error is the bane of my [sim] existence.  
annoyingly, it can arise for a few different reasons.

first, you don't want the common/sim-run.c [1].  although i'll probably just 
gut that already and make it usable since no one ever got back to me and make 
it so it is usable by default ...

second, you're using nrun.c right ?  make sure SIM_RUN_OBJS=nrun.o in your 
Makefile.in.

third, how are you launching ?  `gdb` or `run` ?

fourth, i vaguely recall not fulling initializing the state in the arch 
sim_open() can cause this to trip.
-mike

1: http://sourceware.org/ml/gdb/2010-02/msg00046.html

Attachment: signature.asc
Description: This is a digitally signed message part.


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