Re: [fpc-pascal] gdb, dwarf, and ansistring

2010-03-03 Thread Jonas Maebe
On 03 Mar 2010, at 16:02, Seth Grover wrote: > How can I print the value of a var ansistring parameter in gdb with > dwarf debugging information compiled in? I believe this is a bug that was introduced with GDB 7.0 (I can reproduce it with GDB 7.0). Can you try with GDB 6.8 instead? With GDB 6.

[fpc-pascal] gdb, dwarf, and ansistring

2010-03-03 Thread Seth Grover
Given the following example: program project1; {$mode objfpc}{$H+} procedure doit (var s : ansistring); begin s := s + ' ' + s; end; var s : ansistring; begin s := 'test'; doit(s); end. When I com