Re: Latest GDB version problems

2013-06-01 Thread sha0coder
On Monday, 10 May 2010 at 19:25:05 UTC, Piotrek wrote: W dniu 10.05.2010 21:02, Robert Clipsham pisze: You are not using a version of gdb with D support if s is not displayed as a string. This said, I've only ever looked at variables using print or a backtrace, could you try 'p s' and see what

Re: Latest GDB version problems

2013-06-01 Thread sha0coder
(gdb) p s $1 = 578159222890430469 No luck :( try this: (gdb) x/dwx mystirng 0xb4f4: 0x003c- size of string (gdb) 0xb4f8: 0xb7ca2540- ptr to the string (gdb) x/s 0xb7ca2540 0xb7ca2540: this is my string (gdb) add this macro to your ~/.gdbinit define