From patchwork Tue Jul 29 14:37:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Benson X-Patchwork-Id: 2214 Received: (qmail 9711 invoked by alias); 29 Jul 2014 15:14:45 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 31457 invoked by uid 89); 29 Jul 2014 14:48:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 29 Jul 2014 14:48:23 +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 s6TEbKH9008693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 29 Jul 2014 10:37:20 -0400 Received: from blade.nx (ovpn-116-90.ams2.redhat.com [10.36.116.90]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6TEbJSF012380 for ; Tue, 29 Jul 2014 10:37:20 -0400 Received: from blade.nx (localhost [127.0.0.1]) by blade.nx (Postfix) with ESMTP id F00032640DF for ; Tue, 29 Jul 2014 15:37:17 +0100 (BST) From: Gary Benson To: gdb-patches@sourceware.org Subject: [PATCH 09/13] Move gdb_locale.h to common-defs.h Date: Tue, 29 Jul 2014 15:37:11 +0100 Message-Id: <1406644635-1011-10-git-send-email-gbenson@redhat.com> In-Reply-To: <1406644635-1011-1-git-send-email-gbenson@redhat.com> References: <1406644635-1011-1-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes This commit moves the inclusion of gdb_locale.h to common-defs.h and removes all other inclusions. gdb/ 2014-07-28 Gary Benson * common/common-defs.h: Include gdb_locale.h. * defs.h: Do not include gdb_locale.h. gdb/gdbserver/ 2014-07-28 Gary Benson * server.h: Do not include gdb_locale.h. --- gdb/ChangeLog | 5 +++++ gdb/common/common-defs.h | 1 + gdb/defs.h | 2 -- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/server.h | 1 - 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index 9c6001e..c0fbb0d 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -35,5 +35,6 @@ #include "libiberty.h" #include "pathmax.h" #include "gdb/signals.h" +#include "gdb_locale.h" #endif /* COMMON_DEFS_H */ diff --git a/gdb/defs.h b/gdb/defs.h index a5a1204..23f875e 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -50,8 +50,6 @@ #include -#include "gdb_locale.h" - #include "gdb_wchar.h" #include "ui-file.h" diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 98993f0..7c0b80a 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -74,7 +74,6 @@ typedef unsigned char gdb_byte; #include "ptid.h" #include "buffer.h" #include "xml-utils.h" -#include "gdb_locale.h" /* FIXME: This should probably be autoconf'd for. It's an integer type at least the size of a (void *). */