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


> +#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


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