This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Mark object files with "target:" filenames as OBJF_NONLOCAL_FILENAME
- From: Gary Benson <gbenson at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Doug Evans <dje at google dot com>, gdb-patches <gdb-patches at sourceware dot org>
- Date: Wed, 15 Apr 2015 13:09:49 +0100
- Subject: Re: [PATCH] Mark object files with "target:" filenames as OBJF_NONLOCAL_FILENAME
- Authentication-results: sourceware.org; auth=none
- References: <1428952063-2121-1-git-send-email-gbenson at redhat dot com> <CADPb22THqPa3WzQUK13Oh_-AF0D3GNitSmUBQcj7mZoBp0pL8A at mail dot gmail dot com> <552E27D2 dot 9020808 at redhat dot com>
Pedro Alves wrote:
> On 04/14/2015 12:27 AM, Doug Evans wrote:
> > IOW, how about having an "is non-local" predicate that is invoked on
> > the path whenever needed?
> > [it could be the current "is_target_filename" or if you wanted to add
> > a layer of abstraction that might be ok, depending on how this might
> > evolve]
>
> I agree, for now is_target_filename seems good.
I mailed a version 2 of this patch this morning, with that change:
https://sourceware.org/ml/gdb-patches/2015-04/msg00547.html
Cheers,
Gary
--
http://gbenson.net/