aboutsummaryrefslogtreecommitdiff
path: root/gdb/.Sanitize
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-12-09 06:50:30 +0000
committerFred Fish <fnf@specifix.com>1992-12-09 06:50:30 +0000
commit22e3975901f39f8e3abbd0ad089e8b4ed50acf7f (patch)
treecc9a841648447da5517e6ba0519ae17e8f566186 /gdb/.Sanitize
parent160be0ded9bb9a7ff6287c3b7094327465085874 (diff)
downloadgdb-22e3975901f39f8e3abbd0ad089e8b4ed50acf7f.zip
gdb-22e3975901f39f8e3abbd0ad089e8b4ed50acf7f.tar.gz
gdb-22e3975901f39f8e3abbd0ad089e8b4ed50acf7f.tar.bz2
* c-exp.y, m2-exp.y: Migrate code that has nothing to do with
expression parsing into c-lang.c and m2-lang.c respectively. * c-lang.c, m2-lang.c: New files, code migrated from c-exp.y and m2-exp.y respectively. * c-lang.h, m2-lang.h: New files, internal interfaces between c-* and m2-* files respectively. * Makefile.in (SFILES_MAINDIR): Add c-lang.c, m2-lang.c. * Makefile.in (HFILES): Add c-lang.h, m2-lang.h. * Makefile.in (OBS): Add c-lang.o, m2-lang.o. * expression.h (struct block): Forward declaration for prototypes. * language.h (struct objfile): Forward declaration for prototypes. **** start-sanitize-chill **** * Makefile.in (SFILES_MAINDIR): Add ch-lang.c. * Makefile.in (HFILES): Add ch-lang.h. * Makefile.in (OBS): Add ch-lang.o. * ch-exp.y: Migrate code that has nothing to do with expression parsing into ch-lang.c. * ch-lang.c: New file, code migrated from c-exp.y. * ch-lang.h: New file, internal interface between ch-* files. **** end-sanitize-chill ****
Diffstat (limited to 'gdb/.Sanitize')
-rw-r--r--gdb/.Sanitize9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize
index ad152b8..f0be8cd 100644
--- a/gdb/.Sanitize
+++ b/gdb/.Sanitize
@@ -16,7 +16,7 @@
Do-first:
if ( echo $* | grep keep\-chill > /dev/null ) ; then
- keep_these_too="ch-exp.y"
+ keep_these_too="ch-exp.y ch-lang.c ch-lang.h"
fi
# All files listed between the "Things-to-keep:" line and the
@@ -55,6 +55,8 @@ breakpoint.h
buildsym.c
buildsym.h
c-exp.y
+c-lang.c
+c-lang.h
call-cmds.h
coffread.c
command.c
@@ -129,6 +131,8 @@ kdb-start.c
language.c
language.h
m2-exp.y
+m2-lang.c
+m2-lang.h
m68k-pinsn.c
m68k-stub.c
m68k-tdep.c
@@ -391,6 +395,9 @@ else
-e 's/ch-exp.y//g' \
-e 's/ch-exp.tab.c//g' \
-e 's/ch-exp.tab.o//g' \
+ -e 's/ch-lang.h//g' \
+ -e 's/ch-lang.c//g' \
+ -e 's/ch-lang.o//g' \
< Makefile.in > new
if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then
echo Caching Makefile.in in .Recover...