ld signed overflow fix
[deliverable/binutils-gdb.git] / gdb / process-stratum-target.h
index 74640aa1ed5f90a7bfcb1251a9898a5eeb2d3de0..2e620f82e8a31734cc0ed2985d8f242235158499 100644 (file)
@@ -1,6 +1,6 @@
 /* Abstract base class inherited by all process_stratum targets
 
-   Copyright (C) 2018 Free Software Foundation, Inc.
+   Copyright (C) 2018-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 class process_stratum_target : public target_ops
 {
 public:
-  process_stratum_target ()
-  {
-    to_stratum = process_stratum;
-  }
-
   ~process_stratum_target () override = 0;
 
+  strata stratum () const final override { return process_stratum; }
+
   /* We must default these because they must be implemented by any
      target that can run.  */
   bool can_async_p () override { return false; }
This page took 0.024311 seconds and 4 git commands to generate.