From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1214 invoked by alias); 5 Nov 2013 18:27:30 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 1176 invoked by uid 89); 5 Nov 2013 18:27:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Nov 2013 18:26:56 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rA5INauU015641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 5 Nov 2013 13:23:36 -0500 Received: from barimba.redhat.com (ovpn-113-94.phx2.redhat.com [10.3.113.94]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rA5INX9C015113; Tue, 5 Nov 2013 13:23:35 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v2 3/6] use gdb_string.h in m32c-tdep.c Date: Tue, 05 Nov 2013 19:09:00 -0000 Message-Id: <1383675811-3274-4-git-send-email-tromey@redhat.com> In-Reply-To: <1383675811-3274-1-git-send-email-tromey@redhat.com> References: <1383675811-3274-1-git-send-email-tromey@redhat.com> X-SW-Source: 2013-11/txt/msg00093.txt.bz2 m32c-tdep.c is the last user of HAVE_STRING_H in gdb proper. It really ought to be using gdb_string.h instead, as the rest of gdb does. 2013-11-05 Tom Tromey * m32c-tdep.c: Use gdb_string.h. --- gdb/ChangeLog | 4 ++++ gdb/m32c-tdep.c | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c index a147c94..1b0eba5 100644 --- a/gdb/m32c-tdep.c +++ b/gdb/m32c-tdep.c @@ -21,10 +21,7 @@ #include -#if defined (HAVE_STRING_H) -#include -#endif - +#include "gdb_string.h" #include "gdb_assert.h" #include "elf-bfd.h" #include "elf/m32c.h" -- 1.8.1.4