aboutsummaryrefslogtreecommitdiff
path: root/gdb/munch
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-03-24 22:54:21 +0000
committerPer Bothner <per@bothner.com>1992-03-24 22:54:21 +0000
commit5c8d3927e3914565f06da90236d32a1eb1a7b845 (patch)
treeb9459b216fc508ee2861887c5d5e8b60b0de71e8 /gdb/munch
parentbe1384b0567a8c202807b622a5e0c8a75348f4f9 (diff)
downloadgdb-5c8d3927e3914565f06da90236d32a1eb1a7b845.zip
gdb-5c8d3927e3914565f06da90236d32a1eb1a7b845.tar.gz
gdb-5c8d3927e3914565f06da90236d32a1eb1a7b845.tar.bz2
* config/rs6000.mh: Update (for Fred's new mmalloc)
flags to disable use of GNU malloc/mmalloc. * munch: Change SYSV rule to allow .text before the label, as well as after, to work for AIX. * gdbtypes.h: Minor clarifiction.
Diffstat (limited to 'gdb/munch')
-rwxr-xr-xgdb/munch4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/munch b/gdb/munch
index 7d96a47..740c670 100755
--- a/gdb/munch
+++ b/gdb/munch
@@ -23,8 +23,8 @@ if test "`$MUNCH_NM main.o | egrep main | egrep FUNC | egrep GLOB`" != "" ; then
elif test "`$MUNCH_NM main.o | egrep '[TD] _?main$'`" = "" ; then
# System V style nm
shift;
- $MUNCH_NM $* | egrep '^(.*[^a-zA-Z_]_|_)_?initialize_.*\.text' | \
- sed -e 's/^.*\(_initialize_[a-zA-Z0-9_]*\)[^a-zA-Z0-9_].*$/ {extern void \1 (); \1 ();}/'
+ $MUNCH_NM $* | egrep '^(.*[^a-zA-Z_]_|_)_?initialize_.*' | egrep '\.text'|\
+ sed -e 's/^.*\(_initialize_[a-zA-Z0-9_]*\)/ {extern void \1 (); \1 ();}/'
else
# BSD style nm
# We now accept either text or data symbols, since the RT/PC uses data.