gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / sparc-nat.h
index b564c01fedee24688e9e15b4e3ba6d83ca014ccb..d07bd86d039776b99dc4105ee03eca1ca86ef294 100644 (file)
@@ -1,6 +1,6 @@
 /* Native-dependent code for SPARC.
 
-   Copyright (C) 2003-2018 Free Software Foundation, Inc.
+   Copyright (C) 2003-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -20,6 +20,8 @@
 #ifndef SPARC_NAT_H
 #define SPARC_NAT_H 1
 
+#include "target.h"
+
 struct sparc_gregmap;
 struct sparc_fpregmap;
 
@@ -73,8 +75,8 @@ struct sparc_target : public BaseTarget
       return sparc_xfer_wcookie (object, annex, readbuf, writebuf,
                                 offset, len, xfered_len);
 
-    return BaseTarget (object, annex, readbuf, writebuf,
-                      offset, len, xfered_len);
+    return BaseTarget::xfer_partial (object, annex, readbuf, writebuf,
+                                    offset, len, xfered_len);
   }
 };
 
This page took 0.026119 seconds and 4 git commands to generate.