Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by Casper Dik
Tue, 29 Dec 1992 14:49
GDB 4.7 installation fails on SVR4 with GNU egrep (+fix)
Author: Casper Dik
Date: Tue, 29 Dec 1992 14:49
Date: Tue, 29 Dec 1992 14:49
34 lines
1673 bytes
1673 bytes
GDB 4.7 installation fails when running ``munch'' on Solaris 2.1
when GNU egrep is installed and before /usr/bin/egrep in $PATH.
(Symptom: gdb/init.c won't compile)
GNU egrep parses the regexp '|__?initialize_' as
<empty> or __?initialize. System V egrep has the behaviour
expected by the writer of the gdb/munch script. (I.e.,
the regexp \|__?initialize_').
Fix (works with both egreps, add \ before |):
*** gdb/munch-dist Tue Dec 29 13:39:00 1992
--- gdb/munch Tue Dec 29 13:39:43 1992
***************
*** 18,24 ****
MUNCH_NM="${MUNCH_NM-nm} $NMOPT"
if test "`$MUNCH_NM main.o | egrep main | egrep FUNC | egrep GLOB`" != "" ; then
# System V Release 4 style nm
! $MUNCH_NM $* | egrep '|__?initialize_' | egrep FUNC | \
sed -e \
's/^.*\(_initialize_[a-zA-Z0-9_]*\).*$/ {extern void \1 (); \1 ();}/'\
| sort -u
--- 18,24 ----
MUNCH_NM="${MUNCH_NM-nm} $NMOPT"
if test "`$MUNCH_NM main.o | egrep main | egrep FUNC | egrep GLOB`" != "" ; then
# System V Release 4 style nm
! $MUNCH_NM $* | egrep '\|__?initialize_' | egrep FUNC | \
sed -e \
's/^.*\(_initialize_[a-zA-Z0-9_]*\).*$/ {extern void \1 (); \1 ();}/'\
| sort -u
Casper
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads