This is the mail archive of the gdb-patches@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: [RFA] Add -s option to source command.


On Mon, Apr 12, 2010 at 10:31 AM, Doug Evans <dje@google.com> wrote:
> I'm all for stripping the drive letter if it's agreeable to everyone else.
> I will send this to the binutils list for approval tomorrow, unless
> someone has a better suggestion.
>
> openp would then check HAVE_DRIVE_SPEC (path) and if true call
> STRIP_DRIVE_SPEC (path)
> before concatenating the search path with the user-provided path.
>
> I put these macros in filenames.h because that's where
> IS_ABSOLUTE_PATH and IS_DIR_SEPARATOR live.
>
> 2010-04-12 ?Doug Evans ?<dje@google.com>
>
> ? ? ? ?* filenames.h (HAVE_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.

... or is this another file that gets migrated over from the gcc tree,
and thus needs approval from the gcc list ...


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