projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git]
/
gdb
/
test-target.h
diff --git
a/gdb/test-target.h
b/gdb/test-target.h
index b3170f82656ef7cb85ce158c249b9ed29fcbd380..770f79c5436c7184b990ceb5e1e506901eb00c81 100644
(file)
--- a/
gdb/test-target.h
+++ b/
gdb/test-target.h
@@
-1,6
+1,6
@@
/* A mock process_stratum target_ops
/* A mock process_stratum target_ops
- Copyright (C) 2017-20
18
Free Software Foundation, Inc.
+ Copyright (C) 2017-20
20
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-20,7
+20,7
@@
#ifndef TEST_TARGET_H
#define TEST_TARGET_H
#ifndef TEST_TARGET_H
#define TEST_TARGET_H
-#include "target.h"
+#include "
process-stratum-
target.h"
#if GDB_SELF_TEST
namespace selftests {
#if GDB_SELF_TEST
namespace selftests {
@@
-28,14
+28,10
@@
namespace selftests {
/* A mock process_stratum target_ops that doesn't read/write registers
anywhere. */
/* A mock process_stratum target_ops that doesn't read/write registers
anywhere. */
-class test_target_ops : public
target_ops
+class test_target_ops : public
process_stratum_target
{
public:
{
public:
- test_target_ops ()
- : target_ops {}
- {
- to_stratum = process_stratum;
- }
+ test_target_ops () = default;
const target_info &info () const override;
const target_info &info () const override;
This page took
0.037634 seconds
and
4
git commands to generate.