Re: [fpc-devel] Dwarf-3

2016-01-24 Thread Martin
On 24/01/2016 16:03, Florian Klämpfl wrote: Dwarf-3 can handle dyn. arrays much better. What do you think about switching the default dwarf level from 2 to 3? The last gdb I tested on win (32bit vista) was gdb 10.0 (current is 10.1) And (IIRC) it still crashes (gdb exe has stopped

Re: [fpc-devel] Dwarf-3 (was: Debuginfo for dynamic arrays)

2016-01-24 Thread Florian Klämpfl
Am 24.01.2016 um 15:20 schrieb Martin: > On 24/01/2016 14:06, Martin Schreiber wrote: >> Hi, >> For a "array of integer" type variable FPC 32bit stabs returns for gdb >> "ptype" >> command >> " >> type = ^(array [0..-1] of LONGINT) >> ". >> MSEide uses this info to fetch the itemcount and item

Re: [fpc-devel] Dwarf-3

2016-01-24 Thread Martin Schreiber
On Sunday 24 January 2016 17:17:57 Martin wrote: > On 24/01/2016 16:03, Florian Klämpfl wrote: > > Dwarf-3 can handle dyn. arrays much better. What do you think about > > switching the default dwarf level from 2 to 3? > > The last gdb I tested on win (32bit vista) was gdb 10.0 (current is 10.1) >

Re: [fpc-devel] dwarf 3 implementation issue

2014-05-09 Thread Martin Frb
On 08/05/2014 21:11, Martin Frb wrote: So the entire point is, the debugger should know that they are pointers. Hidding this from the debugger gets wrong results. Besides that GDB fails on those anyway (at least the gdb I have). Here is another one, that does not (and can not) work with the