From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28835 invoked by alias); 12 Feb 2013 10:50:22 -0000 Received: (qmail 28827 invoked by uid 22791); 12 Feb 2013 10:50:21 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nm35.bullet.mail.bf1.yahoo.com (HELO nm35.bullet.mail.bf1.yahoo.com) (72.30.238.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Feb 2013 10:50:11 +0000 Received: from [98.139.215.143] by nm35.bullet.mail.bf1.yahoo.com with NNFMP; 12 Feb 2013 10:50:10 -0000 Received: from [98.139.212.213] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 12 Feb 2013 10:50:10 -0000 Received: from [127.0.0.1] by omp1022.mail.bf1.yahoo.com with NNFMP; 12 Feb 2013 10:50:10 -0000 Received: (qmail 11471 invoked by uid 60001); 12 Feb 2013 10:50:10 -0000 Received: from [213.233.170.141] by web163005.mail.bf1.yahoo.com via HTTP; Tue, 12 Feb 2013 02:50:09 PST References: <1360607267.4654.YahooMailNeo@web163001.mail.bf1.yahoo.com> <20130211191327.GC22497@adacore.com> <1360659215.2000.YahooMailNeo@web163001.mail.bf1.yahoo.com> <1360665527.83122.YahooMailNeo@web163003.mail.bf1.yahoo.com> Message-ID: <1360666209.3194.YahooMailNeo@web163005.mail.bf1.yahoo.com> Date: Tue, 12 Feb 2013 10:50:00 -0000 From: Mahmood Naderan Reply-To: Mahmood Naderan Subject: Re: pt-raise.c: No such file or directory To: Andreas Schwab Cc: Joel Brobecker , "gdb@sourceware.org" In-Reply-To: <1360665527.83122.YahooMailNeo@web163003.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2013-02/txt/msg00031.txt.bz2 Sorry I forgot to add something. As you can see in the gdb output, it compl= ains about poll.c in addition to pt-raise.c. So I wonder which development packages are missed. 0x00007fc740e65b7b in raise (sig=3D) at ../nptl/sysdeps/unix= /sysv/linux/pt-raise.c:42 42=A0=A0=A0=A0=A0 ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file = or directory. (gdb) c Continuing. Program received signal SIGSTOP, Stopped (signal). [Switching to Thread 0x7fc73f905700 (LWP 31444)] 0x00007fc740554303 in __GI___poll (fds=3D, nfds=3D, timeout=3D) =A0=A0=A0 at ../sysdeps/unix/sysv/linux/poll.c:87 87=A0=A0=A0=A0=A0 ../sysdeps/unix/sysv/linux/poll.c: No such file or direct= ory. (gdb) bt #0=A0 0x00007fc740554303 in __GI___poll (fds=3D, nfds=3D, timeout=3D) =A0=A0=A0 at ../sysdeps/unix/sysv/linux/poll.c:87 #1=A0 0x00007fc7410d5c4c in ?? () from /home/mahmood/simics-3.0.31/amd64-li= nux/bin/libsimics-common.so #2=A0 0x00007fc740e5de9a in start_thread (arg=3D0x7fc73f905700) at pthread_= create.c:308 #3=A0 0x00007fc74055fcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/c= lone.S:112 #4=A0 0x0000000000000000 in ?? () =A0 Regards, Mahmood ----- Original Message ----- From: Mahmood Naderan To: Andreas Schwab Cc: Joel Brobecker ; "gdb@sourceware.org" Sent: Tuesday, February 12, 2013 2:08 PM Subject: Re: pt-raise.c: No such file or directory >Isn't that the signal the program is raising? Sorry I didn't understand. Do you mean the absence of pt-raise.c is causing= problem? I think so but Joel says it is only a warning. =A0 Regards, Mahmood ----- Original Message ----- From: Andreas Schwab To: Mahmood Naderan Cc: Joel Brobecker ; "gdb@sourceware.org" Sent: Tuesday, February 12, 2013 12:40 PM Subject: Re: pt-raise.c: No such file or directory Mahmood Naderan writes: >>This is only a warning, and you can safely ignore it. > > But the problem is as soon as I run "c" in gdb I receive a crash > signal. You may say that my own program has problem, but on the other > terminal, my program still waits for the continue message from gdb. Here > is the output of gdb > > 0x00007fc740e65b7b in raise (sig=3D) at > ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42 > 42=A0=A0=A0=A0=A0 ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such fil= e or > directory. > (gdb) c > Continuing. > > Program received signal SIGSTOP, Stopped (signal). Isn't that the signal the program is raising? Andreas. --=20 Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint =3D 0196 BAD8 1CE9 1970 F4BE=A0 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."