diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-09-15 09:28:50 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-09-15 09:31:09 +0000 |
commit | 929b910f62aa4737b8dd854f8972f8fb515daf2a (patch) | |
tree | 3c59077a62691b44c3d16f17fce1e60af42213e9 | |
parent | a86253944d41bcea9a468c2b2857f891332b408d (diff) | |
download | binutils-929b910f62aa4737b8dd854f8972f8fb515daf2a.zip binutils-929b910f62aa4737b8dd854f8972f8fb515daf2a.tar.gz binutils-929b910f62aa4737b8dd854f8972f8fb515daf2a.tar.bz2 |
gdb: fix amd_dbgapi_target_breakpoint::re_set's signature
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
-rw-r--r-- | gdb/amd-dbgapi-target.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/amd-dbgapi-target.c b/gdb/amd-dbgapi-target.c index e9c5a47..2bb79ac 100644 --- a/gdb/amd-dbgapi-target.c +++ b/gdb/amd-dbgapi-target.c @@ -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. */ } |