This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] add trace capabilities to arm sim
- To: DJ Delorie <dj at redhat dot com>
- Subject: Re: [patch] add trace capabilities to arm sim
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Tue, 27 Feb 2001 09:46:38 +0000
- cc: Richard dot Earnshaw at arm dot com, gdb-patches at sources dot redhat dot com
- Organization: ARM Ltd.
- Reply-To: Richard dot Earnshaw at arm dot com
>
> > 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?