This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/16016] ptype incorrectly shows "record" (pascal/struct) as class (if accessed via pointer) (7.6.1 regression)


https://sourceware.org/bugzilla/show_bug.cgi?id=16016

Martin <gdb.bugs at mfriebe dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|OBSOLETE                    |---

--- Comment #3 from Martin <gdb.bugs at mfriebe dot de> ---
I finally got to build 7.8.1 under mingw 32 bit windows. The issue still
exists.

I only tested on Windows.


Compile the program.
gdb_781.exe -i mi project1.exe
b project1.lpr:10
r
ptype p1^
-data-evaluate-expression p1^
ptype p2^

The last ptype shows "class", but it should be record

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]