Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <yao@codesourcery.com>
To: gdb-patches@sourceware.org
Subject: Re: [PATCH] gdbserver: start a gitignore
Date: Wed, 22 Dec 2010 05:32:00 -0000	[thread overview]
Message-ID: <4D118D33.2070605@codesourcery.com> (raw)
In-Reply-To: <20101222044518.GJ2596@adacore.com>

On 12/22/2010 12:45 PM, Joel Brobecker wrote:
>> diff --git a/gdb/gdbserver/.gitignore b/gdb/gdbserver/.gitignore
>> new file mode 100644
>> index 0000000..9c94950
>> --- /dev/null
>> +++ b/gdb/gdbserver/.gitignore
>> @@ -0,0 +1,4 @@
>> +gdbreplay
>> +gdbserver
>> +reg-*.c
>> +version.c
> 
> I'm OK but slightly hesitant to introduce a .gitignore for files that
> are compilation artifacts, not development artifacts.  If we start
> on that road, the list is possibly quite long.
> 
> I believe that we should encourage people to compile GDB using
> a build directory that is different from the source directory.
> Except I don't know why I think that! :-). I know that I have been
> told that this should be the cannonical way of building GNU projects,
> and that the in-source build might one day become unsupported.
> I just know that I find it more convenient, precisely because
> it avoids polluting my source tree with such build artifacts.
> 

Yes, it is not recommended to build in source dir.  The patch looks
good, but not necessary.

-- 
Yao (齐尧)


  reply	other threads:[~2010-12-22  5:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 12:33 Mike Frysinger
2010-12-22  4:45 ` Joel Brobecker
2010-12-22  5:32   ` Yao Qi [this message]
2010-12-22 11:24   ` Eli Zaretskii
2010-12-22 14:43     ` Joel Brobecker
2010-12-22 18:17     ` Mike Frysinger
2010-12-23  4:22       ` Joel Brobecker
2010-12-24  2:55         ` Mike Frysinger
2010-12-22 22:05     ` Michael Snyder
2010-12-23  3:19       ` Mike Frysinger
2010-12-22 15:58   ` Tom Tromey

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=4D118D33.2070605@codesourcery.com \
    --to=yao@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    /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