aboutsummaryrefslogtreecommitdiff
path: root/gdb/munch
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1990-09-05 17:54:31 +0000
committerJohn Gilmore <gnu@cygnus>1990-09-05 17:54:31 +0000
commit831c851165e112139af1265f294e198401814c1f (patch)
tree5f155fecb9b690be9c428e822d519c2710fefd47 /gdb/munch
parent7a67dd45ca1c191a0220697a3ec9fa92993caf8c (diff)
downloadgdb-831c851165e112139af1265f294e198401814c1f.zip
gdb-831c851165e112139af1265f294e198401814c1f.tar.gz
gdb-831c851165e112139af1265f294e198401814c1f.tar.bz2
Initial revision
Diffstat (limited to 'gdb/munch')
-rwxr-xr-xgdb/munch17
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/munch b/gdb/munch
deleted file mode 100755
index eef3927..0000000
--- a/gdb/munch
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /bin/sh
-
-# create an initialization procedure from a list of .o files
-
-echo '/* Do not modify this file. It is created automatically by "munch". */'
-echo 'void initialize_all_files () {'
-
-if test "$1" = "-DSYSV" ; then
- shift;
- nm $* | egrep '^(.*[^a-zA-Z_]_|_)initialize_' | \
- sed -e 's/^.*\(_initialize_[a-zA-Z0-9_]*\)[^a-zA-Z0-9_].*$/ \1 ();/'
-else
- nm -p $* | egrep 'T *__initialize_' | \
- sed -e 's/^.*T *_*\(.*\)/ _\1 ();/'
-fi
-
-echo '}'