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: [patch] Fix Linux attach to signalled/stopped processes


[committed]

On Fri, 26 Sep 2008 15:00:09 +0200, Daniel Jacobowitz wrote:
> > +set tids [lsort -integer [split $tids]]
> > +if {[llength $tids] != 3 || [lindex $tids 0] != $testpid} {
> > +    verbose -log "Invalid TIDs <$tids> for PID $testpid"
> > +    fail "Invalid TIDs found"
> > +    remote_exec build "kill -9 ${testpid}"
> > +    return -1
> > +}
> > +set testpid2 [lindex $tids 2]
> 
> I think this will FAIL on LinuxThreads but if I ever run that
> configuration again, I'll fix it.

I did not expect LinuxThreads would be still in use with kernel-2.6+.
kernel-2.4 is not supported by the testcase due to missing /proc/PID/task/ .
Assuming there would be just one more task (thread) listed.


Regards,
Jan


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