From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12319 invoked by alias); 6 Jan 2003 17:32:28 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12311 invoked from network); 6 Jan 2003 17:32:27 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 6 Jan 2003 17:32:27 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h06H4rB28972 for ; Mon, 6 Jan 2003 12:04:53 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h06HWQa15666 for ; Mon, 6 Jan 2003 12:32:26 -0500 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h06HWOn11220; Mon, 6 Jan 2003 12:32:24 -0500 Received: by localhost.redhat.com (Postfix, from userid 469) id 3B6A4FF79; Mon, 6 Jan 2003 12:36:46 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15897.48813.794142.526324@localhost.redhat.com> Date: Mon, 06 Jan 2003 17:32:00 -0000 To: Michael Elizabeth Chastain Cc: ezannoni@redhat.com, keiths@redhat.com, gdb@sources.redhat.com Subject: Re: gdb.mi/mi-pthreads.exp query In-Reply-To: <200301021740.h02HerU28515@duracef.shout.net> References: <200301021740.h02HerU28515@duracef.shout.net> X-SW-Source: 2003-01/txt/msg00054.txt.bz2 Michael Elizabeth Chastain writes: > Sure, here is the whole sections for mi-pthreads.exp from one gdb.log. > > Hmmm, I see this: > > -thread-select 7 > ^done,new-thread-id="7",frame={level="0",addr="0x42028d69",func="sigsuspend",args=[],from="/lib/i686/libc.so.6"} > (gdb) > FAIL: gdb.mi/mi-pthreads.exp: check_mi_thread_command_set: -thread-select 7 > > The test script wants to see: > > frame={.*},line=\"(-)?\[0-9\]+\",file=\".*\"" > > It looks like a test script problem rather than a gdb problem. > > I'm using the vendor libc (without symbols). Maybe you have a libc with > symbols? Or maybe the frames are never in libc on your system. > Yes, seems that way: I get: -thread-select 7 ^done,new-thread-id="7",frame={level="0",addr="0x4008abb5",func="__sigsuspend",args=[{name="set",value="0x42997abc"}],file="../sysdeps/unix/sysv/linux/sigsuspend.c",line="45"},line="45",file="../sysdeps/unix/sysv/linux/sigsuspend.c" (gdb) PASS: gdb.mi/mi-pthreads.exp: check_mi_thread_command_set: -thread-select 7 -thread-select 6 ^done,new-thread-id="6",frame={level="0",addr="0x401175e1",func="__libc_nanosleep",args=[],file="__libc_nanosleep",line="-1"},line="-1",file="__libc_nanosleep" (gdb) PASS: gdb.mi/mi-pthreads.exp: check_mi_thread_command_set: -thread-select 6 -thread-select 2 ^done,new-thread-id="2",frame={level="0",addr="0x4008ab11",func="__kill",args=[],file="__kill",line="-1"},line="-1",file="__kill" (gdb) Elena