public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/13944] New: ftell: text variable, no debug info
@ 2012-04-04 11:49 giecrilj at stegny dot 2a.pl
  2012-04-04 15:53 ` [Bug build/13944] " carlos_odonell at mentor dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: giecrilj at stegny dot 2a.pl @ 2012-04-04 11:49 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-14 17:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-04 11:49 [Bug build/13944] New: ftell: text variable, no debug info giecrilj at stegny dot 2a.pl
2012-04-04 15:53 ` [Bug build/13944] " carlos_odonell at mentor dot com
2012-04-07 12:40 ` giecrilj at stegny dot 2a.pl
2012-12-03 23:58 ` carlos at systemhalted dot org
2013-01-14 17:01 ` schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).