gdb cannot find "../sysdeps/unix/syscall-template.S"

Linux Mercedes <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CANq-9Di++x--C1EvTKYCxc-K8J0z8AGS15dx8B9gOQL89g5tig@mail.gmail.com>
Hi,

I have an issue that appears when I'm running gdb from inside ddd. I
will load and run a program and let it sit a few minutes (waiting on
stdin input, if that matters). After it has sat a little bit, I will
get an error dialog that says "../sysdeps/unix/syscall-template.S No
such file or directory". gdb will then repeatedly output the
following:

file: "../sysdeps/unix/syscall-template.S", line number: 1
(gdb)  file: "../sysdeps/unix/syscall-template.S", line number: 1
(gdb)  file: "../sysdeps/unix/syscall-template.S", line number: 1
(gdb)  file: "../sysdeps/unix/syscall-template.S", line number: 1
(gdb)  file: "../sysdeps/unix/syscall-template.S", line number: 1
(gdb)  file: "../sysdeps/unix/syscall-template.S", line number: 1
(gdb)  file: "../sysdeps/unix/syscall-template.S", line number: 1
(gdb)  file: "../sysdeps/unix/syscall-template.S", line number: 1
(gdb)  file: "../sysdeps/unix/syscall-template.S", line number: 1
(gdb)  file: "../sysdeps/unix/syscall-template.S", line number: 1
(gdb) Continuing.
Continuing.
Continuing.
Continuing.
Continuing.
Continuing.
Continuing.
Continuing.
Continuing.
Continuing.
Continuing.

Inspection via strace shows that it is repeatedly attempting to open()
the mentioned file.

I am running Ubuntu 14.04, gdb 7.7.1, ddd 3.3.12. I figured I would
ask you folks rather than the ddd folks since this seems like a gdb
issue.

Do you have any idea why gdb expects that file to exist?

Thanks!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.