Koji Yokota wrote:

> So, this may have to be modified too.
> 
>>  > (gdb) p *start
>>  > $38 = (const wchar_t &) @0x8b1e9c0: 49
> 
>  > (gdb) x/5s 0x8b1e9c0
>  > 0x8b1e9c0:  "1"
>  > 0x8b1e9c2:  ""
>  > 0x8b1e9c3:  ""
>  > 0x8b1e9c4:  "$"
>  > 0x8b1e9c6:  ""
>  > 0x8b1e9c7:  ""
>  > 0x8b1e9c8:  "s"
>  > 0x8b1e9ca:  ""
>  > 0x8b1e9cb:  ""
>  > 0x8b1e9cc:  "\r0"
>  > 0x8b1e9cf:  ""
>  > 0x8b1e9d0:  "\2220"
>  > 0x8b1e9d3:  ""
>  > 0x8b1e9d4:  "\\O"
>  > 0x8b1e9d7:  ""
>  > 0x8b1e9d8:  "\020b"
>  > 0x8b1e9db:  ""
>  > 0x8b1e9dc:  "W0"
>  > 0x8b1e9df:  ""
>  > 0x8b1e9e0:  "f0"
>  > 0x8b1e9e3:  ""
>  > 0x8b1e9e4:  "D0"
>  > 0x8b1e9e7:  ""
>  > 0x8b1e9e8:  "~0"
>  > 0x8b1e9eb:  ""
> 
> where string size is
> 
>  > (gdb) p fstring_size
>  > $54 = 25

This looks a bit strange (can gdb not print wstrings?), but it seems to be a
correct format string.


Georg

Reply via email to