public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14760] New: gdb.cp/temargs.exp regression with FSF GCC HEAD
@ 2012-10-24 14:00 jan.kratochvil at redhat dot com
  2012-10-24 14:51 ` [Bug c++/14760] " tromey at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-10-24 14:00 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 14760
           Summary: gdb.cp/temargs.exp regression with FSF GCC HEAD
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan.kratochvil@redhat.com
    Classification: Unclassified
            Target: x86_64-unknown-linux-gnu


FAIL: gdb.cp/temargs.exp: test type of T in inner_m
FAIL: gdb.cp/temargs.exp: test value of I in inner_m
FAIL: gdb.cp/temargs.exp: test value of P in inner_m
FAIL: gdb.cp/temargs.exp: test value of MP in inner_m

ptype T
No symbol "T" in current context.
(gdb) FAIL: gdb.cp/temargs.exp: test type of T in inner_m
print I
No symbol "I" in current context.
(gdb) FAIL: gdb.cp/temargs.exp: test value of I in inner_m
print P == &a_global
No symbol "P" in current context.
(gdb) FAIL: gdb.cp/temargs.exp: test value of P in inner_m
print MP
No symbol "MP" in current context.
(gdb) FAIL: gdb.cp/temargs.exp: test value of MP in inner_m

I do not see if it is a GCC or GDB bug.

-- 
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] 6+ messages in thread

* [Bug c++/14760] gdb.cp/temargs.exp regression with FSF GCC HEAD
  2012-10-24 14:00 [Bug c++/14760] New: gdb.cp/temargs.exp regression with FSF GCC HEAD jan.kratochvil at redhat dot com
@ 2012-10-24 14:51 ` tromey at redhat dot com
  2012-10-24 15:33 ` tromey at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at redhat dot com @ 2012-10-24 14:51 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
         AssignedTo|unassigned at sourceware    |tromey at redhat dot com
                   |dot org                     |

-- 
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] 6+ messages in thread

* [Bug c++/14760] gdb.cp/temargs.exp regression with FSF GCC HEAD
  2012-10-24 14:00 [Bug c++/14760] New: gdb.cp/temargs.exp regression with FSF GCC HEAD jan.kratochvil at redhat dot com
  2012-10-24 14:51 ` [Bug c++/14760] " tromey at redhat dot com
@ 2012-10-24 15:33 ` tromey at redhat dot com
  2012-10-24 15:53 ` tromey at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at redhat dot com @ 2012-10-24 15:33 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-10-24 15:33:51 UTC ---
The difference is in the DWARF for the class Base.

GCC master emits:

 <1><f1>: Abbrev Number: 15 (DW_TAG_structure_type)
    <f2>   DW_AT_name        : (indirect string, offset: 0x191): Base<long int,
47, (& a_global), &S::f>    
    <f6>   DW_AT_byte_size   : 1    
    <f7>   DW_AT_decl_file   : 1    
    <f8>   DW_AT_decl_line   : 30    
    <f9>   DW_AT_declaration : 1    
    <f9>   DW_AT_sibling     : <0x155>    

The DW_AT_declaration causes gdb to ignore it.
However there is no concrete definition for the type.

I tend to think this is a gcc regression.

-- 
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] 6+ messages in thread

* [Bug c++/14760] gdb.cp/temargs.exp regression with FSF GCC HEAD
  2012-10-24 14:00 [Bug c++/14760] New: gdb.cp/temargs.exp regression with FSF GCC HEAD jan.kratochvil at redhat dot com
  2012-10-24 14:51 ` [Bug c++/14760] " tromey at redhat dot com
  2012-10-24 15:33 ` tromey at redhat dot com
@ 2012-10-24 15:53 ` tromey at redhat dot com
  2012-12-09  2:33 ` pinskia at gcc dot gnu.org
  2013-01-31 18:32 ` jason at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at redhat dot com @ 2012-10-24 15:53 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2012-10-24 15:53:06 UTC ---
Filed:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55059

-- 
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] 6+ messages in thread

* [Bug c++/14760] gdb.cp/temargs.exp regression with FSF GCC HEAD
  2012-10-24 14:00 [Bug c++/14760] New: gdb.cp/temargs.exp regression with FSF GCC HEAD jan.kratochvil at redhat dot com
                   ` (2 preceding siblings ...)
  2012-10-24 15:53 ` tromey at redhat dot com
@ 2012-12-09  2:33 ` pinskia at gcc dot gnu.org
  2013-01-31 18:32 ` jason at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-12-09  2:33 UTC (permalink / raw)
  To: gdb-prs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu.org
           See Also|                            |http://gcc.gnu.org/bugzilla
                   |                            |/show_bug.cgi?id=55059

-- 
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] 6+ messages in thread

* [Bug c++/14760] gdb.cp/temargs.exp regression with FSF GCC HEAD
  2012-10-24 14:00 [Bug c++/14760] New: gdb.cp/temargs.exp regression with FSF GCC HEAD jan.kratochvil at redhat dot com
                   ` (3 preceding siblings ...)
  2012-12-09  2:33 ` pinskia at gcc dot gnu.org
@ 2013-01-31 18:32 ` jason at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: jason at redhat dot com @ 2013-01-31 18:32 UTC (permalink / raw)
  To: gdb-prs

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

Jason Merrill <jason at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jason at redhat dot com
         Resolution|                            |FIXED

--- Comment #3 from Jason Merrill <jason at redhat dot com> 2013-01-31 18:32:26 UTC ---
Fixed in GCC.

-- 
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] 6+ messages in thread

end of thread, other threads:[~2013-01-31 18:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-24 14:00 [Bug c++/14760] New: gdb.cp/temargs.exp regression with FSF GCC HEAD jan.kratochvil at redhat dot com
2012-10-24 14:51 ` [Bug c++/14760] " tromey at redhat dot com
2012-10-24 15:33 ` tromey at redhat dot com
2012-10-24 15:53 ` tromey at redhat dot com
2012-12-09  2:33 ` pinskia at gcc dot gnu.org
2013-01-31 18:32 ` jason at redhat dot com

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