xref: /netbsd-src/external/gpl3/gdb.old/dist/gdb/test-target.c (revision 6881a4007f077b54e5f51159c52b9b25f57deb0d)
17f2ac410Schristos /* A mock process_stratum target_ops
27f2ac410Schristos 
3*6881a400Schristos    Copyright (C) 2017-2023 Free Software Foundation, Inc.
47f2ac410Schristos 
57f2ac410Schristos    This file is part of GDB.
67f2ac410Schristos 
77f2ac410Schristos    This program is free software; you can redistribute it and/or modify
87f2ac410Schristos    it under the terms of the GNU General Public License as published by
97f2ac410Schristos    the Free Software Foundation; either version 3 of the License, or
107f2ac410Schristos    (at your option) any later version.
117f2ac410Schristos 
127f2ac410Schristos    This program is distributed in the hope that it will be useful,
137f2ac410Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
147f2ac410Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
157f2ac410Schristos    GNU General Public License for more details.
167f2ac410Schristos 
177f2ac410Schristos    You should have received a copy of the GNU General Public License
187f2ac410Schristos    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
197f2ac410Schristos 
207f2ac410Schristos #include "defs.h"
217f2ac410Schristos #include "test-target.h"
227f2ac410Schristos 
237f2ac410Schristos #if GDB_SELF_TEST
247f2ac410Schristos namespace selftests {
257f2ac410Schristos 
267f2ac410Schristos static const target_info test_target_info = {
277f2ac410Schristos   "test",
287f2ac410Schristos   N_("unit tests target"),
297f2ac410Schristos   N_("You should never see this"),
307f2ac410Schristos };
317f2ac410Schristos 
327f2ac410Schristos const target_info &
337f2ac410Schristos test_target_ops::info () const
347f2ac410Schristos {
357f2ac410Schristos   return test_target_info;
367f2ac410Schristos }
377f2ac410Schristos 
387f2ac410Schristos } /* namespace selftests */
397f2ac410Schristos #endif /* GDB_SELF_TEST */
40