This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 5/5] libcc1: 'set debug compile': Display absolute GCC driver filename
- From: Jeff Law <law at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Cc: Phil Muldoon <pmuldoon at redhat dot com>
- Date: Wed, 22 Apr 2015 07:09:45 -0600
- Subject: Re: [PATCH 5/5] libcc1: 'set debug compile': Display absolute GCC driver filename
- Authentication-results: sourceware.org; auth=none
- References: <20150421214109 dot 14972 dot 34388 dot stgit at host1 dot jankratochvil dot net> <20150421214138 dot 14972 dot 9843 dot stgit at host1 dot jankratochvil dot net>
On 04/21/2015 03:41 PM, Jan Kratochvil wrote:
Hi,
with the patches so far after
(gdb) set debug compile 1
one would get:
searching for compiler matching regex ^(x86_64|i.86)(-[^-]*)?-linux(-gnu)?-gcc$
found compiler x86_64-unknown-linux-gnu-gcc
But I believe it is more readable to see:
searching for compiler matching regex ^(x86_64|i.86)(-[^-]*)?-linux(-gnu)?-gcc$
found compiler /usr/bin/x86_64-unknown-linux-gnu-gcc
I do not think the change will have functionality impact, although the filename
gets used even for executing the command.
Jan
libcc1/ChangeLog
2015-04-21 Jan Kratochvil <jan.kratochvil@redhat.com>
* findcomp.cc: Include system.h.
(search_dir): Return absolute filename.
OK. Please install on the trunk.
Thanks,
Jeff