This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Patch: search `directory' path for `break' files
- To: tromey at redhat dot com
- Subject: Re: Patch: search `directory' path for `break' files
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- Date: Tue, 02 Oct 2001 10:01:46 +0200
- CC: gdb-patches at sources dot redhat dot com
- References: <87r8sq6fa9.fsf@creche.redhat.com> <4634-Sat29Sep2001114241+0300-eliz@is.elta.co.il> <878zev138s.fsf@creche.redhat.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> From: Tom Tromey <tromey@redhat.com>
> Date: 01 Oct 2001 15:04:19 -0600
>
> Eli> IIRC, last time this was discussed, Per Bothner suggested to use the
> Eli> current directory recorded in the debug info to convert a relative or
> Eli> semi-relative file name into an absolute one.
>
> Thanks for reminding me of this. I had misunderstood Per's messages.
> After seeing your message I went back and did some more investigation.
>
> I think my patch is still a reasonable approach.
[...]
> So if that information is available, we use it. But if it isn't, we
> search the user's `directory' path. This seems like a reasonable
> approach to me.
Yes, I agree.
> Also, psymtabs don't have this directory information,
> so in that case we can't use this approach. We must do the path
> searching. Perhaps this is fixable; I don't know enough about
> psymtabs to say.
Elena, could you perhaps comment on this?