public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/14061] New: GCC HEAD gdb.ada/variant_record_packed_array.exp regression
@ 2012-05-04 18:40 jan.kratochvil at redhat dot com
  2012-08-18 18:04 ` [Bug ada/14061] " brobecker at gnat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-05-04 18:40 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 14061
           Summary: GCC HEAD gdb.ada/variant_record_packed_array.exp
                    regression
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan.kratochvil@redhat.com
                CC: brobecker@adacore.com
    Classification: Unclassified
            Target: x86_64-unknown-linux-gnu


Created attachment 6392
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6392
gdb.ada/variant_record_packed_array/foo after xz

PASS: gcc (GCC) 4.7.1 20120504 (prerelease)
FAIL: gcc (GCC) 4.8.0 20120504 (experimental)
(and also 4.8.0 20120503 PASSed but I cannot verify it now)

 (gdb) print my_buffer
-$1 = (size => 8, buffer => (1, 2, 3, 4, 5, 6, 7, 0), length => 8)
-(gdb) PASS: gdb.ada/variant_record_packed_array.exp: print empty
-testcase ./gdb.ada/variant_record_packed_array.exp completed in 0 seconds
+$1 = (size => 8, buffer => (1, 2, 3, 4, 5, 6, 7, 0), length => 2048)
+(gdb) FAIL: gdb.ada/variant_record_packed_array.exp: print empty

Unaware if it is GCC bug 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] 2+ messages in thread

* [Bug ada/14061] GCC HEAD gdb.ada/variant_record_packed_array.exp regression
  2012-05-04 18:40 [Bug ada/14061] New: GCC HEAD gdb.ada/variant_record_packed_array.exp regression jan.kratochvil at redhat dot com
@ 2012-08-18 18:04 ` brobecker at gnat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: brobecker at gnat dot com @ 2012-08-18 18:04 UTC (permalink / raw)
  To: gdb-prs

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

brobecker at gnat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brobecker at gnat dot com

--- Comment #1 from brobecker at gnat dot com 2012-08-18 18:03:46 UTC ---
I couldn't run the program to confirm this (different GLIBC), but looking at
the debug info, I think it is an issue with the debugging info. More precisely:

 <1><a56>: Abbrev Number: 22 (DW_TAG_structure_type)
    <a57>   DW_AT_name        : (indirect string, offset: 0xcea):
foo__octal_buffer___XVE       
    <a5b>   DW_AT_byte_size   : 4       
    <a5e>   DW_AT_artificial  : 1       
    <a5e>   DW_AT_sibling     : <0xa8d> 
 [skipping "size" and "buffer___XVL" members]
 <2><a80>: Abbrev Number: 9 (DW_TAG_member)
    <a81>   DW_AT_name        : (indirect string, offset: 0xdd6): length___XVA1 

I suspect that the ___XVA1 suffix should in fact be ___XVA4. If the problem
still exists, I suggest we open a ticket with 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] 2+ messages in thread

end of thread, other threads:[~2012-08-18 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-04 18:40 [Bug ada/14061] New: GCC HEAD gdb.ada/variant_record_packed_array.exp regression jan.kratochvil at redhat dot com
2012-08-18 18:04 ` [Bug ada/14061] " brobecker at gnat 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).