* [PATCH] Update and add .gitignore's
@ 2016-09-16 15:53 Simon Marchi
2016-09-21 16:36 ` Pedro Alves
0 siblings, 1 reply; 3+ messages in thread
From: Simon Marchi @ 2016-09-16 15:53 UTC (permalink / raw)
To: gdb-patches; +Cc: Simon Marchi
This patch adds a bunch of generated files to gdb's gitignore files.
There are still a bunch of "stamp" files that are not ignored, but I
think the rule for them should be put in the top-level gitignore.
Users and developers are encouraged to build out-of-tree, but some
people prefer the simplicity to build in-tree, so it should be useful
for them.
gdb/ChangeLog:
* .gitignore: Ignore more files.
* data-directory/.gitignore: Likewise.
gdb/doc/ChangeLog:
* .gitignore: New file.
gdb/gdbserver/ChangeLog:
* .gitinore: Ignore more files.
gdb/testsuite/ChangeLog:
* .gitignore: New file.
---
gdb/.gitignore | 7 +++++++
gdb/data-directory/.gitignore | 6 ++++++
gdb/doc/.gitignore | 1 +
gdb/gdbserver/.gitignore | 14 ++++++++++++++
gdb/testsuite/.gitignore | 9 +++++++++
5 files changed, 37 insertions(+)
create mode 100644 gdb/data-directory/.gitignore
create mode 100644 gdb/doc/.gitignore
create mode 100644 gdb/testsuite/.gitignore
diff --git a/gdb/.gitignore b/gdb/.gitignore
index ec7ad27..e7e1087 100644
--- a/gdb/.gitignore
+++ b/gdb/.gitignore
@@ -1,3 +1,8 @@
+/Makefile
+/build-gnulib
+/gdb-gdb.gdb
+/nm.h
+
/version.c
/xml-builtin.c
@@ -5,6 +10,7 @@
/ada-lex.c
/c-exp.c
/cp-name-parser.c
+/d-exp.c
/f-exp.c
/gdb
/gdbtui
@@ -18,3 +24,4 @@
/observer.h
/observer.inc
/p-exp.c
+/rust-exp.c
diff --git a/gdb/data-directory/.gitignore b/gdb/data-directory/.gitignore
new file mode 100644
index 0000000..f79ce62
--- /dev/null
+++ b/gdb/data-directory/.gitignore
@@ -0,0 +1,6 @@
+/Makefile
+/guile
+/python
+/syscalls
+/system-gdbinit
+
diff --git a/gdb/doc/.gitignore b/gdb/doc/.gitignore
new file mode 100644
index 0000000..5fc607b
--- /dev/null
+++ b/gdb/doc/.gitignore
@@ -0,0 +1 @@
+/Makefile
diff --git a/gdb/gdbserver/.gitignore b/gdb/gdbserver/.gitignore
index bb5c293..66ce8439e 100644
--- a/gdb/gdbserver/.gitignore
+++ b/gdb/gdbserver/.gitignore
@@ -1,12 +1,26 @@
+/Makefile
+
gdbreplay
gdbserver
libinproctrace.so
+build-gnulib-gdbserver
+build-libiberty-gdbserver
+
amd64-avx-linux.c
+amd64-avx-mpx-linux.c
+amd64-avx512-linux.c
amd64-linux.c
+amd64-mpx-linux.c
i386-avx-linux.c
+i386-avx-mpx-linux.c
+i386-avx512-linux.c
i386-linux.c
i386-mmx-linux.c
+i386-mpx-linux.c
reg-*.c
version.c
+x32-avx-linux.c
+x32-avx512-linux.c
+x32-linux.c
xml-builtin.c
diff --git a/gdb/testsuite/.gitignore b/gdb/testsuite/.gitignore
new file mode 100644
index 0000000..46265dc
--- /dev/null
+++ b/gdb/testsuite/.gitignore
@@ -0,0 +1,9 @@
+/Makefile
+/lib/pdtrace
+/outputs
+
+/expect-read1
+/gdb.log
+/gdb.sum
+/read1.so
+/site.*
--
2.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Update and add .gitignore's
2016-09-16 15:53 [PATCH] Update and add .gitignore's Simon Marchi
@ 2016-09-21 16:36 ` Pedro Alves
2016-09-21 17:17 ` Simon Marchi
0 siblings, 1 reply; 3+ messages in thread
From: Pedro Alves @ 2016-09-21 16:36 UTC (permalink / raw)
To: Simon Marchi, gdb-patches
On 09/16/2016 04:52 PM, Simon Marchi wrote:
> This patch adds a bunch of generated files to gdb's gitignore files.
> There are still a bunch of "stamp" files that are not ignored, but I
> think the rule for them should be put in the top-level gitignore.
>
> Users and developers are encouraged to build out-of-tree, but some
> people prefer the simplicity to build in-tree, so it should be useful
> for them.
>
> gdb/ChangeLog:
>
> * .gitignore: Ignore more files.
> * data-directory/.gitignore: Likewise.
>
> gdb/doc/ChangeLog:
>
> * .gitignore: New file.
>
> gdb/gdbserver/ChangeLog:
>
> * .gitinore: Ignore more files.
>
> gdb/testsuite/ChangeLog:
>
> * .gitignore: New file.
Fine with me. OK.
Thanks,
Pedro Alves
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Update and add .gitignore's
2016-09-21 16:36 ` Pedro Alves
@ 2016-09-21 17:17 ` Simon Marchi
0 siblings, 0 replies; 3+ messages in thread
From: Simon Marchi @ 2016-09-21 17:17 UTC (permalink / raw)
To: Pedro Alves, gdb-patches
On 16-09-21 12:30 PM, Pedro Alves wrote:
> On 09/16/2016 04:52 PM, Simon Marchi wrote:
>> This patch adds a bunch of generated files to gdb's gitignore files.
>> There are still a bunch of "stamp" files that are not ignored, but I
>> think the rule for them should be put in the top-level gitignore.
>>
>> Users and developers are encouraged to build out-of-tree, but some
>> people prefer the simplicity to build in-tree, so it should be useful
>> for them.
>>
>> gdb/ChangeLog:
>>
>> * .gitignore: Ignore more files.
>> * data-directory/.gitignore: Likewise.
>>
>> gdb/doc/ChangeLog:
>>
>> * .gitignore: New file.
>>
>> gdb/gdbserver/ChangeLog:
>>
>> * .gitinore: Ignore more files.
>>
>> gdb/testsuite/ChangeLog:
>>
>> * .gitignore: New file.
>
> Fine with me. OK.
>
> Thanks,
> Pedro Alves
>
Thanks, pushed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-21 17:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-16 15:53 [PATCH] Update and add .gitignore's Simon Marchi
2016-09-21 16:36 ` Pedro Alves
2016-09-21 17:17 ` Simon Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).