Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sourceware.org
Cc: Tom de Vries <tdevries@suse.de>
Subject: Re: [PATCH][gdb/contrib] cc-with-tweaks.sh: Create .dwz file in .tmp subdir
Date: Sat, 28 Sep 2019 20:09:00 -0000	[thread overview]
Message-ID: <20190928130942.1062250e@f29-4.lan> (raw)
In-Reply-To: <20190822144220.GA6937@delia>

On Thu, 22 Aug 2019 16:42:22 +0200
Tom de Vries <tdevries@suse.de> wrote:

> When running a test-case gdb.base/foo.exp with cc-with-dwz-m, a file
> build/gdb/testsuite/outputs/gdb.base/foo/foo.dwz will be created, alongside
> executable build/gdb/testsuite/outputs/gdb.base/foo/foo.
> 
> This can cause problems in f.i. test-cases that test file name completion.
> 
> Make these problems less likely by moving foo.dwz to a .tmp subdir:
> build/gdb/testsuite/outputs/gdb.base/foo/.tmp/foo.dwz.
> 
> Tested on x86_64-linux.
> 
> OK for trunk?
> 
> Thanks,
> - Tom
> 
> [gdb/contrib] cc-with-tweaks.sh: Create .dwz file in .tmp subdir
> 
> gdb/ChangeLog:
> 
> 2019-08-22  Tom de Vries  <tdevries@suse.de>
> 
> 	* contrib/cc-with-tweaks.sh (get_tmpdir): New function.
> 	Use $tmpdir/$(basename "$output_file").dwz instead of
> 	"${output_file}.dwz".

LGTM.

Kevin


  parent reply	other threads:[~2019-09-28 20:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-22 14:42 Tom de Vries
2019-09-06 15:28 ` [PING][PATCH][gdb/contrib] " Tom de Vries
2019-09-13 19:50   ` [PING^2][PATCH][gdb/contrib] " Tom de Vries
2019-09-28 20:09 ` Kevin Buettner [this message]
2019-09-29 22:01   ` [PATCH][gdb/contrib] " Tom de Vries

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190928130942.1062250e@f29-4.lan \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox