gdb
authorTom Tromey <tromey@redhat.com>
Mon, 18 Oct 2010 19:14:03 +0000 (19:14 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 18 Oct 2010 19:14:03 +0000 (19:14 +0000)
commit3a772aa44dcb36507c4a4ed13a0d161d808beed9
tree3f62aaa287dce7d374a66fff8c02ff48ab40ff4a
parentca346ede183f75655d287f355ea811f34b600d0c
gdb
* valprint.c (val_print_string): Pass 'encoding' to
LA_PRINT_STRING.
gdb/testsuite
* gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
argument to lazy_string.
* gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
(pp_ls.to_string): Use it.
* gdb.python/py-prettyprint.c (main): Move declarations to top.
Add "estring2" local.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-prettyprint.c
gdb/testsuite/gdb.python/py-prettyprint.exp
gdb/testsuite/gdb.python/py-prettyprint.py
gdb/valprint.c