From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4750 invoked by alias); 4 Apr 2012 11:49:59 -0000 Received: (qmail 4739 invoked by uid 22791); 4 Apr 2012 11:49:57 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Apr 2012 11:49:45 +0000 From: "giecrilj at stegny dot 2a.pl" To: glibc-bugs@sources.redhat.com Subject: [Bug build/13944] New: ftell: text variable, no debug info Date: Wed, 04 Apr 2012 11:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: giecrilj at stegny dot 2a.pl X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00031.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13944 Bug #: 13944 Summary: ftell: text variable, no debug info Product: glibc Version: 2.14 Status: NEW Severity: normal Priority: P2 Component: build AssignedTo: unassigned@sourceware.org ReportedBy: giecrilj@stegny.2a.pl CC: carlos@systemhalted.org Classification: Unclassified Steps to reproduce: { gdb true; } run p ftell ptype ftell Actual result: {} 0x7ffff7ab3ce0 <_IO_ftell> int () Expected result: {long (FILE *)} 0x7ffff7ab3ce0 <_IO_ftell> long (FILE *) This bug confuses gdb a lot; if you have a file pointer f positioned at 0x400000000, gdb will print 0 for ftell (f). Workaround: p _IO_ftell (f). -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.