Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mahmood Naderan <nt_mahmood@yahoo.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: pt-raise.c: No such file or directory
Date: Tue, 12 Feb 2013 08:53:00 -0000	[thread overview]
Message-ID: <1360659215.2000.YahooMailNeo@web163001.mail.bf1.yahoo.com> (raw)
In-Reply-To: <20130211191327.GC22497@adacore.com>

>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=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
42      ../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=<optimized out>, nfds=<optimized out>, timeout=<optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
87      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) bt
#0  0x00007fc740554303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc7410d5c4c in ?? () from /home/mahmood/simics-3.0.31/amd64-linux/bin/libsimics-common.so
#2  0x00007fc740e5de9a in start_thread (arg=0x7fc73f905700) at pthread_create.c:308
#3  0x00007fc74055fcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()


 
Regards,
Mahmood



----- Original Message -----
From: Joel Brobecker <brobecker@adacore.com>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: "gdb@sourceware.org" <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
> 
> 0x00007f65a61fbb7b in raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
> 42      ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
> (gdb)
> 
> Searching the web shows some pages. However I can not figure out what
> is missed. A development package? 

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.

-- 
Joel


  reply	other threads:[~2013-02-12  8:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-11 18:27 Mahmood Naderan
2013-02-11 19:13 ` Joel Brobecker
2013-02-12  8:53   ` Mahmood Naderan [this message]
2013-02-12  9:10     ` Andreas Schwab
2013-02-12 10:38       ` Mahmood Naderan
2013-02-12 10:50         ` Andreas Schwab
2013-02-12 13:49           ` Mahmood Naderan
2013-02-12 10:50         ` Mahmood Naderan
2013-02-12 21:31         ` Sergio Durigan Junior
2013-02-13  5:34           ` Mahmood Naderan
2014-05-20 10:19 Mahmood Naderan
2014-05-20 10:37 ` Jan Kratochvil
2014-05-20 10:45   ` Mahmood Naderan
2014-05-20 12:38     ` Jan Kratochvil
2014-05-20 20:22       ` Mahmood Naderan
2014-05-20 12:01 ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1360659215.2000.YahooMailNeo@web163001.mail.bf1.yahoo.com \
    --to=nt_mahmood@yahoo.com \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox