aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parente661aaae1d135e57a727ffce4119c0da894404c1 (diff)
downloadgdb-919128647165bdfa46272f6c03b0d260802912e7.zip
gdb-919128647165bdfa46272f6c03b0d260802912e7.tar.gz
gdb-919128647165bdfa46272f6c03b0d260802912e7.tar.bz2
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')
-rw-r--r--gdb/ChangeLog3
-rwxr-xr-xgdb/munch2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index eee3f48..5de3b8c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
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.
+
* config/irix4.mh: added -lsun to XM_CLIBS to get RPC functions
needed for vxworks targets.
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;