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


Sorry I forgot to add something. As you can see in the gdb output, it complains about poll.c in addition to pt-raise.c.
So I wonder which development packages are missed.



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: Mahmood Naderan <nt_mahmood@yahoo.com>
To: Andreas Schwab <schwab@suse.de>
Cc: Joel Brobecker <brobecker@adacore.com>; "gdb@sourceware.org" <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.


?
Regards,
Mahmood



----- Original Message -----
From: Andreas Schwab <schwab@suse.de>
To: Mahmood Naderan <nt_mahmood@yahoo.com>
Cc: Joel Brobecker <brobecker@adacore.com>; "gdb@sourceware.org" <gdb@sourceware.org>
Sent: Tuesday, February 12, 2013 12:40 PM
Subject: Re: pt-raise.c: No such file or directory

Mahmood Naderan <nt_mahmood@yahoo.com> 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=<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).

Isn't that the signal the program is raising?

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE? 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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