mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
gdb: fix build failure in amd-dbgapi-target.c
Since b080fe54fb
"gdb: add inferior-specific breakpoints", the
breakpoint class has an "inferior" member used to handle
inferior-specific breakpoints. This creates a compilation error
in amd_dbgapi_target_breakpoint::check_status which declares a local
variable "inferior *inf".
Fix this by using "struct inferior *inf" instead.
Change-Id: Icc4dc1ba96c7d3ff9d33f9cb384ffcf64eba26fb
Approved-By: Pedro Alves <pedro@palves.net>
This commit is contained in:
parent
2c9d78274a
commit
c99853f48c
@ -398,7 +398,7 @@ amd_dbgapi_target_breakpoint::re_set ()
|
||||
void
|
||||
amd_dbgapi_target_breakpoint::check_status (struct bpstat *bs)
|
||||
{
|
||||
inferior *inf = current_inferior ();
|
||||
struct inferior *inf = current_inferior ();
|
||||
amd_dbgapi_inferior_info *info = get_amd_dbgapi_inferior_info (inf);
|
||||
amd_dbgapi_status_t status;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user