diff options
author | Pedro Alves <pedro@palves.net> | 2021-04-12 20:23:54 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2021-04-13 13:26:44 +0100 |
commit | 0256da25c04a5f797ccb210b2cb05a3fdb084495 (patch) | |
tree | d1d2022c34315bec94f050df771e369e6fef8b00 /gdbserver/ChangeLog | |
parent | d2f1139ef0c006f35210fac76cb034cfe8d57c2e (diff) | |
download | binutils-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/ChangeLog')
-rw-r--r-- | gdbserver/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog index e558364..dfaaa60 100644 --- a/gdbserver/ChangeLog +++ b/gdbserver/ChangeLog @@ -1,3 +1,18 @@ +2021-04-13 Pedro Alves <pedro@palves.net> + + * 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. + 2021-04-12 Simon Marchi <simon.marchi@polymtl.ca> * win32-low.cc: Remove all code guarded by _WIN32_WCE. |