diff options
Diffstat (limited to 'gdb/amd-dbgapi-target.h')
-rw-r--r-- | gdb/amd-dbgapi-target.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gdb/amd-dbgapi-target.h b/gdb/amd-dbgapi-target.h index f377fd0..fe3a50b 100644 --- a/gdb/amd-dbgapi-target.h +++ b/gdb/amd-dbgapi-target.h @@ -1,6 +1,6 @@ /* Target used to communicate with the AMD Debugger API. - Copyright (C) 2019-2024 Free Software Foundation, Inc. + Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef AMD_DBGAPI_TARGET_H -#define AMD_DBGAPI_TARGET_H 1 +#ifndef GDB_AMD_DBGAPI_TARGET_H +#define GDB_AMD_DBGAPI_TARGET_H #include "gdbsupport/observable.h" @@ -54,6 +54,11 @@ using is_amd_dbgapi_handle const gdb::observers::token & get_amd_dbgapi_target_inferior_created_observer_token (); +/* Get the token of amd-dbgapi's inferior_execd observer. */ + +const gdb::observers::token & + get_amd_dbgapi_target_inferior_execd_observer_token (); + /* Comparison operators for amd-dbgapi handle types. */ template <typename T, @@ -113,4 +118,4 @@ get_status_string (amd_dbgapi_status_t status) return ret; } -#endif /* AMD_DBGAPI_TARGET_H */ +#endif /* GDB_AMD_DBGAPI_TARGET_H */ |