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: Should "dir" override the full path encoded in debug info?


> >         (gdb) list foo.c:1
> >         warning: Source file is more recent than executable.
> 
> What happens if you remove or rename the file foo.c in the original
> location?

GDB finds the file in dup/. But in our case, we cannot touch the file
in the original location, since the testsuite engine needs it for the
next testing batch. Building in a different location is not an option
either because we want to only recompile the files we touched (and
their dependencies). So basically, at this time, it appears that we're
stuck.

-- 
Joel


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