[pushed] gdb: fix amd_dbgapi_target_breakpoint::re_set's signature
Checks
Commit Message
Following
commit 6cce025114ccd0f53cc552fde12b6329596c6c65
Date: Fri Mar 3 19:03:15 2023 +0000
gdb: only insert thread-specific breakpoints in the relevant inferior
... when building amd-dbgapi-target.c:
CXX amd-dbgapi-target.o
/home/smarchi/src/binutils-gdb/gdb/amd-dbgapi-target.c:486:8: error: ‘void amd_dbgapi_target_breakpoint::re_set()’ marked ‘override’, but does not override
486 | void re_set () override;
| ^~~~~~
Update the signature to match the base.
Change-Id: Ie8bd71a63284917180f3e67eead58bea74bb0692
---
gdb/amd-dbgapi-target.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
base-commit: a86253944d41bcea9a468c2b2857f891332b408d
@@ -483,12 +483,12 @@ struct amd_dbgapi_target_breakpoint : public code_breakpoint
disposition = disp_donttouch;
}
- void re_set () override;
+ void re_set (program_space *) override;
void check_status (struct bpstat *bs) override;
};
void
-amd_dbgapi_target_breakpoint::re_set ()
+amd_dbgapi_target_breakpoint::re_set (program_space *)
{
/* Nothing. */
}