This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdbserver: start a gitignore
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 22 Dec 2010 08:45:18 +0400
- Subject: Re: [PATCH] gdbserver: start a gitignore
- References: <1292416368-24885-1-git-send-email-vapier@gentoo.org>
> 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.
What do people think?
--
Joel