Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Pascal property
@ 2013-04-13  7:19 Andrzej Borucki
  2013-04-15 14:48 ` Jonas Maebe
  0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Borucki @ 2013-04-13  7:19 UTC (permalink / raw)
  To: gdb

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Pascal property
  2013-04-13  7:19 Pascal property Andrzej Borucki
@ 2013-04-15 14:48 ` Jonas Maebe
  0 siblings, 0 replies; 2+ messages in thread
From: Jonas Maebe @ 2013-04-15 14:48 UTC (permalink / raw)
  To: Andrzej Borucki; +Cc: gdb


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-15 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-13  7:19 Pascal property Andrzej Borucki
2013-04-15 14:48 ` Jonas Maebe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox