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: simulator runtime sanity checks


On Monday 21 August 2006 13:43, Michael Snyder wrote:
> and with memory basically in an un-initialized state.

exactly

> I'd say the behavior was not surprising.

it is and it isnt

> Which higher sim layer would you expect to catch this?

i'd expect the simulator to initialize itself when the target was set to "sim" 
and then if the user tried to run without loading a program yet, gdb would 
tell you it is unable to run because nothing has been loaded

either that or the lower sim layers lack state checks to make sure they are in 
situation where they can run
-mike

Attachment: pgp00000.pgp
Description: PGP signature


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