This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite] Really ensure printf/fprintf are available in dprintf.exp


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]