This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Relative source file search
On Mon, Oct 10, 2005 at 02:56:04PM +1000, Craig Jeffree wrote:
> On Thu, 2005-10-06 at 20:25 -0400, Bob Rossi wrote:
> > Craig, you should be able to put your patch into
> > source.c:find_and_open_source in the part where it checks for
> > if (dirname != NULL)
> > {
> > ...
> > }
> >
> > instead of appending to the source_path, simply change the filename and
> > leave the source_path alone. Run this through the testsuite, are there
> > any errors?
>
> Attached is a new patch with the change in find_and_open_source. I
> haven't had any luck with the testsuite though, I kept getting a build
> error, then I did a cvs update to make sure I had the latest, now the
> whole thing won't build. Does the cvs head build today? I'm getting
I'll apply this patch and run it through the testsuite. I'll also try it
on my example and let you know what the results are.
Bob Rossi