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.5 variants I get 
this:

(gdb) p s
$1 = (&ANSISTRING) @0x6252a0: 0x61fbc8 'test'

I don't know whether anyone already reported this bug to the GDB developers.


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to