[fpc-devel] Debuginfo for dynamic arrays

Martin Schreiber mse00000 at gmail.com
Sun Jan 24 15:06:35 CET 2016

For a "array of integer" type variable FPC 32bit stabs returns for gdb "ptype" 
type = ^(array [0..-1] of LONGINT)
MSEide uses this info to fetch the itemcount and item memory and to show the 
array  items in watches window.
FPC 64bit dwarf "ptype" returns
type = ^LONGINT
How can we identify a dynamic array with FPC dwarf?

Thanks, Martin

More information about the fpc-devel mailing list