This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb cannot find "../sysdeps/unix/syscall-template.S"
- From: Linux Mercedes <linuxmercedes at gmail dot com>
- To: duane at duaneellis dot com
- Cc: gdb at sourceware dot org
- Date: Thu, 14 Jan 2016 16:22:09 -0600
- Subject: Re: gdb cannot find "../sysdeps/unix/syscall-template.S"
- Authentication-results: sourceware.org; auth=none
- References: <20160114144731 dot 5c1bb9f86d671edec44bb378f25c04cc dot 7a526e7354 dot wbe at email03 dot secureserver dot net>
> 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!