[fpc-pascal] gdb, dwarf, and ansistring
jonas.maebe at elis.ugent.be
Wed Mar 3 22:11:10 CET 2010
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.
More information about the fpc-pascal