From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29482 invoked by alias); 12 Feb 2013 08:53:45 -0000 Received: (qmail 29472 invoked by uid 22791); 12 Feb 2013 08:53:44 -0000 X-SWARE-Spam-Status: No, hits=-1.5 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 nm3-vm0.bullet.mail.bf1.yahoo.com (HELO nm3-vm0.bullet.mail.bf1.yahoo.com) (98.139.212.154) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 12 Feb 2013 08:53:38 +0000 Received: from [98.139.212.144] by nm3.bullet.mail.bf1.yahoo.com with NNFMP; 12 Feb 2013 08:53:36 -0000 Received: from [98.139.212.240] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 12 Feb 2013 08:53:36 -0000 Received: from [127.0.0.1] by omp1049.mail.bf1.yahoo.com with NNFMP; 12 Feb 2013 08:53:36 -0000 Received: (qmail 3532 invoked by uid 60001); 12 Feb 2013 08:53:36 -0000 Received: from [213.233.170.141] by web163001.mail.bf1.yahoo.com via HTTP; Tue, 12 Feb 2013 00:53:35 PST References: <1360607267.4654.YahooMailNeo@web163001.mail.bf1.yahoo.com> <20130211191327.GC22497@adacore.com> Message-ID: <1360659215.2000.YahooMailNeo@web163001.mail.bf1.yahoo.com> Date: Tue, 12 Feb 2013 08:53:00 -0000 From: Mahmood Naderan Reply-To: Mahmood Naderan Subject: Re: pt-raise.c: No such file or directory To: Joel Brobecker Cc: "gdb@sourceware.org" In-Reply-To: <20130211191327.GC22497@adacore.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/msg00027.txt.bz2 >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. Yo= u may say that my own program has problem, but on the other terminal, my pr= ogram 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 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: Joel Brobecker To: Mahmood Naderan Cc: "gdb@sourceware.org" Sent: Monday, February 11, 2013 10:43 PM Subject: Re: pt-raise.c: No such file or directory > I have compiled my program with -g -ggdb switches. When I want to attach = GDB to my program, I get this error >=20 > 0x00007f65a61fbb7b in raise (sig=3D) at ../nptl/sysdeps/un= ix/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) >=20 > Searching the web shows some pages. However I can not figure out what > is missed. A development package?=20 Someone probably installed the debugging info for some of your system libraries (in this case, the nptl). This is only a warning, and you can safely ignore it. --=20 Joel