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

* [Bug build/13944] ftell: text variable, no debug info
  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 ` carlos_odonell at mentor dot com
  2012-04-07 12:40 ` giecrilj at stegny dot 2a.pl
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-04-04 15:53 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13944

Carlos O'Donell <carlos_odonell at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |UNCONFIRMED
                 CC|                            |carlos_odonell at mentor
                   |                            |dot com
     Ever Confirmed|1                           |0

--- Comment #1 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-04-04 15:50:48 UTC ---
Could you please follow:
http://www.gnu.org/software/libc/bugs.html

Are you using your own glibc or one from your distribution?

Can you reproduce with a glibc built from trunk?

-- 
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

* [Bug build/13944] ftell: text variable, no debug info
  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
  3 siblings, 0 replies; 5+ messages in thread
From: giecrilj at stegny dot 2a.pl @ 2012-04-07 12:40 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13944

--- Comment #2 from Christopher Yeleighton <giecrilj at stegny dot 2a.pl> 2012-04-07 12:39:55 UTC ---
(In reply to comment #1)
> Could you please follow:
> http://www.gnu.org/software/libc/bugs.html
> 
> Are you using your own glibc or one from your distribution?

Distributed.

> 
> Can you reproduce with a glibc built from trunk?

Yes, with { LD_LIBRARY_PATH="${PWD}" iconv/iconv_prog --version"; }

-- 
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

* [Bug build/13944] ftell: text variable, no debug info
  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
  3 siblings, 0 replies; 5+ messages in thread
From: carlos at systemhalted dot org @ 2012-12-03 23:58 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13944

Carlos O'Donell <carlos at systemhalted dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|carlos_odonell at mentor    |
                   |dot com                     |

-- 
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

* [Bug build/13944] ftell: text variable, no debug info
  2012-04-04 11:49 [Bug build/13944] New: ftell: text variable, no debug info giecrilj at stegny dot 2a.pl
                   ` (2 preceding siblings ...)
  2012-12-03 23:58 ` carlos at systemhalted dot org
@ 2013-01-14 17:01 ` schwab@linux-m68k.org
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2013-01-14 17:01 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13944

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> 2013-01-14 17:00:38 UTC ---
I think this is a gdb bug.  It should handle aliases by looking up the real
symbol.

-- 
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).