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: Yao Qi <yao at codesourcery dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 1 Jun 2012 21:13:08 +0800
- Subject: Re: [testsuite] Really ensure printf/fprintf are available in dprintf.exp
- References: <1338554885-3954-1-git-send-email-yao@codesourcery.com> <001801cd3ff6$de4fd150$9aef73f0$@muller@ics-cnrs.unistra.fr>
On 06/01/2012 09:02 PM, Pierre Muller wrote:
> I was just wondering if this is an expression that I do not know, or if
> you simply meant 'bare-metal'?
>
Hi Pierre,
I meant 'bare-metal'. It was a typo.
> 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...
Usually, if I include a header for a small piece of code, I prefer to
place the include near by my code. Otherwise, I'd like to put include
at the top of source. It is just my personal habit. Generally, either
should be OK.
--
Yao (éå)