From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Earnshaw To: DJ Delorie Cc: Richard.Earnshaw@arm.com, gdb-patches@sources.redhat.com Subject: Re: [patch] add trace capabilities to arm sim Date: Tue, 27 Feb 2001 01:47:00 -0000 Message-id: <200102270946.JAA05453@cam-mail2.cambridge.arm.com> References: <200102261911.OAA02126@greed.delorie.com> X-SW-Source: 2001-02/msg00477.html > > > 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?