/* Unit tests for the rsp-low.c file.
- Copyright (C) 2017-2019 Free Software Foundation, Inc.
+ Copyright (C) 2017-2020 Free Software Foundation, Inc.
This file is part of GDB.
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "common/selftest.h"
-#include "common/rsp-low.h"
+#include "gdbsupport/selftest.h"
+#include "gdbsupport/rsp-low.h"
namespace selftests {
namespace rsp_low {
bv = hex2bin ("");
SELF_CHECK (bv.size () == 0);
- /* Test a well-formated hex string. */
+ /* Test a well-formatted hex string. */
bv = hex2bin ("abcd01");
SELF_CHECK (bv.size () == 3);
SELF_CHECK (bv[0] == 0xab);
} /* namespace rsp_low */
} /* namespace selftests */
+void _initialize_rsp_low_selftests ();
void
_initialize_rsp_low_selftests ()
{