public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@palves.net>
To: Lancelot Six <lancelot.six@amd.com>, gdb-patches@sourceware.org
Cc: lsix@lancelotsix.com
Subject: Re: [PATCH] gdb: fix build failure in amd-dbgapi-target.c
Date: Wed, 23 Aug 2023 16:23:12 +0100	[thread overview]
Message-ID: <4037ca5e-4fd4-a01a-7dd4-d5cb941b2b8b@palves.net> (raw)
In-Reply-To: <20230823145902.297879-1-lancelot.six@amd.com>

On 23/08/23 15:59, Lancelot Six via Gdb-patches wrote:
> Since b080fe54fb3 "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>

Thanks,
Pedro Alves


  reply	other threads:[~2023-08-23 15:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-23 14:59 Lancelot Six
2023-08-23 15:23 ` Pedro Alves [this message]
2023-08-23 15:45   ` Six, Lancelot
2023-08-23 17:42 ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4037ca5e-4fd4-a01a-7dd4-d5cb941b2b8b@palves.net \
    --to=pedro@palves.net \
    --cc=gdb-patches@sourceware.org \
    --cc=lancelot.six@amd.com \
    --cc=lsix@lancelotsix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).