From patchwork Tue Jul 29 14:37:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Benson X-Patchwork-Id: 2220 Received: (qmail 8977 invoked by alias); 29 Jul 2014 16:08:54 -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 2058 invoked by uid 89); 29 Jul 2014 15:33:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 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 15:33:40 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6TEbKLQ028285 (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-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6TEbJde028462 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 DD8E32640DE for ; Tue, 29 Jul 2014 15:37:17 +0100 (BST) From: Gary Benson To: gdb-patches@sourceware.org Subject: [PATCH 08/13] Move gdb/signals.h to common-defs.h Date: Tue, 29 Jul 2014 15:37:10 +0100 Message-Id: <1406644635-1011-9-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/signals.h to common-defs.h and removes all other inclusions. gdb/ 2014-07-28 Gary Benson * common/common-defs.h: Include gdb/signals.h. * defs.h: Do not include gdb/signals.h. gdb/gdbserver/ 2014-07-28 Gary Benson * server.h: Do not include gdb/signals.h. * win32-low.c: Likewise. --- gdb/ChangeLog | 5 +++++ gdb/common/common-defs.h | 1 + gdb/defs.h | 3 --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/server.h | 1 - gdb/gdbserver/win32-low.c | 1 - 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index b31b3b8..9c6001e 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -34,5 +34,6 @@ #include "ansidecl.h" #include "libiberty.h" #include "pathmax.h" +#include "gdb/signals.h" #endif /* COMMON_DEFS_H */ diff --git a/gdb/defs.h b/gdb/defs.h index 189de74..a5a1204 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -54,9 +54,6 @@ #include "gdb_wchar.h" -/* For ``enum gdb_signal''. */ -#include "gdb/signals.h" - #include "ui-file.h" #include "host-defs.h" diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index fc973c1..98993f0 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -84,7 +84,6 @@ typedef long long LONGEST; typedef unsigned long long ULONGEST; #include "regcache.h" -#include "gdb/signals.h" #include "gdb_signals.h" #include "target.h" #include "mem-break.h" diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c index bc2506c..2242d5c 100644 --- a/gdb/gdbserver/win32-low.c +++ b/gdb/gdbserver/win32-low.c @@ -20,7 +20,6 @@ #include "server.h" #include "regcache.h" -#include "gdb/signals.h" #include "gdb/fileio.h" #include "mem-break.h" #include "win32-low.h"