aboutsummaryrefslogtreecommitdiff
path: root/gdb/munch
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/munch')
-rwxr-xr-xgdb/munch2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/munch b/gdb/munch
index 62c4cd3..829dc46 100755
--- a/gdb/munch
+++ b/gdb/munch
@@ -22,7 +22,7 @@ if test "`$MUNCH_NM main.o | egrep main | egrep FUNC | egrep GLOB`" != "" ; then
sed -e \
's/^.*\(_initialize_[a-zA-Z0-9_]*\).*$/ {extern void \1 (); \1 ();}/'\
| sort -u
-elif test "`$MUNCH_NM main.o | egrep '[TD] _?main$'`" = "" ; then
+elif test "`$MUNCH_NM main.o | egrep '[TD] *_?main$'`" = "" ; then
if test "`$MUNCH_NM main.o | head -6 | egrep 'Subspace$'`" != "" ; then
# HP PA RISC compilers don't prepend underscores
shift;