This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] gdb.base/sizeof.c
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] gdb.base/sizeof.c
- From: Jimmy Guo <guo at cup dot hp dot com>
- Date: Fri, 28 Jul 2000 13:09:26 -0700 (PDT)
This patch will allow HP to run the C++ test pass for sizeof.exp and not
hit C++ compilation errors.
Fri Jul 28 13:01:35 Jimmy Guo <guo@cup.hp.com>
* gdb.base/sizeof.c: include <stdio.h>.
Index: gdb.base/sizeof.c
/usr/local/bin/diff -c -L gdb.base/sizeof.c /view/guo.import/CLO/Components/WDB/Src/gnu/gdb/testsuite/gdb.base/sizeof.c gdb.base/sizeof.c
*** gdb.base/sizeof.c
--- gdb.base/sizeof.c Fri Jul 28 12:35:59 2000
***************
*** 1,3 ****
--- 1,5 ----
+ #include <stdio.h>
+
int
main ()
{