aboutsummaryrefslogtreecommitdiff
path: root/gdb/.Sanitize
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1997-09-25 01:26:36 +0000
committerStu Grossman <grossman@cygnus>1997-09-25 01:26:36 +0000
commit45a70ed6531bf1ecd9266991e8d1bb44c9e66bfa (patch)
treee34e5accd538bab88c44b9091ba8f6e8998d96cc /gdb/.Sanitize
parent4d5d36f015212384d5540c5d65ae9e220ad226cc (diff)
downloadgdb-45a70ed6531bf1ecd9266991e8d1bb44c9e66bfa.zip
gdb-45a70ed6531bf1ecd9266991e8d1bb44c9e66bfa.tar.gz
gdb-45a70ed6531bf1ecd9266991e8d1bb44c9e66bfa.tar.bz2
* The following block of changes add support for debugging assembly
source files. * breakpoint.c (resolve_sal_pc): Prevent crash when pc isn't associated with a function. * buildsym.c (record_line start_symtab end_symtab): Don't delete symtabs which only have line numbers (but no other debug symbols). * dbxread.c (read_dbx_symtab end_psymtab): Ditto. * remote-sim.c: New functions gdbsim_insert/remove_breakpoint. Use intrinsic simulator breakpoints if available, otherwise do it the hard way. * configure.tgt: Add d30v. * d30v-tdep.c: New file. * config/d30v/d30v.mt, config/d30v/tm-d30v.h: New files.
Diffstat (limited to 'gdb/.Sanitize')
-rw-r--r--gdb/.Sanitize41
1 files changed, 41 insertions, 0 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize
index b7aacef..5b622bd 100644
--- a/gdb/.Sanitize
+++ b/gdb/.Sanitize
@@ -74,6 +74,20 @@ else
fi
fi
+d30v_files="d30v-tdep.c"
+
+if ( echo $* | grep keep\-d30v > /dev/null ) ; then
+ keep_these_too="${d30v_files} ${keep_these_too}"
+ if [ -n "${verbose}" ] ; then
+ echo Keeping ${d30v_files}
+ fi
+else
+ lose_these_too="${d30v_files} ${lose_these_too}"
+ if [ -n "${verbose}" ] ; then
+ echo Deleting ${d30v_files}
+ fi
+fi
+
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
@@ -654,6 +668,33 @@ else
done
fi
+if ( echo $* | grep keep\-d30v > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping d30v stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"d30v\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ if [ -n "${verbose}" ] ; then
+ echo Caching $i in .Recover...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi
+
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2