🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1331

ppc64 gdb register problem

#1331
From: 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--
Technical Details
Message-ID: <mailman.61.1099348036.8225.bug-gdb@gnu.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f5053,ec5b87edc646555a,start
X-Google-Attributes: gidf5053,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
From: "Reynolds, Terry (Contractor-SIMTECH)" <terry.reynolds2@us.army.mil>
Newsgroups: gnu.gdb.bug
Subject: ppc64 gdb register problem
Date: Mon, 1 Nov 2004 16:18:24 -0600
Lines: 143
Approved: bug-gdb@gnu.org
Message-ID: <mailman.61.1099348036.8225.bug-gdb@gnu.org>
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----_=_NextPart_001_01C4C060.B43FCCD0"
X-Trace: news.Stanford.EDU 1099347539 28652 199.232.76.165 (1 Nov 2004 22:18:59 GMT)
X-Complaints-To: news@news.stanford.edu
To: "'bug-gdb@gnu.org'" <bug-gdb@gnu.org>
Envelope-to: bug-gdb@gnu.org
X-Mailer: Internet Mail Service (5.5.2657.72)
X-BeenThere: bug-gdb@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GDB, the GNU debugger" <bug-gdb.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gdb>
List-Post: <mailto:bug-gdb@gnu.org>
List-Help: <mailto:bug-gdb-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=subscribe>