From 74172ecf37e5877085c5d01f335db94e8091ba97 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 21 Sep 2016 13:12:21 -0400 Subject: Update and add .gitignore's 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/ChangeLog | 5 +++++ gdb/data-directory/.gitignore | 5 +++++ gdb/doc/.gitignore | 1 + gdb/doc/ChangeLog | 4 ++++ gdb/gdbserver/.gitignore | 14 ++++++++++++++ gdb/gdbserver/ChangeLog | 4 ++++ gdb/testsuite/.gitignore | 9 +++++++++ gdb/testsuite/ChangeLog | 4 ++++ 9 files changed, 53 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 ec7ad2725c8..e7e108768ec 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/ChangeLog b/gdb/ChangeLog index 446c9daff50..4f16b0930f7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2016-09-21 Simon Marchi + + * .gitignore: Ignore more files. + * data-directory/.gitignore: Likewise. + 2016-09-21 Edjunior Barbosa Machado * rs6000-tdep.c (PPC_DQ): New macro. diff --git a/gdb/data-directory/.gitignore b/gdb/data-directory/.gitignore new file mode 100644 index 00000000000..a2e9147ef41 --- /dev/null +++ b/gdb/data-directory/.gitignore @@ -0,0 +1,5 @@ +/Makefile +/guile +/python +/syscalls +/system-gdbinit diff --git a/gdb/doc/.gitignore b/gdb/doc/.gitignore new file mode 100644 index 00000000000..5fc607b9e2f --- /dev/null +++ b/gdb/doc/.gitignore @@ -0,0 +1 @@ +/Makefile diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index c6fe47c602d..d13cf862de1 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2016-09-21 Simon Marchi + + * .gitignore: New file. + 2016-08-24 Simon Marchi * gdb.texinfo (Input/Output): Mention possibility to unset diff --git a/gdb/gdbserver/.gitignore b/gdb/gdbserver/.gitignore index bb5c2937c47..66ce8439e58 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/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index c1f1dff6c27..4635c69c670 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2016-09-21 Simon Marchi + + * .gitinore: Ignore more files. + 2016-09-21 Yao Qi * linux-aarch32-low.c (arm_fill_gregset): Keep bits 20 to diff --git a/gdb/testsuite/.gitignore b/gdb/testsuite/.gitignore new file mode 100644 index 00000000000..46265dcc003 --- /dev/null +++ b/gdb/testsuite/.gitignore @@ -0,0 +1,9 @@ +/Makefile +/lib/pdtrace +/outputs + +/expect-read1 +/gdb.log +/gdb.sum +/read1.so +/site.* diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a41db8df3ad..3da03141a15 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-09-21 Simon Marchi + + * .gitignore: New file. + 2016-09-21 Maciej W. Rozycki * gdb.arch/mips16-thunks.exp: Use `standard_output_file' -- cgit v1.2.1