public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug pascal/12375] New: Patch for handling class-constants (fpc)
@ 2011-01-08 16:14 joost at cnoc dot nl
  0 siblings, 0 replies; only message in thread
From: joost at cnoc dot nl @ 2011-01-08 16:14 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-08 16:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-08 16:14 [Bug pascal/12375] New: Patch for handling class-constants (fpc) joost at cnoc dot nl

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