This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/13944] New: ftell: text variable, no debug info
- From: "giecrilj at stegny dot 2a.pl" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 04 Apr 2012 11:49:12 +0000
- Subject: [Bug build/13944] New: ftell: text variable, no debug info
- Auto-submitted: auto-generated
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:
{<text variable, no debug info>} 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.