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: [PATCH] Use sized types in tracepoint.


On 03/16/2012 03:50 PM, Mark Kettenis wrote:

> We have gnulib/stdint.h so using typedefs like int32_t should be ok.


GDBserver doesn't use gnulib, unfortunately.  Thought, it looks like
the Linux, Windows and Lynx backends already unconditionally include stdint.h.
The NTO backend doesn't, so I'm not sure if we can include it unconditionally.

On 03/16/2012 01:46 PM, Yao Qi wrote:
> +#include <inttypes.h>
>  #if HAVE_STDINT_H
       ^^^^^^^^^^^^^
>  #include <stdint.h>
>  #endif

So I'd like to see that HAVE_STDINT_H removed first.  If this causes
trouble, the option would be for gdbserver to use gnulib proper.

-- 
Pedro Alves


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