summaryrefslogtreecommitdiffstats
path: root/gdb/munch
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-10-05 20:57:33 +0000
committerIan Lance Taylor <ian@airs.com>1992-10-05 20:57:33 +0000
commit919128647165bdfa46272f6c03b0d260802912e7 (patch)
treeeefdb47b0b37c5f47df1e4808bbac29208393e48 /gdb/munch
parente661aaae1d135e57a727ffce4119c0da894404c1 (diff)
downloadppe42-binutils-919128647165bdfa46272f6c03b0d260802912e7.tar.gz
ppe42-binutils-919128647165bdfa46272f6c03b0d260802912e7.zip
Mon Oct 5 09:46:44 1992 Ian Lance Taylor (ian@cygnus.com)
* munch: HP9000/300 nm puts an etra space between T and symbol name.
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 62c4cd3fbb..829dc4693b 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;
OpenPOWER on IntegriCloud