From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18622 invoked by alias); 17 Oct 2013 20:10:26 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 18590 invoked by uid 48); 17 Oct 2013 20:10:25 -0000 From: "sergiodj at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/16016] ptype incorrectly shows "record" (pascal/struct) as class (if accessed via pointer) (7.6.1 regression) Date: Thu, 17 Oct 2013 20:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sergiodj at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q4/txt/msg00086.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16016 Sergio Durigan Junior changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING CC| |sergiodj at redhat dot com --- Comment #1 from Sergio Durigan Junior --- FWIW, I have tested this using CVS HEAD on Fedora 17 x86_64 with FPC version 2.6.0, and could not reproduce the bug. (gdb) -gdb-set language pascal ^done (gdb) ptype p1^ &"ptype p1^\n" ~"type = TFOO = record \n" ~" A : SMALLINT;\n" ~" B : SMALLINT;\n" ~"end\n" ^done (gdb) ptype p2^ &"ptype p2^\n" ~"type = TFOO = record \n" ~" A : SMALLINT;\n" ~" B : SMALLINT;\n" ~"end\n" ^done Would it be possible to give it a try using CVS HEAD? Thanks. -- You are receiving this mail because: You are on the CC list for the bug.