Remove REMOTE_OBS
authorTom Tromey <tom@tromey.com>
Thu, 23 Nov 2017 03:57:04 +0000 (20:57 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 27 Nov 2017 23:53:27 +0000 (16:53 -0700)
This removes REMOTE_OBS from the Makefile.  It is no longer needed, as
remote support is always built into gdb.  The relevant sources are now
added to COMMON_SFILES, where they are treated like other ordinary
sources.

ChangeLog
2017-11-27  Tom Tromey  <tom@tromey.com>

* Makefile.in (REMOTE_OBS): Remove.
(SFILES): Remove remote sources.
(COMMON_SFILES): Add remote sources.
(ALLDEPFILES): Remove dcache.c.

gdb/ChangeLog
gdb/Makefile.in

index 1d4d9d7aeb9741b15e67ab7ffb4104233e7555df..ebb969998c4221e79999262c45f2fbc04ddffffd 100644 (file)
@@ -1,3 +1,10 @@
+2017-11-27  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (REMOTE_OBS): Remove.
+       (SFILES): Remove remote sources.
+       (COMMON_SFILES): Add remote sources.
+       (ALLDEPFILES): Remove dcache.c.
+
 2017-11-27  Tom Tromey  <tom@tromey.com>
 
        * Makefile.in (SUBDIR_TARGET_SRCS, SUBDIR_TARGET_OBS): New
index c52b735c11adc9f7b2e06d1dd9746e3d86e34666..6e16bc66828fc87e824c34de94ae2d4c3a231ae6 100644 (file)
@@ -620,20 +620,6 @@ XMLFILES = \
 # See configure.ac.
 SER_HARDWIRE = @SER_HARDWIRE@
 
-# The `remote' debugging target is supported for most architectures,
-# but not all (e.g. 960)
-REMOTE_OBS = \
-       ax-gdb.o \
-       ax-general.o \
-       ctf.o \
-       dcache.o \
-       remote.o \
-       remote-fileio.o \
-       remote-notif.o \
-       tracefile.o \
-       tracefile-tfile.o \
-       tracepoint.o
-
 # This is remote-sim.o if a simulator is to be linked in.
 SIM_OBS = @SIM_OBS@
 
@@ -928,6 +914,8 @@ COMMON_SFILES = \
        arch-utils.c \
        auto-load.c \
        auxv.c \
+       ax-gdb.c \
+       ax-general.c \
        bcache.c \
        bfd-target.c \
        block.c \
@@ -957,10 +945,12 @@ COMMON_SFILES = \
        cp-namespace.c \
        cp-support.c \
        cp-valprint.c \
+       ctf.c \
        d-lang.c \
        d-namespace.c \
        d-valprint.c \
        dbxread.c \
+       dcache.c \
        debug.c \
        demangle.c \
        dictionary.c \
@@ -1055,6 +1045,9 @@ COMMON_SFILES = \
        regcache.c \
        reggroups.c \
        registry.c \
+       remote.c \
+       remote-fileio.c \
+       remote-notif.c \
        reverse.c \
        rust-lang.c \
        selftest-arch.c \
@@ -1080,6 +1073,9 @@ COMMON_SFILES = \
        thread-fsm.c \
        tid-parse.c \
        top.c \
+       tracefile.c \
+       tracefile-tfile.c \
+       tracepoint.c \
        trad-frame.c \
        tramp-frame.c \
        target-float.c \
@@ -1102,11 +1098,8 @@ COMMON_SFILES = \
 SFILES = \
        ada-exp.y \
        arch/i386.c \
-       ax-gdb.c \
-       ax-general.c \
        c-exp.y \
        cp-name-parser.y \
-       ctf.c \
        d-exp.y \
        dtrace-probe.c \
        elfread.c \
@@ -1117,9 +1110,6 @@ SFILES = \
        m2-exp.y \
        p-exp.y \
        proc-service.list \
-       remote.c \
-       remote-fileio.c \
-       remote-notif.c \
        rust-exp.y \
        ser-base.c \
        ser-unix.c \
@@ -1127,7 +1117,6 @@ SFILES = \
        stap-probe.c \
        stub-termcap.c \
        symfile-mem.c \
-       tracepoint.c \
        ui-file.h \
        common/agent.c \
        common/btrace-common.c \
@@ -2240,8 +2229,6 @@ ALLDEPFILES = \
        bsd-kvm.c \
        bsd-uthread.c \
        darwin-nat.c \
-       dcache.c \
-       dcache.c \
        dicos-tdep.c \
        exec.c \
        fbsd-nat.c \