From: Yao Qi <yao@codesourcery.com>
To: Aleksandar Ristovski <aristovski@qnx.com>
Cc: Pedro Alves <palves@redhat.com>,
Mark Kettenis <mark.kettenis@xs4all.nl>,
<gdb-patches@sourceware.org>
Subject: Re: [PATCH] Use sized types in tracepoint.
Date: Thu, 12 Apr 2012 13:59:00 -0000 [thread overview]
Message-ID: <4F86DDBF.10107@codesourcery.com> (raw)
In-Reply-To: <4F844772.6030305@qnx.com>
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
On 04/10/2012 10:45 PM, Aleksandar Ristovski wrote:
> On 12-04-10 10:17 AM, Pedro Alves wrote:
>> we don't know if including stdint.h unconditionally
>> works on NTO. It most probably does. Added Aleksandar to CC.
>
> Yes, it works for NTO.
>
Here is a small patch to include stdint.h unconditionally in gdbserver.
--
Yao (é½å°§)
[-- Attachment #2: 0009-Include-stdint.h-unconditionally.patch --]
[-- Type: text/x-patch, Size: 597 bytes --]
gdb/gdbserver:
2012-04-12 Yao Qi <yao@codesourcery.com>
* tracepoint.c: Include stdint.h unconditionally.
---
gdb/gdbserver/tracepoint.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index 2144f6f..f06e3c0 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -24,9 +24,8 @@
#include <unistd.h>
#include <sys/time.h>
#include <stddef.h>
-#if HAVE_STDINT_H
#include <stdint.h>
-#endif
+
#include "ax.h"
/* This file is built for both GDBserver, and the in-process
--
1.7.0.4
next prev parent reply other threads:[~2012-04-12 13:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 13:48 Yao Qi
2012-03-16 15:50 ` Mark Kettenis
2012-03-16 15:57 ` Pedro Alves
2012-04-10 14:00 ` Yao Qi
2012-04-10 14:17 ` Pedro Alves
2012-04-10 14:45 ` Aleksandar Ristovski
2012-04-10 15:29 ` Aleksandar Ristovski
2012-04-12 13:59 ` Yao Qi [this message]
2012-04-12 15:11 ` gdbserver: include stdint.h unconditionally Pedro Alves
2012-03-16 19:05 ` [PATCH] Use sized types in tracepoint Tom Tromey
2012-03-16 23:17 ` Mark Kettenis
2012-03-20 20:49 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F86DDBF.10107@codesourcery.com \
--to=yao@codesourcery.com \
--cc=aristovski@qnx.com \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
--cc=palves@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox