From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11784 invoked by alias); 15 Apr 2013 14:48:37 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 11770 invoked by uid 89); 15 Apr 2013 14:48:37 -0000 X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from smtp1.ugent.be (HELO smtp1.ugent.be) (157.193.71.182) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 15 Apr 2013 14:48:35 +0000 Received: from localhost (mcheck2.ugent.be [157.193.49.249]) by smtp1.ugent.be (Postfix) with ESMTP id A32A48175; Mon, 15 Apr 2013 16:48:33 +0200 (CEST) Received: from smtp1.ugent.be ([157.193.71.182]) by localhost (mcheck2.UGent.be [157.193.43.11]) (amavisd-new, port 10024) with ESMTP id 2EzsuPMRoG1v; Mon, 15 Apr 2013 16:48:33 +0200 (CEST) Received: from mail.elis.ugent.be (mail.elis.UGent.be [157.193.206.48]) by smtp1.ugent.be (Postfix) with ESMTP id 59DC0815A; Mon, 15 Apr 2013 16:48:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.elis.ugent.be (Postfix) with ESMTP id 35D55918C64; Mon, 15 Apr 2013 16:48:33 +0200 (CEST) Received: from mail.elis.ugent.be ([127.0.0.1]) by localhost (mail.elis.ugent.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6Y7nHC998Dsl; Mon, 15 Apr 2013 16:48:26 +0200 (CEST) Received: from bigmac.elis.UGent.be (bigmac.elis.UGent.be [157.193.206.33]) by mail.elis.ugent.be (Postfix) with ESMTP id 4F713AA3004F; Mon, 15 Apr 2013 16:48:26 +0200 (CEST) Cc: gdb@sourceware.org Message-Id: <09D287BA-1A15-4893-BA30-D66472B6169F@elis.ugent.be> From: Jonas Maebe To: Andrzej Borucki In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Pascal property Date: Mon, 15 Apr 2013 14:48:00 -0000 References: X-j-chkmail-Enveloppe: 516C1341.001 from mail.elis.UGent.be/mail.elis.UGent.be/157.193.206.48/mail.elis.ugent.be/ X-j-chkmail-Score: MSGID : 516C1341.001 on smtp1.ugent.be : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-SW-Source: 2013-04/txt/msg00039.txt.bz2 On 13 Apr 2013, at 09:19, Andrzej Borucki wrote: > It possible to handle Pascal property in Lazarus with GDB? I must call > function with object parameter. Sometimes function can return string > or dynamic array. Afaik, the DWARF debug info format does not support "properties" (for non-Delphi-style-Pascalites: properties in this language are identifiers with which you can associate a getter and/or setter that can both be arbitrarily named). Additionally, Free Pascal/Delphi-style ansistring and dynamic arrays would require (FPC-specific) support to be added to GDB to handle the reference counting for these types. I'm not aware of anyone working on support for this. Jonas