This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] 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/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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]