Remove GDBSERVER uses from x86-dregs.c
authorGary Benson <gbenson@redhat.com>
Fri, 12 Sep 2014 09:11:42 +0000 (10:11 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 12 Sep 2014 09:11:42 +0000 (10:11 +0100)
This commit makes nat/x86-dregs.c include common-defs.h rather than
defs.h or server.h.  An extra header required including in order to
support this change.

gdb/ChangeLog:

* nat/x86-dregs.c: Include common-defs.h and break-common.h.
Don't include defs.h or server.h.

gdb/ChangeLog
gdb/nat/x86-dregs.c

index bb0a9e86b07b77372abd5aa4bb7f27e1c4449e3b..e2f33351aa93d681a919d0ad24bb87780365fc80 100644 (file)
@@ -1,3 +1,8 @@
+2014-09-12  Gary Benson  <gbenson@redhat.com>
+
+       * nat/x86-dregs.c: Include common-defs.h and break-common.h.
+       Don't include defs.h or server.h.
+
 2014-09-12  Gary Benson  <gbenson@redhat.com>
 
        * nat/linux-btrace.c: Include common-defs.h.
index c0d1e7277354a7429072f261e1bd205388b6bdd0..e3a7fb42cc92f1499040fb4ea81ca9935f69022c 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifdef GDBSERVER
-#include "server.h"
-#else
-#include "defs.h"
-#include "inferior.h"
-#endif
+#include "common-defs.h"
 #include "x86-dregs.h"
+#include "break-common.h"
 
 /* Support for hardware watchpoints and breakpoints using the x86
    debug registers.
This page took 0.046838 seconds and 4 git commands to generate.