* valops.c (value_cast_structs): Return NULL for failure.
authorDaniel Jacobowitz <drow@false.org>
Mon, 8 Sep 2008 22:16:51 +0000 (22:16 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 8 Sep 2008 22:16:51 +0000 (22:16 +0000)
commit694182d2ba45b3a4e97846f59cf04b75ad66901a
tree941a3baa7a87ff8f6b50a2556fb61a25a5f5ac6a
parentdcf4fbde10e63c5cc5fa08b7280b751d01a8efaf
* valops.c (value_cast_structs): Return NULL for failure.
(value_cast): Handle NULL from value_cast_structs.
(value_fetch_lazy): Call check_typedef.  Remove unused variable.

testsuite/
* gdb.base/structs3.c, gdb.base/structs3.exp: New files.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/structs3.c [new file with mode: 0644]
gdb/testsuite/gdb.base/structs3.exp [new file with mode: 0644]
gdb/valops.c