Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Aaron Merey <amerey@redhat.com>
To: Christian Biesinger <cbiesinger@google.com>
Cc: Tom Tromey <tom@tromey.com>, gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH 1/1] Add debuginfod support to GDB
Date: Fri, 10 Jan 2020 16:32:00 -0000	[thread overview]
Message-ID: <CAJDtP-T5OVsaz+RpuwPs3vs+0MUQPwOrMVTGDyMA0bSiGh0--Q@mail.gmail.com> (raw)
In-Reply-To: <CAPTJ0XHYb_WL_Tb479sbqN1Vz0VAGLbPA44hP855t=4h5c9nfw@mail.gmail.com>

On Thu, Jan 9, 2020 at 6:28 PM Christian Biesinger
<cbiesinger@google.com> wrote:
> On Thu, Jan 9, 2020 at 4:41 PM Aaron Merey <amerey@redhat.com> wrote:
> > The reason for the top-level AC_DEBUGINFOD is to prevent the top-level
> > configure check from succeeding in cases where --with-debuginfod is
> > given but the debuginfod library or header cannot be found.
>
> Why is debuginfo special in that way? There are a lot of other
> libraries in the same situation.

It was recommended to me on binutils@ that the top-level configure check
should fail if --with-debuginfod is given but not installed.

https://sourceware.org/ml/binutils/2019-11/msg00371.html

Despite that I can remove the top-level AC_DEBUGINFOD to match the
behavior of other configure options.

> Now that GDB is C++, I'd move the declarations to where the variables
> are used, e.g.:
>   debuginfod_client *client = debuginfod_begin ();
>
> +      if (client != NULL)
>
> nullptr
>
> +++ b/gdb/elfread.c
>
> same here

Ok.

> Don't you also need to update gdb/README (the `configure' options
> section) and doc/gdb.texinfo (@node Configure Options)?

gdb.texinfo was updated in this patch but not README, will fix that.

Aaron


  reply	other threads:[~2020-01-10 16:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-09  3:48 Aaron Merey
2020-01-09 13:48 ` Eli Zaretskii
     [not found] ` <87h814r6p4.fsf@tromey.com>
2020-01-09 22:41   ` Aaron Merey
2020-01-09 23:28     ` Christian Biesinger via gdb-patches
2020-01-10 16:32       ` Aaron Merey [this message]
     [not found]     ` <87tv53wfub.fsf@tromey.com>
2020-01-10 16:46       ` Aaron Merey
2020-01-10 18:43         ` 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=CAJDtP-T5OVsaz+RpuwPs3vs+0MUQPwOrMVTGDyMA0bSiGh0--Q@mail.gmail.com \
    --to=amerey@redhat.com \
    --cc=cbiesinger@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.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