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]
Other format: [Raw text]

Re: [RFA] Fix some incorrect native/remote checks in the testsuite


On Mon, Feb 11, 2002 at 11:22:05AM -0500, Fernando Nasser wrote:
> Daniel Jacobowitz wrote:
> > 
> > A large number of tests condition on [isnative] when they really want
> > ![is_remote target], as best I can tell.  This fixes a few of the (vast
> > number of) timeouts running a localhost gdbserver testsuite.  Most of the
> > others appear to be in MI, with a large number of other failures.
> > 
> > Tested on i386-linux against my not-yet-reviewed (hint) gdbserver patches.
> > OK to commit?
> > 
> 
> I guess isnative does not take into consideration running a remote
> target with the same architecture as the host (which would not 
> happen when these things were written).  Actually, the isnative
> seems to be checking for build == target!  Maybe that makes sense,
> I would have to check it more carefully but I don't have the time
> now.
> 
> Lets try your patch. Please check it in.

Thanks, committed.  Looks good so far.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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