Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: fo742998@lance.colostate.edu (Fred L. Ogden)
Subject: gdb is not working- fix?
Date: 1998/03/06	[thread overview]
Message-ID: <6dnmfe$k88@yuma.ACNS.ColoState.EDU> (raw)



Hello:

	I purchased a 500 MHz PC164 Alpha machine a few months ago for 
number crunching.  The finite-difference model I am trying to run on it runs
on all other platforms I've tried (HPUX, SunOS, AXP, Linux-Intel), but not on 
Linux-Alpha.  I need to know why- but gdb (and xxgdb) are not working properly.

	The machine came with RH4.1.  I just upgraded to RH5.0 by doing a total
re-install, thinking that this problem would surely be fixed by now. 
It isn't.  Here are the symptoms.  Running gdb on a simple "hello world"
program gives the following gripe when the printf statement is executed:

(gdb) s
20      printf("hello world\n");
(gdb) s
printf () at printf.c:30
printf.c:30: No such file or directory.
(gdb) 

	Very frustrating.  When I try to run gdb on my finite-difference code,
it gets even stranger.  For instance, if I step over a line like:

i=1;

and then ask gdb to print the value of "i", it says 0.  Utter nonsense.

My questions:

-	How can gdb be so broken?
-	Am I not doing something I should be doing?
-	Is there perhaps a newer or better version of gdb I can get?
-	Is the problem with gcc or glibc?

I am running gdb 4.16 (alpha-redhat-linux), gcc version 2.7.2.3 and
glibc-2.0.5c-9.

Any assistance will be greatly appreciated.  Until I can find out why my model
is not running on this machine, it is a pretty, but expensive, paperweight.

If you e-mail me, please use the address below.


Sincerely,

Fred Ogden

ogden@engr.uconn.edu


p.s. thanks to Scott D. for letting me use my old account since my 
University does not get this newsgroup!



                 reply	other threads:[~1998-03-06  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox