aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-04-17 00:39:55 +0000
committerStu Grossman <grossman@cygnus>1993-04-17 00:39:55 +0000
commit04c6a64fdd57d6e32787243af0220eed10857189 (patch)
tree68235b8eafde6ea00e2a317c517600f44058a2fe /gdb
parent14e3c2e47d94bc9eee44e8a5b7f8458a4dbae36d (diff)
downloadgdb-04c6a64fdd57d6e32787243af0220eed10857189.zip
gdb-04c6a64fdd57d6e32787243af0220eed10857189.tar.gz
gdb-04c6a64fdd57d6e32787243af0220eed10857189.tar.bz2
* munch: Don't use head command. It doesn't exist everywhere.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rwxr-xr-xgdb/munch2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 622d18e..a8f22ac 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+Fri Apr 16 17:38:33 1993 Stu Grossman (grossman@cygnus.com)
+
+ * munch: Don't use head command. It doesn't exist everywhere.
+
Fri Apr 16 15:07:57 1993 Fred Fish (fnf@cygnus.com)
* inflow.c (new_tty): Remove spurious 'o' character at end
diff --git a/gdb/munch b/gdb/munch
index a3d7ad0..26405a8 100755
--- a/gdb/munch
+++ b/gdb/munch
@@ -23,7 +23,7 @@ if test "`$MUNCH_NM main.o | egrep main | egrep FUNC | egrep GLOB`" != "" ; then
's/^.*\(_initialize_[a-zA-Z0-9_]*\).*$/ {extern void \1 (); \1 ();}/'\
| sort -u
elif test "`$MUNCH_NM main.o | egrep '[TD] *_?main$'`" = "" ; then
- if test "`$MUNCH_NM main.o | head -6 | egrep 'Subspace$'`" != "" ; then
+ if test "`$MUNCH_NM main.o | egrep 'Type Subspace'`" != "" ; then
# HP PA RISC compilers don't prepend underscores
shift;
$MUNCH_NM $* | egrep '_initialize_.*' | \