aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/lynx-i386-low.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-03-31 11:19:44 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2017-03-31 11:19:44 -0400
commit8fa5b777488105287e56937365523d01e51c2eb3 (patch)
treef9ed5165afab6d9104ca2bb82672d59eeee86a2c /gdb/gdbserver/lynx-i386-low.c
parentefdf7a02db60e7371ba6372e47b510aadecbae28 (diff)
downloadgdb-8fa5b777488105287e56937365523d01e51c2eb3.zip
gdb-8fa5b777488105287e56937365523d01e51c2eb3.tar.gz
gdb-8fa5b777488105287e56937365523d01e51c2eb3.tar.bz2
gdbserver: Suffix generated C files with -generated
I noticed that there were some missing files in gdbserver's gitignore (some generated register format .c files). Of course the easy fix would be to add those files to .gitignore, but I think we can do a better job, so that we don't have to worry about adding generated files to .gitignore or the clean Makefile target. I suggest naming all generated source files -generated.c. This way, we can use a single rule in .gitignore and do a "rm -f *-generated.c" to clean them up. New in v2: - Don't rename version.o and xml-builtin.o gdb/gdbserver/ChangeLog: * .gitignore: Remove generated files, replace with wildcard. * (clean): Replace removal of generated files with wildcard. (version.c): Replace with... (version-generated.c): ...this. (xml-builtin.c): Replace with... (xml-builtin-generated.c): ...this. (%-ipa.o: %-generated.c, %.o: %-generated.c): New rules. (%.c: *regformats*): Replace with... (%-generated.c: *regformats*): ...this.
Diffstat (limited to 'gdb/gdbserver/lynx-i386-low.c')
0 files changed, 0 insertions, 0 deletions