2010-07-13 Emmanuel Thomé <Emmanuel.Thome@gmail.com>
authorTom Tromey <tromey@redhat.com>
Wed, 14 Jul 2010 14:13:55 +0000 (14:13 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 14 Jul 2010 14:13:55 +0000 (14:13 +0000)
commit91158a569dc571a9916dfad98c6c95ce789ad18d
treea7341c3a0f37b741ed5d233483e3f7e7b6d0bc63
parent783659f926cc0c9a76d12590b01c75fd0caa58bb
2010-07-13  Emmanuel Thomé  <Emmanuel.Thome@gmail.com>

* c-valprint.c (c_val_print): Add embedded_offset to address in
call to val_print_array_elements.

2010-07-13  Tom Tromey  <tromey@redhat.com>

* gdb.python/py-prettyprint.c (struct arraystruct): New struct.
(main): Use it.
* gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
gdb/ChangeLog
gdb/c-valprint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-prettyprint.c
gdb/testsuite/gdb.python/py-prettyprint.exp