This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [testsuite] Really ensure printf/fprintf are available in dprintf.exp
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Yao Qi'" <yao at codesourcery dot com>, <gdb-patches at sourceware dot org>
- Date: Fri, 1 Jun 2012 15:02:57 +0200
- Subject: RE: [testsuite] Really ensure printf/fprintf are available in dprintf.exp
- References: <1338554885-3954-1-git-send-email-yao@codesourcery.com>
> +#include <stdlib.h>
> +/* Make sure function 'malloc' is linked into program. One some
bare-mental
> + port, if we don't use 'malloc', it will not be linked in program.
'malloc'
Hi Yao,
I was just wondering if this is an expression that I do not know, or if
you simply meant 'bare-metal'?
Also, about the addition of
+#include <stdlib.h>
in the middle of the source, I also had the impression that
traditionally, C sources group all include's at the top of the source,
but remember that I only program in C for GDB and I am a pascal code
developer otherwise...
Pierre Muller