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

Linux Mercedes <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CANq-9Dg8Uf9hUKg1LQL1_Hn1-s1jeTHnMgBhFwLY41FgAzv2oQ@mail.gmail.com>
> Why does this happen?

Neat! That makes sense; thanks for explaining the details.

> What is the true fix?  The distribution you are using (ie: I'm using
> Ubuntu) should *NOT* compile these files for GLIBC with debug records
> turned on (or the should *STRIP* all debug info from the object files
> and/or library).

> Also note: Debug records might not be *IN* the object, they could be in
> a parallel file (next to, or similar place) and the debugger knows how
> to find the corresponding symbol files for each library.

Aha! Turns out I somehow had the libc6-dbg package installed. Removing
it fixes the 'No such file or directory' issue.

It still prints 'Continuing.', but I'll have to sit down with the DDD
manual and see what it's doing to fix that.

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.