[gnu.utils.bug] Problems with gdb 3.1.2 on sparc

paul@cacilj.UUCP (Paul Close) (04/13/89)

I'm having trouble getting gdb to work on a Sun-4/110 (SunOS-4.0).  The
.gdbinit file that comes with it seems to generate an error message, and
once the error message has printed, I get a continuous stream of "No display
number 0." messages.  I have tried the following commands to compile:

	gcc -g -I.		(I have fixed includes)
	gcc -traditional -g -I.
	cc -g -I.

	(and I linked with -Bstatic)

And they all work this way.  If I get rid of the .gdbinit file, I get a gdb
that accepts commands, but any error message will cause the infinite "No
display number 0." messages.
-- 
Paul Close	paul@cacilj.CTS.COM 	...!{uunet, ucsd, crash}!cacilj!paul

    The Obi-wan Kenobi method:  "Use the Source, Luke"	-Jim Fulton

paul@cacilj.UUCP (Paul Close) (04/14/89)

I discovered my problem:  the egrep I was using was GNU egrep, and I
mistakenly linked it to GNU grep.  This caused munch to write a null
init.c file, so nothing was getting initialized!  (this is the strangest
method for initialization I've seen yet :-)

Wasn't egrep a link to grep in at least one of the GNU ?grep releases?
I have 1.3, the latest.  Obviously not in 1.3.

gdb works just fine now!  Thanks, Randy....
-- 
Paul Close	paul@cacilj.CTS.COM 	...!{uunet, ucsd, crash}!cacilj!paul

    The Obi-wan Kenobi method:  "Use the Source, Luke"	-Jim Fulton