This is the mail archive of the gdb-patches@sourceware.org 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: PING Re: [RFC] thread tests, linux/gdbserver


On Fri, 2006-10-06 at 12:53 +0200, Mark Kettenis wrote:
> >  Any objections to this patch?
> 
> Hmm, I must have missed the origional mail, but I think we should actually
> fix our code to print these things in a more consistent manner.

It comes from target_pid_to_str, which is a target method.
We don't officially control what it looks like, since a target
is free to say anything it likes.

Of course, we do control the remote target, which is all I'm
immediately concerned with here.  It would be a one-line 
change, I think, to capitalize it...



> 
> >  On Mon, 2006-09-25 at 15:26 -0700, Michael Snyder wrote:
> > > Several thread tests contain patterns that explicitly look
> > > for the string "Thread" (capitalized) in the info threads
> > > output.
> > >
> > > But target remote prints it as "thread" (lower case), and
> > > so even though these tests can be run against gdbserver,
> > > they will fail.
> > >
> > > This patch just substitutes a pattern "\[Tt\]hread".
> > >
> > > Seem OK?
> > >
> > >
> >
> 
> 


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