🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #17

gdb-4.6 bug on rs/6000

#17
From: Haider Abbas Rizvi
Date: Wed, 28 Oct 1992 16:10
41 lines
2130 bytes
I have noticed a bug in the gdb-4.6 when running on a rs/6000 machine. 

When I load a program and run it, it works fine. But if I recompile the
program, and ask gdb to run it again, gdb gets into a infinite loop. An
example session is follows.
----------------------------------------------------------------------------
Current directory is /lido/haider/research/solalg/svd/twops/

(gdb) run
Starting program: /lido/haider/research/solalg/svd/twops/svd.noprof 4 6
matrix size = 4, sweeps = 6
  
****************************************************************************
The program ran and gave some output.
After this I recompiled the program and typed run as below.
****************************************************************************  
  
(gdb) run 4 6
The program being debugged has been started already.
Start it from the beginning? (y or n) y
`/lido/haider/research/solalg/svd/twops/svd.noprof' has changed; re-reading symbols.
`/lido/haider/research/solalg/svd/twops/svd.noprof' has changed; re-reading symbols.
  
****************************************************************************
This line keeps on repeating till I hit C-c C-c
****************************************************************************
(gdb) Quit

----------------------------------------------------------------------------

I have the same code compiled for a sparc, and there it runs correctly.
Has someone else noticed it, has this been discussed. Would someone send a
correction to this if there is one, etc etc.
Please reply by email if you can, I dont follow this newsgroup usually.
Thanks,

-- 


--
Haider
Technical Details
Message-ID: <BwuA9G.2zz@rice.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!network.ucsd.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pi.rice.edu!haider

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!network.ucsd.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pi.rice.edu!haider
From: haider@pi.rice.edu (Haider Abbas Rizvi)
Newsgroups: gnu.gdb.bug
Subject: gdb-4.6 bug on rs/6000
Message-ID: <BwuA9G.2zz@rice.edu>
Date: 28 Oct 92 16:10:27 GMT
Article-I.D.: rice.BwuA9G.2zz
Sender: gnulists@ai.mit.edu
Reply-To: haider@rice.edu
Distribution: gnu
Organization: Rice University
Lines: 41
Approved: bug-gdb@prep.ai.mit.edu