public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/10499] [3.3, 3.4] Debug information for some C++ headers is missing classes (template specific?)
       [not found] <20030425143600.10499.drow@mvista.com>
@ 2003-07-05 14:55 ` pinskia at physics dot uc dot edu
  2003-07-15 20:50 ` drow at mvista dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-05 14:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10499


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-05 14:55 -------
I see the crash with gdb (5.1.90CVS-3) but with gdb 2003-07-04-cvs, I get the output:
{<basic_iostream<char,std::char_traits<char> >> = {<basic_istream<
char,std::char_traits<char> >> = {<basic_ios<char,std::char_traits<char> >> = <invalid 
address>,
      _vptr.basic_istream = 0x10, _M_gcount = 139083320}, <basic_ostream<
char,std::char_traits<char> >> = {_vptr.basic_ostream = 0x813c9c0}, <No data fields>},
  _M_stringbuf = {<basic_streambuf<char,std::char_traits<char> >> = 
{_vptr.basic_streambuf = 0x50, _M_in_beg = 0x11 <Address 0x11 out of bounds>,
      _M_in_cur = 0x851f948 <Address 0x851f948 out of bounds>, _M_in_end = 
0x86dd6f8 <Address 0x86dd6f8 out of bounds>, _M_out_beg = 0x10 <Address 0x10 out 
of bounds>,
      _M_out_cur = 0x10 <Address 0x10 out of bounds>, _M_out_end = 0x4212df00 "", 
_M_buf_locale = {static none = 0, static ctype = 1, static numeric = 2,
        static collate = 4, static time = 8, static monetary = 16, static messages = 32, static all 
= 63, _M_impl = 0x4212dfa8, static _S_classic = 0x400c6b9c,
        static _S_global = 0x400c6b9c, static _S_categories = 0x400b3ab0, static 
_S_categories_size = 6}}, _M_mode = 796225127, _M_string = {static npos = 
4294967295,
      _M_dataplus = {<allocator<char>> = {<No data fields>}, _M_p = 0x11 <Address 0x11 
out of bounds>}}}}

This is with the mainline gcc (20030705).
I will attach the output of readelf.
Can you look at the output and tell me if this bug still exists?


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

* [Bug debug/10499] [3.3, 3.4] Debug information for some C++ headers is missing classes (template specific?)
       [not found] <20030425143600.10499.drow@mvista.com>
  2003-07-05 14:55 ` [Bug debug/10499] [3.3, 3.4] Debug information for some C++ headers is missing classes (template specific?) pinskia at physics dot uc dot edu
@ 2003-07-15 20:50 ` drow at mvista dot com
  2003-07-24 19:00 ` pinskia at physics dot uc dot edu
  2003-08-23  1:51 ` [Bug debug/10499] " dhazeghi at yahoo dot com
  3 siblings, 0 replies; 8+ messages in thread
From: drow at mvista dot com @ 2003-07-15 20:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10499



------- Additional Comments From drow at mvista dot com  2003-07-15 20:50 -------
Subject: Re:  [3.3, 3.4] Debug information for some C++ headers is missing classes (template specific?)

On Sat, Jul 05, 2003 at 02:55:08PM -0000, pinskia at physics dot uc dot edu wrote:
> Can you look at the output and tell me if this bug still exists?

What's the debugging output you put in the bug log from?  There's no
basic_iostream in this testcase at all.  From the readelf output, the
bug is still there.


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

* [Bug debug/10499] [3.3, 3.4] Debug information for some C++ headers is missing classes (template specific?)
       [not found] <20030425143600.10499.drow@mvista.com>
  2003-07-05 14:55 ` [Bug debug/10499] [3.3, 3.4] Debug information for some C++ headers is missing classes (template specific?) pinskia at physics dot uc dot edu
  2003-07-15 20:50 ` drow at mvista dot com
@ 2003-07-24 19:00 ` pinskia at physics dot uc dot edu
  2003-08-23  1:51 ` [Bug debug/10499] " dhazeghi at yahoo dot com
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-24 19:00 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10499


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
           Keywords|                            |wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-24 19:00:23
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-24 19:00 -------
I had forgot to copy and paste the "$1 = " in front of output (see the '{').
I see how you got confused.  
I also see how to detect the problem now in the "readelf --debug-dump" output.
It still exists on the mainline (20030724).


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

* [Bug debug/10499] Debug information for some C++ headers is missing classes (template specific?)
       [not found] <20030425143600.10499.drow@mvista.com>
                   ` (2 preceding siblings ...)
  2003-07-24 19:00 ` pinskia at physics dot uc dot edu
@ 2003-08-23  1:51 ` dhazeghi at yahoo dot com
  3 siblings, 0 replies; 8+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-23  1:51 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10499


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.3, 3.4] Debug information|Debug information for some
                   |for some C++ headers is     |C++ headers is missing
                   |missing classes (template   |classes (template specific?)
                   |specific?)                  |
   Target Milestone|3.4                         |---


------- Additional Comments From dhazeghi at yahoo dot com  2003-08-23 01:51 -------
Not a regression.


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

* [Bug debug/10499] Debug information for some C++ headers is missing classes (template specific?)
       [not found] <bug-10499-4@http.gcc.gnu.org/bugzilla/>
  2012-01-16 18:58 ` pinskia at gcc dot gnu.org
  2024-01-23 15:27 ` rguenth at gcc dot gnu.org
@ 2024-01-23 15:38 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-23 15:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10499
Bug 10499 depends on bug 12385, which changed state.

Bug 12385 Summary: Full debug info not emitted for C++ classes with external virtual functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12385

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

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

* [Bug debug/10499] Debug information for some C++ headers is missing classes (template specific?)
       [not found] <bug-10499-4@http.gcc.gnu.org/bugzilla/>
  2012-01-16 18:58 ` pinskia at gcc dot gnu.org
@ 2024-01-23 15:27 ` rguenth at gcc dot gnu.org
  2024-01-23 15:38 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-23 15:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10499

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
   Last reconfirmed|2005-12-28 06:11:53         |2024-1-23

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
With gcc 7.5 and gcc 13.2 I see

(gdb) p/r s
$3 = <incomplete type>
(gdb) ptype s
type = std::stringstream

and the python pretty-printers "ICE" like

(gdb) p s
Python Exception <class 'IndexError'>: list index out of range

The DW_TAG_typedef is still as reported, to a DW_AT_declaration, and the
variable DIE only refers to the typedef DIE.

So - reconfirmed.  Might be also a C++ frontend representation issue.

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

* [Bug debug/10499] Debug information for some C++ headers is missing classes (template specific?)
       [not found] <bug-10499-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-16 18:58 ` pinskia at gcc dot gnu.org
  2024-01-23 15:27 ` rguenth at gcc dot gnu.org
  2024-01-23 15:38 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-16 18:58 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10499

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nikolay at totalviewtech
                   |                            |dot com

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-16 18:55:29 UTC ---
*** Bug 51873 has been marked as a duplicate of this bug. ***


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

* [Bug debug/10499] Debug information for some C++ headers is missing classes (template specific?)
       [not found] <20030425143600.10499.drow@false.org>
@ 2004-11-07 16:28 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-07 16:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-07 16:28 -------
Maybe related to PR 12385.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |12385


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10499


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

end of thread, other threads:[~2024-01-23 15:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030425143600.10499.drow@mvista.com>
2003-07-05 14:55 ` [Bug debug/10499] [3.3, 3.4] Debug information for some C++ headers is missing classes (template specific?) pinskia at physics dot uc dot edu
2003-07-15 20:50 ` drow at mvista dot com
2003-07-24 19:00 ` pinskia at physics dot uc dot edu
2003-08-23  1:51 ` [Bug debug/10499] " dhazeghi at yahoo dot com
     [not found] <20030425143600.10499.drow@false.org>
2004-11-07 16:28 ` pinskia at gcc dot gnu dot org
     [not found] <bug-10499-4@http.gcc.gnu.org/bugzilla/>
2012-01-16 18:58 ` pinskia at gcc dot gnu.org
2024-01-23 15:27 ` rguenth at gcc dot gnu.org
2024-01-23 15:38 ` rguenth at gcc dot gnu.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).