Update and add .gitignore's
Commit Message
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
Comments
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
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.
@@ -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
new file mode 100644
@@ -0,0 +1,6 @@
+/Makefile
+/guile
+/python
+/syscalls
+/system-gdbinit
+
new file mode 100644
@@ -0,0 +1 @@
+/Makefile
@@ -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
new file mode 100644
@@ -0,0 +1,9 @@
+/Makefile
+/lib/pdtrace
+/outputs
+
+/expect-read1
+/gdb.log
+/gdb.sum
+/read1.so
+/site.*