2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
authorPedro Alves <palves@redhat.com>
Mon, 8 Oct 2007 23:15:55 +0000 (23:15 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 8 Oct 2007 23:15:55 +0000 (23:15 +0000)
commit64b2fa0474b97ecbe2c8ddb9c16b65a717c4cb01
treead47afe6ced6e75c5d507ffcf10b92edb20c17e2
parenta269972030123e801b2ac6590852ec9682629eee
2007-10-09  Pedro Alves  <pedro_alves@portugalmail.pt>

* gdb.base/whatis.c (v_long_long, v_signed_long_long)
(v_unsigned_long_long, v_long_long_array)
(v_signed_long_long_array, v_unsigned_long_long_array)
(slong_long_addr, a_slong_long_addr, v_long_long_pointer)
(v_signed_long_long_pointer, v_unsigned_long_long_pointer)
[!NO_LONG_LONG]: New.
(t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
v_long_long_member.

(v_long_long_func, v_signed_long_long_func)
(v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
(main) [!NO_LONG_LONG]: Initialize long long variants.

* gdb.base/whatis.exp: If board file requests no_long_long, build
test with NO_LONG_LONG defined.  Test long long, signed long long,
and unsigned long long variants but only if board file doesn't
disable it.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/whatis.c
gdb/testsuite/gdb.base/whatis.exp