🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #23

gdb-4.6 bug on ibm rs/6000

#23
From: Haider Abbas Rizvi
Date: Thu, 29 Oct 1992 04:52
41 lines
2114 bytes
-- 
I have noticed a bug in the gdb-4.6 when running on an rs/6000. 

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: <Bwv9JH.DIq@rice.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!owlnet.rice.edu!haider

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!owlnet.rice.edu!haider
From: haider@owlnet.rice.edu (Haider Abbas Rizvi)
Newsgroups: gnu.gdb.bug
Subject: gdb-4.6 bug on ibm rs/6000
Message-ID: <Bwv9JH.DIq@rice.edu>
Date: 29 Oct 92 04:52:28 GMT
Article-I.D.: rice.Bwv9JH.DIq
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: Rice University
Lines: 41
Approved: bug-gdb@prep.ai.mit.edu