🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #11

gdb-4.6 bug on rs/6000

#11
From: Haider Abbas Rizvi
Date: Tue, 27 Oct 1992 11:21
37 lines
2129 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 normally.
Thanks,
--
Haider
Technical Details
Message-ID: <9210272321.AA14879@pi.rice.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!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!uwm.edu!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: <9210272321.AA14879@pi.rice.edu>
Date: 27 Oct 92 11:21:45 GMT
Article-I.D.: pi.9210272321.AA14879
Sender: gnulists@ai.mit.edu
Reply-To: haider@rice.edu
Distribution: gnu
Organization: UTexas Mail-to-News Gateway
Lines: 37
Approved: bug-gdb@prep.ai.mit.edu