This is the mail archive of the gdb@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: pt-raise.c: No such file or directory


>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


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