[PATCH] Use sized types in tracepoint.

Pedro Alves palves@redhat.com
Fri Mar 16 15:57:00 GMT 2012


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



More information about the Gdb-patches mailing list