aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/configure.srv
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2021-04-12 20:23:54 +0100
committerPedro Alves <pedro@palves.net>2021-04-13 13:26:44 +0100
commit0256da25c04a5f797ccb210b2cb05a3fdb084495 (patch)
treed1d2022c34315bec94f050df771e369e6fef8b00 /gdbserver/configure.srv
parentd2f1139ef0c006f35210fac76cb034cfe8d57c2e (diff)
downloadbinutils-0256da25c04a5f797ccb210b2cb05a3fdb084495.zip
binutils-0256da25c04a5f797ccb210b2cb05a3fdb084495.tar.gz
binutils-0256da25c04a5f797ccb210b2cb05a3fdb084495.tar.bz2
Remove process_stratum_target::hostio_last_error abstraction
Now that the WinCE port is gone, all ports map host I/O errors from errno, so this abstraction is no longer necessary. Basically undoes: https://sourceware.org/pipermail/gdb-patches/2008-January/055511.html https://sourceware.org/pipermail/gdb-patches/attachments/20080131/f44e7012/attachment.bin gdbserver/ChangeLog: * Makefile.in (SFILES): Remove hostio-errno.cc. * configure: Regenerate. * configure.ac (GDBSERVER_DEPFILES): No longer add $srv_hostio_err_objs. * configure.srv (srv_hostio_err_objs): Delete. * hostio-errno.cc: Delete. * hostio.cc (hostio_error): Inline hostio_last_error_from_errno here. * hostio.h (hostio_last_error_from_errno): Delete. * target.cc (process_stratum_target::hostio_last_error): Delete. * target.h (class process_stratum_target) <hostio_last_error>: Delete.
Diffstat (limited to 'gdbserver/configure.srv')
-rw-r--r--gdbserver/configure.srv5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdbserver/configure.srv b/gdbserver/configure.srv
index 2dd8f75..971f537 100644
--- a/gdbserver/configure.srv
+++ b/gdbserver/configure.srv
@@ -8,8 +8,6 @@
# srv_regobj The register protocol appropriate for this target.
# srv_tgtobj Any other target-specific modules appropriate
# for this target.
-# srv_hostio_err The object implementing the hostio_last_error
-# target method.
# srv_xmlfiles All XML files which should be available for
# gdbserver in this configuration.
# ipa_obj Any other target-specific modules appropriate
@@ -24,9 +22,6 @@
# srv_linux_usrregs Set to "yes" if we can get at registers via
# PTRACE_PEEKUSR / PTRACE_POKEUSR.
-# Default hostio_last_error implementation
-srv_hostio_err_objs="hostio-errno.o"
-
ipa_ppc_linux_regobj="powerpc-32l-ipa.o powerpc-altivec32l-ipa.o powerpc-vsx32l-ipa.o powerpc-isa205-32l-ipa.o powerpc-isa205-altivec32l-ipa.o powerpc-isa205-vsx32l-ipa.o powerpc-isa205-ppr-dscr-vsx32l-ipa.o powerpc-isa207-vsx32l-ipa.o powerpc-isa207-htm-vsx32l-ipa.o powerpc-e500l-ipa.o powerpc-64l-ipa.o powerpc-altivec64l-ipa.o powerpc-vsx64l-ipa.o powerpc-isa205-64l-ipa.o powerpc-isa205-altivec64l-ipa.o powerpc-isa205-vsx64l-ipa.o powerpc-isa205-ppr-dscr-vsx64l-ipa.o powerpc-isa207-vsx64l-ipa.o powerpc-isa207-htm-vsx64l-ipa.o"
# Linux object files. This is so we don't have to repeat