This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [patch] add trace capabilities to arm sim


> 
> > I'd go one step further.  Move the check to the caller side.
> 
> (1) wouldn't the state->Exceptions check effectively do that?

Well, it would help, but it is also enabled for other things.

> 
> (2) I'd have to make do_tracing global if I did that.

That brings up another issue.  What if there is more than one ARM model in 
a simulation?  Shouldn't the variable be made part of the "State" anyway?



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