diff options
Diffstat (limited to 'gdbserver/target.cc')
-rw-r--r-- | gdbserver/target.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdbserver/target.cc b/gdbserver/target.cc index f578dbe..e09ee7d 100644 --- a/gdbserver/target.cc +++ b/gdbserver/target.cc @@ -21,6 +21,7 @@ #include "server.h" #include "tracepoint.h" #include "gdbsupport/byte-vector.h" +#include "hostio.h" process_stratum_target *the_target; @@ -506,3 +507,9 @@ process_target::get_tls_address (thread_info *thread, CORE_ADDR offset, { gdb_assert_not_reached ("target op get_tls_address not supported"); } + +void +process_target::hostio_last_error (char *buf) +{ + hostio_last_error_from_errno (buf); +} |