Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Gary Benson <gbenson@redhat.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 3/3] Include common-exceptions.h in common-defs.h
Date: Mon, 01 Sep 2014 15:42:00 -0000	[thread overview]
Message-ID: <1409586154-16196-4-git-send-email-gbenson@redhat.com> (raw)
In-Reply-To: <1409586154-16196-1-git-send-email-gbenson@redhat.com>

This commit includes common-exceptions.h in common-defs.h and removes
all other inclusions.

gdb/ChangeLog:

	* common/common-defs.h: Include common-exceptions.h.
	* exceptions.h: Do not include common-exceptions.h.

gdb/gdbserver/ChangeLog:

	* server.h: Do not include common-exceptions.h.
---
 gdb/ChangeLog            |    5 +++++
 gdb/common/common-defs.h |    1 +
 gdb/exceptions.h         |    1 -
 gdb/gdbserver/ChangeLog  |    4 ++++
 gdb/gdbserver/server.h   |    2 --
 5 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h
index ffcc4eb..29c8ab3 100644
--- a/gdb/common/common-defs.h
+++ b/gdb/common/common-defs.h
@@ -46,5 +46,6 @@
 #include "print-utils.h"
 #include "common-debug.h"
 #include "cleanups.h"
+#include "common-exceptions.h"
 
 #endif /* COMMON_DEFS_H */
diff --git a/gdb/exceptions.h b/gdb/exceptions.h
index 00d2b61..f4d62a6 100644
--- a/gdb/exceptions.h
+++ b/gdb/exceptions.h
@@ -20,7 +20,6 @@
 #ifndef EXCEPTIONS_H
 #define EXCEPTIONS_H
 
-#include "common-exceptions.h"
 #include "ui-out.h"
 
 /* A pre-defined non-exception.  */
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index b76bb1d..8751b8e 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -125,6 +125,4 @@ extern int handle_target_event (int err, gdb_client_data client_data);
    as large as the largest register set supported by gdbserver.  */
 #define PBUFSIZ 16384
 
-#include "common-exceptions.h"
-
 #endif /* SERVER_H */
-- 
1.7.1


  reply	other threads:[~2014-09-01 15:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 15:42 [PATCH 0/3] Rationalize cleanups/exceptions includes Gary Benson
2014-09-01 15:42 ` Gary Benson [this message]
2014-10-07 18:05   ` [PATCH 3/3] Include common-exceptions.h in common-defs.h Pedro Alves
2014-09-01 15:42 ` [PATCH 1/3] Remove spurious exceptions.h inclusions Gary Benson
2014-10-07 18:04   ` Pedro Alves
2014-10-08 17:03   ` Doug Evans
2014-10-08 17:12     ` Doug Evans
2014-10-08 17:21       ` Pedro Alves
2014-10-08 17:24       ` Doug Evans
2014-10-09  9:43         ` Gary Benson
2014-10-09 11:43           ` Pedro Alves
2014-10-09  9:45     ` Gary Benson
2014-10-09 14:47       ` Doug Evans
2014-09-01 15:42 ` [PATCH 2/3] Include cleanups.h in common-defs.h Gary Benson
2014-10-07 18:05   ` Pedro Alves
2014-10-07  8:58 ` [PING PATCH 0/3] Rationalize cleanups/exceptions includes Gary Benson
2014-10-08  8:47 ` [PATCH " Gary Benson

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=1409586154-16196-4-git-send-email-gbenson@redhat.com \
    --to=gbenson@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /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