This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.base/sizeof.c ...
- From: cagney at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 21 Feb 2002 01:55:06 -0000
- Subject: src/gdb/testsuite ChangeLog gdb.base/sizeof.c ...
CVSROOT: /cvs/src
Module name: src
Changes by: cagney@sources.redhat.com 2002-02-20 17:55:05
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: sizeof.c sizeof.exp
Log message:
* gdb.base/sizeof.c (main): Call fill_structs. Print value of
signed, unsigned and straight char.
(padding_char, padding_short, padding_int, padding_long,
padding_long_long, padding_float, padding_double,
padding_long_double): New global variables.
(fill, fill_structs): New functions.
* gdb.base/sizeof.exp: Check for signed and unsigned char. Check
for correctly sized writes. Update copyright.
(get_valueof): New procedure.
(get_sizeof): Call get_valueof.
(check_valueof): New procedure.
(check_padding): New procedure.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.274&r2=1.275
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/sizeof.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/sizeof.exp.diff?cvsroot=src&r1=1.3&r2=1.4