This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug pascal/12375] New: Patch for handling class-constants (fpc)
- From: "joost at cnoc dot nl" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 8 Jan 2011 16:14:41 +0000
- Subject: [Bug pascal/12375] New: Patch for handling class-constants (fpc)
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12375
Summary: Patch for handling class-constants (fpc)
Product: gdb
Version: 7.2
Status: NEW
Severity: normal
Priority: P2
Component: pascal
AssignedTo: unassigned@sourceware.org
ReportedBy: joost@cnoc.nl
Created attachment 5184
--> http://sourceware.org/bugzilla/attachment.cgi?id=5184
patch for class constants in Pascal
Attached patch fixes a segfault when printing class-constants.
value_from_longest can't be used here, because some (all?) constants don't have
a valid valaddr, because the constant isn't stored in a memory-location.
Wit this patch applied, the same mechanism to write out class constants is used
as in used for c++.
--
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.