X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Finf-child.h;h=21162cb5b2cfc3c7c5fe56d7da0c2a2f802b4126;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=6316f3062da106d9257b23319509770cb821e2fa;hpb=d9f719f1adb653ab40a55e4c1b8c300215b400ff;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/inf-child.h b/gdb/inf-child.h index 6316f3062d..21162cb5b2 100644 --- a/gdb/inf-child.h +++ b/gdb/inf-child.h @@ -1,6 +1,6 @@ /* Base/prototype target for default child (native) targets. - Copyright (C) 2004-2018 Free Software Foundation, Inc. + Copyright (C) 2004-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -21,15 +21,16 @@ #define INF_CHILD_H #include "target.h" +#include "process-stratum-target.h" /* A prototype child target. The client can override it with local methods. */ class inf_child_target - : public memory_breakpoint_target + : public memory_breakpoint_target { public: - inf_child_target (); + inf_child_target () = default; ~inf_child_target () override = 0; const target_info &info () const override; @@ -46,6 +47,7 @@ public: bool supports_terminal_ours () override; void terminal_init () override; void terminal_inferior () override; + void terminal_save_inferior () override; void terminal_ours_for_output () override; void terminal_ours () override; void terminal_info (const char *, int) override; @@ -68,20 +70,8 @@ public: void post_attach (int) override; - /* We must default these because they must be implemented by any - target that can run. */ - bool can_async_p () override { return false; } - bool supports_non_stop () override { return false; } - bool supports_disable_randomization () override { return false; } - char *pid_to_exec_file (int pid) override; - bool has_all_memory () override; - bool has_memory () override; - bool has_stack () override; - bool has_registers () override; - bool has_execution (ptid_t) override; - int fileio_open (struct inferior *inf, const char *filename, int flags, int mode, int warn_if_slow, int *target_errno) override;