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



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.


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