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: Mon, 26 Feb 2001 19:02:34 +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
dj@redhat.com said:
> > + if (!do_tracing)
> > + return;
>
> > Shouldn't this be the first thing you check?
> Either way worked for me, but I can make it first.
I'd go one step further. Move the check to the caller side.
R.