🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Reynolds, Terry (Contractor-SIMT... Mon, 01 Nov 2004 22:18
ppc64 gdb register problem
#1331
Author: Reynolds, Terry (Contractor-SIMT...
Date: Mon, 01 Nov 2004 22:18
141 lines
7318 bytes
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C4C060.B43FCCD0
Content-Type: text/plain

Hi,
 
I've had this problem show up in several 64 bit (ppc64) Linux versions 2.6.4
through 2.6.9.  When debugging a program compiled for 64 bits (gcc -m64)
The debugger is unable to display the contents of the fpscr register (info
reg fpscr, or info reg all).  Gdb says :
 
fpscr        reading register fpscr (#70) Input/output error.
 
This would just be irritating, except a program I'm trying to debug, an
infiniband verb layer app, fails to load in gdb with:
 
Error while reading shared library symbols:
reading register fpscr (#70); Input/output error.
 
The details of what I'm running are:
 
PowerMac G5
 
uname -a
Linux g5linux1 2.6.9.0-ydl.1.custom #1 SMP ppc64 ppc64 ppc64 GNU/Linux
 
gcc -v
gcc version 3.3.3
 
gdb -v
6.1.post-1.20040607.41rh
 
and the same results with:
6.2
 
This is repeatable with a simple hello world program.  Break in main, and do
info reg fpscr.
 
I haven't been able to find any reference to this problem anywhere else.
 
Anyone have any ideas?
 
Thanks!
 
Terry Reynolds
 
 

------_=_NextPart_001_01C4C060.B43FCCD0
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>I've had this 
problem show up in several 64 bit (ppc64) Linux versions 2.6.4&nbsp;through 
2.6.9.&nbsp; When debugging a program compiled for 64 bits (gcc -m64)&nbsp; The 
debugger is unable to display the contents of the fpscr register (info reg 
fpscr, or info reg all).&nbsp; Gdb says :</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004>fpscr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reading 
register fpscr (#70) Input/output error.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>This would just be 
irritating, except a program I'm trying to debug, an infiniband verb layer app, 
fails to load in gdb with:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>Error while reading 
shared library symbols:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>reading register 
fpscr (#70); Input/output error.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>The details of what 
I'm running are:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>PowerMac 
G5</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>uname 
-a</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>Linux g5linux1 
2.6.9.0-ydl.1.custom #1 SMP ppc64 ppc64 ppc64 GNU/Linux</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>gcc 
-v</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>gcc version 
3.3.3</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>gdb 
-v</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004>6.1.post-1.20040607.41rh</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>and the same results 
with:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004>6.2</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>This is repeatable 
with a simple hello world program.&nbsp; Break in main, and do info reg 
fpscr.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>I haven't been able 
to find any reference to this problem anywhere else.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=663160222-01112004>Anyone have any 
ideas?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=663160222-01112004></SPAN></FONT><FONT face=Arial 
size=2><SPAN class=663160222-01112004>Thanks!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=663160222-01112004></SPAN></FONT>&nbsp;</DIV>
<DIV align=left><EM><FONT face=Script size=5>Terry Reynolds</FONT></EM></DIV>
<DIV align=left><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C4C060.B43FCCD0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads