summaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-02-13 16:27:51 -0500
committerSimon Marchi <simon.marchi@efficios.com>2020-02-13 16:27:51 -0500
commitfeacfcacaac9f7e62f467a33c4ae54c56501ed18 (patch)
tree0e083366350e9fd279bec8c7b12413c90b9f255d /gdbserver
parent06b3c5bdb018262d7c09cda9d4637015c7ebe779 (diff)
downloadbinutils-gdb-feacfcacaac9f7e62f467a33c4ae54c56501ed18.tar.gz
gdbserver: rename source files to .cc
For the same reasons outlined in the previous patch, this patch renames gdbserver source files to .cc. I have moved the "-x c++" switch to only those rules that require it. gdbserver/ChangeLog: * Makefile.in: Rename source files from .c to .cc. * %.c: Rename to %.cc. * configure.ac: Rename server.c to server.cc. * configure: Re-generate.
Diffstat (limited to 'gdbserver')
-rw-r--r--gdbserver/ChangeLog7
-rw-r--r--gdbserver/Makefile.in132
-rw-r--r--gdbserver/ax.cc (renamed from gdbserver/ax.c)0
-rwxr-xr-xgdbserver/configure2
-rw-r--r--gdbserver/configure.ac2
-rw-r--r--gdbserver/debug.cc (renamed from gdbserver/debug.c)0
-rw-r--r--gdbserver/dll.cc (renamed from gdbserver/dll.c)0
-rw-r--r--gdbserver/event-loop.cc (renamed from gdbserver/event-loop.c)0
-rw-r--r--gdbserver/fork-child.cc (renamed from gdbserver/fork-child.c)0
-rw-r--r--gdbserver/gdbreplay.cc (renamed from gdbserver/gdbreplay.c)0
-rw-r--r--gdbserver/hostio-errno.cc (renamed from gdbserver/hostio-errno.c)0
-rw-r--r--gdbserver/hostio.cc (renamed from gdbserver/hostio.c)0
-rw-r--r--gdbserver/i387-fp.cc (renamed from gdbserver/i387-fp.c)0
-rw-r--r--gdbserver/inferiors.cc (renamed from gdbserver/inferiors.c)0
-rw-r--r--gdbserver/linux-aarch32-low.cc (renamed from gdbserver/linux-aarch32-low.c)0
-rw-r--r--gdbserver/linux-aarch32-tdesc.cc (renamed from gdbserver/linux-aarch32-tdesc.c)0
-rw-r--r--gdbserver/linux-aarch64-ipa.cc (renamed from gdbserver/linux-aarch64-ipa.c)0
-rw-r--r--gdbserver/linux-aarch64-low.cc (renamed from gdbserver/linux-aarch64-low.c)0
-rw-r--r--gdbserver/linux-aarch64-tdesc.cc (renamed from gdbserver/linux-aarch64-tdesc.c)0
-rw-r--r--gdbserver/linux-amd64-ipa.cc (renamed from gdbserver/linux-amd64-ipa.c)0
-rw-r--r--gdbserver/linux-arm-low.cc (renamed from gdbserver/linux-arm-low.c)0
-rw-r--r--gdbserver/linux-arm-tdesc.cc (renamed from gdbserver/linux-arm-tdesc.c)0
-rw-r--r--gdbserver/linux-bfin-low.cc (renamed from gdbserver/linux-bfin-low.c)0
-rw-r--r--gdbserver/linux-cris-low.cc (renamed from gdbserver/linux-cris-low.c)0
-rw-r--r--gdbserver/linux-crisv32-low.cc (renamed from gdbserver/linux-crisv32-low.c)0
-rw-r--r--gdbserver/linux-i386-ipa.cc (renamed from gdbserver/linux-i386-ipa.c)0
-rw-r--r--gdbserver/linux-ia64-low.cc (renamed from gdbserver/linux-ia64-low.c)0
-rw-r--r--gdbserver/linux-low.cc (renamed from gdbserver/linux-low.c)0
-rw-r--r--gdbserver/linux-m32r-low.cc (renamed from gdbserver/linux-m32r-low.c)0
-rw-r--r--gdbserver/linux-m68k-low.cc (renamed from gdbserver/linux-m68k-low.c)0
-rw-r--r--gdbserver/linux-mips-low.cc (renamed from gdbserver/linux-mips-low.c)0
-rw-r--r--gdbserver/linux-nios2-low.cc (renamed from gdbserver/linux-nios2-low.c)0
-rw-r--r--gdbserver/linux-ppc-ipa.cc (renamed from gdbserver/linux-ppc-ipa.c)0
-rw-r--r--gdbserver/linux-ppc-low.cc (renamed from gdbserver/linux-ppc-low.c)0
-rw-r--r--gdbserver/linux-s390-ipa.cc (renamed from gdbserver/linux-s390-ipa.c)0
-rw-r--r--gdbserver/linux-s390-low.cc (renamed from gdbserver/linux-s390-low.c)0
-rw-r--r--gdbserver/linux-sh-low.cc (renamed from gdbserver/linux-sh-low.c)0
-rw-r--r--gdbserver/linux-sparc-low.cc (renamed from gdbserver/linux-sparc-low.c)0
-rw-r--r--gdbserver/linux-tic6x-low.cc (renamed from gdbserver/linux-tic6x-low.c)0
-rw-r--r--gdbserver/linux-tile-low.cc (renamed from gdbserver/linux-tile-low.c)0
-rw-r--r--gdbserver/linux-x86-low.cc (renamed from gdbserver/linux-x86-low.c)0
-rw-r--r--gdbserver/linux-x86-tdesc.cc (renamed from gdbserver/linux-x86-tdesc.c)0
-rw-r--r--gdbserver/linux-xtensa-low.cc (renamed from gdbserver/linux-xtensa-low.c)0
-rw-r--r--gdbserver/lynx-i386-low.cc (renamed from gdbserver/lynx-i386-low.c)0
-rw-r--r--gdbserver/lynx-low.cc (renamed from gdbserver/lynx-low.c)0
-rw-r--r--gdbserver/lynx-ppc-low.cc (renamed from gdbserver/lynx-ppc-low.c)0
-rw-r--r--gdbserver/mem-break.cc (renamed from gdbserver/mem-break.c)0
-rw-r--r--gdbserver/notif.cc (renamed from gdbserver/notif.c)0
-rw-r--r--gdbserver/nto-low.cc (renamed from gdbserver/nto-low.c)0
-rw-r--r--gdbserver/nto-x86-low.cc (renamed from gdbserver/nto-x86-low.c)0
-rw-r--r--gdbserver/proc-service.cc (renamed from gdbserver/proc-service.c)0
-rw-r--r--gdbserver/regcache.cc (renamed from gdbserver/regcache.c)0
-rw-r--r--gdbserver/remote-utils.cc (renamed from gdbserver/remote-utils.c)0
-rw-r--r--gdbserver/server.cc (renamed from gdbserver/server.c)0
-rw-r--r--gdbserver/symbol.cc (renamed from gdbserver/symbol.c)0
-rw-r--r--gdbserver/target.cc (renamed from gdbserver/target.c)0
-rw-r--r--gdbserver/tdesc.cc (renamed from gdbserver/tdesc.c)0
-rw-r--r--gdbserver/thread-db.cc (renamed from gdbserver/thread-db.c)0
-rw-r--r--gdbserver/tracepoint.cc (renamed from gdbserver/tracepoint.c)0
-rw-r--r--gdbserver/utils.cc (renamed from gdbserver/utils.c)0
-rw-r--r--gdbserver/win32-arm-low.cc (renamed from gdbserver/win32-arm-low.c)0
-rw-r--r--gdbserver/win32-i386-low.cc (renamed from gdbserver/win32-i386-low.c)0
-rw-r--r--gdbserver/win32-low.cc (renamed from gdbserver/win32-low.c)0
-rw-r--r--gdbserver/wincecompat.cc (renamed from gdbserver/wincecompat.c)0
-rw-r--r--gdbserver/x86-low.cc (renamed from gdbserver/x86-low.c)0
-rw-r--r--gdbserver/xtensa-xtregs.cc (renamed from gdbserver/xtensa-xtregs.c)0
66 files changed, 75 insertions, 68 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog
index 919ad78f5ea..6e6c268e782 100644
--- a/gdbserver/ChangeLog
+++ b/gdbserver/ChangeLog
@@ -1,5 +1,12 @@
2020-02-13 Simon Marchi <simon.marchi@efficios.com>
+ * Makefile.in: Rename source files from .c to .cc.
+ * %.c: Rename to %.cc.
+ * configure.ac: Rename server.c to server.cc.
+ * configure: Re-generate.
+
+2020-02-13 Simon Marchi <simon.marchi@efficios.com>
+
* Makefile.in: Rename gdbsupport source files from .c to .cc.
2020-02-12 Hannes Domani <ssbssa@yahoo.de>
diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in
index d912a0babef..5d0d608e058 100644
--- a/gdbserver/Makefile.in
+++ b/gdbserver/Makefile.in
@@ -79,7 +79,7 @@ include $(srcdir)/../gdb/silent-rules.mk
# Note that these are overridden by GNU make-specific code below if
# GNU make is used. The overrides implement dependency tracking.
-COMPILE.pre = $(CXX) -x c++ $(CXX_DIALECT)
+COMPILE.pre = $(CXX) $(CXX_DIALECT)
COMPILE.post = -c -o $@
COMPILE = $(ECHO_CXX) $(COMPILE.pre) $(INTERNAL_CFLAGS) $(COMPILE.post)
POSTCOMPILE = @true
@@ -162,46 +162,46 @@ INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@
# All source files that go into linking GDB remote server.
SFILES = \
- $(srcdir)/debug.c \
- $(srcdir)/dll.c \
- $(srcdir)/gdbreplay.c \
- $(srcdir)/hostio.c \
- $(srcdir)/hostio-errno.c \
- $(srcdir)/i387-fp.c \
- $(srcdir)/inferiors.c \
- $(srcdir)/linux-aarch64-low.c \
- $(srcdir)/linux-arm-low.c \
- $(srcdir)/linux-bfin-low.c \
- $(srcdir)/linux-cris-low.c \
- $(srcdir)/linux-crisv32-low.c \
- $(srcdir)/linux-ia64-low.c \
- $(srcdir)/linux-low.c \
- $(srcdir)/linux-m32r-low.c \
- $(srcdir)/linux-m68k-low.c \
- $(srcdir)/linux-mips-low.c \
- $(srcdir)/linux-nios2-low.c \
- $(srcdir)/linux-ppc-low.c \
- $(srcdir)/linux-s390-low.c \
- $(srcdir)/linux-sh-low.c \
- $(srcdir)/linux-sparc-low.c \
- $(srcdir)/linux-tile-low.c \
- $(srcdir)/linux-x86-low.c \
- $(srcdir)/linux-xtensa-low.c \
- $(srcdir)/mem-break.c \
- $(srcdir)/proc-service.c \
+ $(srcdir)/debug.cc \
+ $(srcdir)/dll.cc \
+ $(srcdir)/gdbreplay.cc \
+ $(srcdir)/hostio.cc \
+ $(srcdir)/hostio-errno.cc \
+ $(srcdir)/i387-fp.cc \
+ $(srcdir)/inferiors.cc \
+ $(srcdir)/linux-aarch64-low.cc \
+ $(srcdir)/linux-arm-low.cc \
+ $(srcdir)/linux-bfin-low.cc \
+ $(srcdir)/linux-cris-low.cc \
+ $(srcdir)/linux-crisv32-low.cc \
+ $(srcdir)/linux-ia64-low.cc \
+ $(srcdir)/linux-low.cc \
+ $(srcdir)/linux-m32r-low.cc \
+ $(srcdir)/linux-m68k-low.cc \
+ $(srcdir)/linux-mips-low.cc \
+ $(srcdir)/linux-nios2-low.cc \
+ $(srcdir)/linux-ppc-low.cc \
+ $(srcdir)/linux-s390-low.cc \
+ $(srcdir)/linux-sh-low.cc \
+ $(srcdir)/linux-sparc-low.cc \
+ $(srcdir)/linux-tile-low.cc \
+ $(srcdir)/linux-x86-low.cc \
+ $(srcdir)/linux-xtensa-low.cc \
+ $(srcdir)/mem-break.cc \
+ $(srcdir)/proc-service.cc \
$(srcdir)/proc-service.list \
- $(srcdir)/regcache.c \
- $(srcdir)/remote-utils.c \
- $(srcdir)/server.c \
- $(srcdir)/symbol.c \
- $(srcdir)/target.c \
- $(srcdir)/thread-db.c \
- $(srcdir)/utils.c \
- $(srcdir)/win32-arm-low.c \
- $(srcdir)/win32-i386-low.c \
- $(srcdir)/win32-low.c \
- $(srcdir)/wincecompat.c \
- $(srcdir)/x86-low.c \
+ $(srcdir)/regcache.cc \
+ $(srcdir)/remote-utils.cc \
+ $(srcdir)/server.cc \
+ $(srcdir)/symbol.cc \
+ $(srcdir)/target.cc \
+ $(srcdir)/thread-db.cc \
+ $(srcdir)/utils.cc \
+ $(srcdir)/win32-arm-low.cc \
+ $(srcdir)/win32-i386-low.cc \
+ $(srcdir)/win32-low.cc \
+ $(srcdir)/wincecompat.cc \
+ $(srcdir)/x86-low.cc \
$(srcdir)/../gdb/alloc.c \
$(srcdir)/../gdb/arch/arm.c \
$(srcdir)/../gdb/arch/arm-get-next-pcs.c \
@@ -469,7 +469,7 @@ TAGS: ${TAGFILES}
etags \
`for i in yzzy ${DEPFILES}; do \
if [ x$$i != xyzzy ]; then \
- echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' \
+ echo ${srcdir}/$$i | sed -e 's/\.o$$/\.cc/' \
-e 's,/\(arch\|nat\|target\)/,/../\1/,' \
-e 's,/\(gdbsupport\)/,/../../\1/,'; \
fi; \
@@ -481,7 +481,7 @@ clean:
rm -f *.o ${ADD_FILES} *~
rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log
rm -f $(IPA_LIB)
- rm -f *-generated.c
+ rm -f *-generated.cc
rm -f stamp-xml
rm -f $(DEPDIR)/*.Po
for i in $(CONFIG_SRC_SUBDIR); do \
@@ -541,19 +541,19 @@ am--refresh:
force:
-version-generated.c: Makefile $(srcdir)/../gdb/version.in $(srcdir)/../bfd/version.h $(srcdir)/../gdbsupport/create-version.sh
+version-generated.cc: Makefile $(srcdir)/../gdb/version.in $(srcdir)/../bfd/version.h $(srcdir)/../gdbsupport/create-version.sh
$(ECHO_GEN) $(SHELL) $(srcdir)/../gdbsupport/create-version.sh $(srcdir)/../gdb \
$(host_alias) $(target_alias) $@
-xml-builtin-generated.c: stamp-xml; @true
+xml-builtin-generated.cc: stamp-xml; @true
stamp-xml: $(XML_DIR)/feature_to_c.sh Makefile $(XML_FILES)
$(SILENCE) rm -f xml-builtin.tmp
$(ECHO_GEN_XML_BUILTIN_GENERATED) $(SHELL) $(XML_DIR)/feature_to_c.sh \
xml-builtin.tmp $(XML_FILES)
- $(SILENCE) $(SHELL) $(srcdir)/../move-if-change xml-builtin.tmp xml-builtin-generated.c
+ $(SILENCE) $(SHELL) $(srcdir)/../move-if-change xml-builtin.tmp xml-builtin-generated.cc
$(SILENCE) echo stamp > stamp-xml
-.PRECIOUS: xml-builtin.c
+.PRECIOUS: xml-builtin.cc
# GNU Make has an annoying habit of putting *all* the Makefile variables
# into the environment, unless you include this target as a circumvention.
@@ -586,87 +586,87 @@ IPAGENT_COMPILE = $(ECHO_CXX) $(COMPILE.pre) $(IPAGENT_CFLAGS) $(COMPILE.post)
# Rules for special cases.
-ax-ipa.o: ax.c
+ax-ipa.o: ax.cc
$(IPAGENT_COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
$(POSTCOMPILE)
-ax.o: ax.c
+ax.o: ax.cc
$(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
$(POSTCOMPILE)
# Rules for objects that go in the in-process agent.
arch/%-ipa.o: ../gdb/arch/%.c
- $(IPAGENT_COMPILE) $<
+ $(IPAGENT_COMPILE) -x c++ $<
$(POSTCOMPILE)
gdbsupport/%-ipa.o: ../gdbsupport/%.cc
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
-%-ipa.o: %-generated.c
+%-ipa.o: %-generated.cc
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
-%-ipa.o: %.c
+%-ipa.o: %.cc
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
%-ipa.o: ../gdb/%.c
- $(IPAGENT_COMPILE) $<
+ $(IPAGENT_COMPILE) -x c++ $<
$(POSTCOMPILE)
# Note: Between two matching pattern rules, GNU Make 3.81 chooses the first one.
-# Therefore, this one needs to be before "%.o: %.c" for it to be considered for
-# files such as linux-amd64-ipa.o generated from linux-amd64-ipa.c.
+# Therefore, this one needs to be before "%.o: %.cc" for it to be considered for
+# files such as linux-amd64-ipa.o generated from linux-amd64-ipa.cc.
#
# Later versions of GNU Make choose the rule with the shortest stem, so it would
# work in any order.
-%-ipa.o: %-ipa.c
+%-ipa.o: %-ipa.cc
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
# Rules for objects that go in the gdbserver binary.
arch/%.o: ../gdb/arch/%.c
- $(COMPILE) $<
+ $(COMPILE) -x c++ $<
$(POSTCOMPILE)
gdbsupport/%.o: ../gdbsupport/%.cc
$(COMPILE) $<
$(POSTCOMPILE)
-%.o: %-generated.c
+%.o: %-generated.cc
$(COMPILE) $<
$(POSTCOMPILE)
-%.o: %.c
+%.o: %.cc
$(COMPILE) $<
$(POSTCOMPILE)
nat/%.o: ../gdb/nat/%.c
- $(COMPILE) $<
+ $(COMPILE) -x c++ $<
$(POSTCOMPILE)
target/%.o: ../gdb/target/%.c
- $(COMPILE) $<
+ $(COMPILE) -x c++ $<
$(POSTCOMPILE)
%.o: ../gdb/%.c
- $(COMPILE) $<
+ $(COMPILE) -x c++ $<
$(POSTCOMPILE)
# Rules for register format descriptions. Suffix destination files with
# -generated to identify and clean them easily.
-%-generated.c: ../gdb/regformats/%.dat $(regdat_sh)
+%-generated.cc: ../gdb/regformats/%.dat $(regdat_sh)
$(ECHO_REGDAT) $(SHELL) $(regdat_sh) $< $@
-%-generated.c: ../gdb/regformats/arm/%.dat $(regdat_sh)
+%-generated.cc: ../gdb/regformats/arm/%.dat $(regdat_sh)
$(ECHO_REGDAT) $(SHELL) $(regdat_sh) $< $@
-%-generated.c: ../gdb/regformats/rs6000/%.dat $(regdat_sh)
+%-generated.cc: ../gdb/regformats/rs6000/%.dat $(regdat_sh)
$(ECHO_REGDAT) $(SHELL) $(regdat_sh) $< $@
#
@@ -684,7 +684,7 @@ override POSTCOMPILE = @mv $(@D)/$(DEPDIR)/$(basename $(@F)).Tpo \
else
override COMPILE.pre = source='$<' object='$@' libtool=no \
DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) \
- $(CXX) -x c++ $(CXX_DIALECT)
+ $(CXX) $(CXX_DIALECT)
# depcomp handles atomicity for us, so we don't need a postcompile
# step.
override POSTCOMPILE =
@@ -713,7 +713,7 @@ all_deps_files = $(foreach dep,$(patsubst %.o,%.Po,$(all_object_files)),\
# Disable implicit make rules.
include $(srcdir)/../gdb/disable-implicit-rules.mk
-# Do not delete intermediate files (e.g. *-generated.c).
+# Do not delete intermediate files (e.g. *-generated.cc).
.SECONDARY:
# This is the end of "Makefile.in".
diff --git a/gdbserver/ax.c b/gdbserver/ax.cc
index 213db410a07..213db410a07 100644
--- a/gdbserver/ax.c
+++ b/gdbserver/ax.cc
diff --git a/gdbserver/configure b/gdbserver/configure
index 71b515ec955..7d42803f640 100755
--- a/gdbserver/configure
+++ b/gdbserver/configure
@@ -582,7 +582,7 @@ PACKAGE_STRING=
PACKAGE_BUGREPORT=
PACKAGE_URL=
-ac_unique_file="server.c"
+ac_unique_file="server.cc"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
diff --git a/gdbserver/configure.ac b/gdbserver/configure.ac
index 285a297a1c6..0da2bfa95e4 100644
--- a/gdbserver/configure.ac
+++ b/gdbserver/configure.ac
@@ -18,7 +18,7 @@ dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(server.c)
+AC_INIT(server.cc)
AC_CONFIG_HEADERS(config.h:config.in, [echo > stamp-h])
AM_MAINTAINER_MODE
diff --git a/gdbserver/debug.c b/gdbserver/debug.cc
index 7bb2504570d..7bb2504570d 100644
--- a/gdbserver/debug.c
+++ b/gdbserver/debug.cc
diff --git a/gdbserver/dll.c b/gdbserver/dll.cc
index fdc7becfbee..fdc7becfbee 100644
--- a/gdbserver/dll.c
+++ b/gdbserver/dll.cc
diff --git a/gdbserver/event-loop.c b/gdbserver/event-loop.cc
index 8827e8a32eb..8827e8a32eb 100644
--- a/gdbserver/event-loop.c
+++ b/gdbserver/event-loop.cc
diff --git a/gdbserver/fork-child.c b/gdbserver/fork-child.cc
index 7a71ec0b1ca..7a71ec0b1ca 100644
--- a/gdbserver/fork-child.c
+++ b/gdbserver/fork-child.cc
diff --git a/gdbserver/gdbreplay.c b/gdbserver/gdbreplay.cc
index 263fb0efeac..263fb0efeac 100644
--- a/gdbserver/gdbreplay.c
+++ b/gdbserver/gdbreplay.cc
diff --git a/gdbserver/hostio-errno.c b/gdbserver/hostio-errno.cc
index b75e64d212e..b75e64d212e 100644
--- a/gdbserver/hostio-errno.c
+++ b/gdbserver/hostio-errno.cc
diff --git a/gdbserver/hostio.c b/gdbserver/hostio.cc
index 8af4fbf4087..8af4fbf4087 100644
--- a/gdbserver/hostio.c
+++ b/gdbserver/hostio.cc
diff --git a/gdbserver/i387-fp.c b/gdbserver/i387-fp.cc
index ef7b51303f4..ef7b51303f4 100644
--- a/gdbserver/i387-fp.c
+++ b/gdbserver/i387-fp.cc
diff --git a/gdbserver/inferiors.c b/gdbserver/inferiors.cc
index 88adb16eac2..88adb16eac2 100644
--- a/gdbserver/inferiors.c
+++ b/gdbserver/inferiors.cc
diff --git a/gdbserver/linux-aarch32-low.c b/gdbserver/linux-aarch32-low.cc
index c6a70249d3b..c6a70249d3b 100644
--- a/gdbserver/linux-aarch32-low.c
+++ b/gdbserver/linux-aarch32-low.cc
diff --git a/gdbserver/linux-aarch32-tdesc.c b/gdbserver/linux-aarch32-tdesc.cc
index b0dffe27e71..b0dffe27e71 100644
--- a/gdbserver/linux-aarch32-tdesc.c
+++ b/gdbserver/linux-aarch32-tdesc.cc
diff --git a/gdbserver/linux-aarch64-ipa.c b/gdbserver/linux-aarch64-ipa.cc
index 694dfd77dfa..694dfd77dfa 100644
--- a/gdbserver/linux-aarch64-ipa.c
+++ b/gdbserver/linux-aarch64-ipa.cc
diff --git a/gdbserver/linux-aarch64-low.c b/gdbserver/linux-aarch64-low.cc
index 961fd5b3cc4..961fd5b3cc4 100644
--- a/gdbserver/linux-aarch64-low.c
+++ b/gdbserver/linux-aarch64-low.cc
diff --git a/gdbserver/linux-aarch64-tdesc.c b/gdbserver/linux-aarch64-tdesc.cc
index 897fbb43bd2..897fbb43bd2 100644
--- a/gdbserver/linux-aarch64-tdesc.c
+++ b/gdbserver/linux-aarch64-tdesc.cc
diff --git a/gdbserver/linux-amd64-ipa.c b/gdbserver/linux-amd64-ipa.cc
index 53d98f26121..53d98f26121 100644
--- a/gdbserver/linux-amd64-ipa.c
+++ b/gdbserver/linux-amd64-ipa.cc
diff --git a/gdbserver/linux-arm-low.c b/gdbserver/linux-arm-low.cc
index 9f046c098bf..9f046c098bf 100644
--- a/gdbserver/linux-arm-low.c
+++ b/gdbserver/linux-arm-low.cc
diff --git a/gdbserver/linux-arm-tdesc.c b/gdbserver/linux-arm-tdesc.cc
index 2c9fac83cd5..2c9fac83cd5 100644
--- a/gdbserver/linux-arm-tdesc.c
+++ b/gdbserver/linux-arm-tdesc.cc
diff --git a/gdbserver/linux-bfin-low.c b/gdbserver/linux-bfin-low.cc
index 5bfc8868bd9..5bfc8868bd9 100644
--- a/gdbserver/linux-bfin-low.c
+++ b/gdbserver/linux-bfin-low.cc
diff --git a/gdbserver/linux-cris-low.c b/gdbserver/linux-cris-low.cc
index 8ea5af92e31..8ea5af92e31 100644
--- a/gdbserver/linux-cris-low.c
+++ b/gdbserver/linux-cris-low.cc
diff --git a/gdbserver/linux-crisv32-low.c b/gdbserver/linux-crisv32-low.cc
index facb5c5c274..facb5c5c274 100644
--- a/gdbserver/linux-crisv32-low.c
+++ b/gdbserver/linux-crisv32-low.cc
diff --git a/gdbserver/linux-i386-ipa.c b/gdbserver/linux-i386-ipa.cc
index 41f77c8deac..41f77c8deac 100644
--- a/gdbserver/linux-i386-ipa.c
+++ b/gdbserver/linux-i386-ipa.cc
diff --git a/gdbserver/linux-ia64-low.c b/gdbserver/linux-ia64-low.cc
index 2399e58b366..2399e58b366 100644
--- a/gdbserver/linux-ia64-low.c
+++ b/gdbserver/linux-ia64-low.cc
diff --git a/gdbserver/linux-low.c b/gdbserver/linux-low.cc
index 676dea26c63..676dea26c63 100644
--- a/gdbserver/linux-low.c
+++ b/gdbserver/linux-low.cc
diff --git a/gdbserver/linux-m32r-low.c b/gdbserver/linux-m32r-low.cc
index c52e816e341..c52e816e341 100644
--- a/gdbserver/linux-m32r-low.c
+++ b/gdbserver/linux-m32r-low.cc
diff --git a/gdbserver/linux-m68k-low.c b/gdbserver/linux-m68k-low.cc
index 246b295a875..246b295a875 100644
--- a/gdbserver/linux-m68k-low.c
+++ b/gdbserver/linux-m68k-low.cc
diff --git a/gdbserver/linux-mips-low.c b/gdbserver/linux-mips-low.cc
index f94e141be79..f94e141be79 100644
--- a/gdbserver/linux-mips-low.c
+++ b/gdbserver/linux-mips-low.cc
diff --git a/gdbserver/linux-nios2-low.c b/gdbserver/linux-nios2-low.cc
index bfc5aee165d..bfc5aee165d 100644
--- a/gdbserver/linux-nios2-low.c
+++ b/gdbserver/linux-nios2-low.cc
diff --git a/gdbserver/linux-ppc-ipa.c b/gdbserver/linux-ppc-ipa.cc
index 42d668f7d37..42d668f7d37 100644
--- a/gdbserver/linux-ppc-ipa.c
+++ b/gdbserver/linux-ppc-ipa.cc
diff --git a/gdbserver/linux-ppc-low.c b/gdbserver/linux-ppc-low.cc
index 5d8d67bec2f..5d8d67bec2f 100644
--- a/gdbserver/linux-ppc-low.c
+++ b/gdbserver/linux-ppc-low.cc
diff --git a/gdbserver/linux-s390-ipa.c b/gdbserver/linux-s390-ipa.cc
index 5b90302b1eb..5b90302b1eb 100644
--- a/gdbserver/linux-s390-ipa.c
+++ b/gdbserver/linux-s390-ipa.cc
diff --git a/gdbserver/linux-s390-low.c b/gdbserver/linux-s390-low.cc
index f3d6f093099..f3d6f093099 100644
--- a/gdbserver/linux-s390-low.c
+++ b/gdbserver/linux-s390-low.cc
diff --git a/gdbserver/linux-sh-low.c b/gdbserver/linux-sh-low.cc
index abe71ff4766..abe71ff4766 100644
--- a/gdbserver/linux-sh-low.c
+++ b/gdbserver/linux-sh-low.cc
diff --git a/gdbserver/linux-sparc-low.c b/gdbserver/linux-sparc-low.cc
index cfa76c0b8e6..cfa76c0b8e6 100644
--- a/gdbserver/linux-sparc-low.c
+++ b/gdbserver/linux-sparc-low.cc
diff --git a/gdbserver/linux-tic6x-low.c b/gdbserver/linux-tic6x-low.cc
index 51a31c7876a..51a31c7876a 100644
--- a/gdbserver/linux-tic6x-low.c
+++ b/gdbserver/linux-tic6x-low.cc
diff --git a/gdbserver/linux-tile-low.c b/gdbserver/linux-tile-low.cc
index cd85e945a46..cd85e945a46 100644
--- a/gdbserver/linux-tile-low.c
+++ b/gdbserver/linux-tile-low.cc
diff --git a/gdbserver/linux-x86-low.c b/gdbserver/linux-x86-low.cc
index 09ec22ff678..09ec22ff678 100644
--- a/gdbserver/linux-x86-low.c
+++ b/gdbserver/linux-x86-low.cc
diff --git a/gdbserver/linux-x86-tdesc.c b/gdbserver/linux-x86-tdesc.cc
index 96097eecc5e..96097eecc5e 100644
--- a/gdbserver/linux-x86-tdesc.c
+++ b/gdbserver/linux-x86-tdesc.cc
diff --git a/gdbserver/linux-xtensa-low.c b/gdbserver/linux-xtensa-low.cc
index 83af11e11dc..83af11e11dc 100644
--- a/gdbserver/linux-xtensa-low.c
+++ b/gdbserver/linux-xtensa-low.cc
diff --git a/gdbserver/lynx-i386-low.c b/gdbserver/lynx-i386-low.cc
index d00e1a16771..d00e1a16771 100644
--- a/gdbserver/lynx-i386-low.c
+++ b/gdbserver/lynx-i386-low.cc
diff --git a/gdbserver/lynx-low.c b/gdbserver/lynx-low.cc
index a5b019396fa..a5b019396fa 100644
--- a/gdbserver/lynx-low.c
+++ b/gdbserver/lynx-low.cc
diff --git a/gdbserver/lynx-ppc-low.c b/gdbserver/lynx-ppc-low.cc
index f93fc1d8d87..f93fc1d8d87 100644
--- a/gdbserver/lynx-ppc-low.c
+++ b/gdbserver/lynx-ppc-low.cc
diff --git a/gdbserver/mem-break.c b/gdbserver/mem-break.cc
index 1b6f2365814..1b6f2365814 100644
--- a/gdbserver/mem-break.c
+++ b/gdbserver/mem-break.cc
diff --git a/gdbserver/notif.c b/gdbserver/notif.cc
index e18cecde53b..e18cecde53b 100644
--- a/gdbserver/notif.c
+++ b/gdbserver/notif.cc
diff --git a/gdbserver/nto-low.c b/gdbserver/nto-low.cc
index b4dea479b9c..b4dea479b9c 100644
--- a/gdbserver/nto-low.c
+++ b/gdbserver/nto-low.cc
diff --git a/gdbserver/nto-x86-low.c b/gdbserver/nto-x86-low.cc
index efee9573622..efee9573622 100644
--- a/gdbserver/nto-x86-low.c
+++ b/gdbserver/nto-x86-low.cc
diff --git a/gdbserver/proc-service.c b/gdbserver/proc-service.cc
index 9c8885ea912..9c8885ea912 100644
--- a/gdbserver/proc-service.c
+++ b/gdbserver/proc-service.cc
diff --git a/gdbserver/regcache.c b/gdbserver/regcache.cc
index f63463344af..f63463344af 100644
--- a/gdbserver/regcache.c
+++ b/gdbserver/regcache.cc
diff --git a/gdbserver/remote-utils.c b/gdbserver/remote-utils.cc
index b8a8c6576f9..b8a8c6576f9 100644
--- a/gdbserver/remote-utils.c
+++ b/gdbserver/remote-utils.cc
diff --git a/gdbserver/server.c b/gdbserver/server.cc
index 3fc026f78eb..3fc026f78eb 100644
--- a/gdbserver/server.c
+++ b/gdbserver/server.cc
diff --git a/gdbserver/symbol.c b/gdbserver/symbol.cc
index 467524f0faf..467524f0faf 100644
--- a/gdbserver/symbol.c
+++ b/gdbserver/symbol.cc
diff --git a/gdbserver/target.c b/gdbserver/target.cc
index a4593cf6df9..a4593cf6df9 100644
--- a/gdbserver/target.c
+++ b/gdbserver/target.cc
diff --git a/gdbserver/tdesc.c b/gdbserver/tdesc.cc
index de25e7cfb46..de25e7cfb46 100644
--- a/gdbserver/tdesc.c
+++ b/gdbserver/tdesc.cc
diff --git a/gdbserver/thread-db.c b/gdbserver/thread-db.cc
index 2bb6d28820e..2bb6d28820e 100644
--- a/gdbserver/thread-db.c
+++ b/gdbserver/thread-db.cc
diff --git a/gdbserver/tracepoint.c b/gdbserver/tracepoint.cc
index bbca48b2efd..bbca48b2efd 100644
--- a/gdbserver/tracepoint.c
+++ b/gdbserver/tracepoint.cc
diff --git a/gdbserver/utils.c b/gdbserver/utils.cc
index d88f4ac5ca7..d88f4ac5ca7 100644
--- a/gdbserver/utils.c
+++ b/gdbserver/utils.cc
diff --git a/gdbserver/win32-arm-low.c b/gdbserver/win32-arm-low.cc
index 619847d10fc..619847d10fc 100644
--- a/gdbserver/win32-arm-low.c
+++ b/gdbserver/win32-arm-low.cc
diff --git a/gdbserver/win32-i386-low.c b/gdbserver/win32-i386-low.cc
index f5f09e96a57..f5f09e96a57 100644
--- a/gdbserver/win32-i386-low.c
+++ b/gdbserver/win32-i386-low.cc
diff --git a/gdbserver/win32-low.c b/gdbserver/win32-low.cc
index 557c90d97c6..557c90d97c6 100644
--- a/gdbserver/win32-low.c
+++ b/gdbserver/win32-low.cc
diff --git a/gdbserver/wincecompat.c b/gdbserver/wincecompat.cc
index 46eece17e55..46eece17e55 100644
--- a/gdbserver/wincecompat.c
+++ b/gdbserver/wincecompat.cc
diff --git a/gdbserver/x86-low.c b/gdbserver/x86-low.cc
index 611e60b0137..611e60b0137 100644
--- a/gdbserver/x86-low.c
+++ b/gdbserver/x86-low.cc
diff --git a/gdbserver/xtensa-xtregs.c b/gdbserver/xtensa-xtregs.cc
index bd14679ff80..bd14679ff80 100644
--- a/gdbserver/xtensa-xtregs.c
+++ b/gdbserver/xtensa-xtregs.cc