From: Pedro Alves <palves@redhat.com>
To: Tom Tromey <tom@tromey.com>, gdb-patches@sourceware.org
Subject: Re: [RFA] Remove exit_inferior_num_silent
Date: Tue, 03 Jul 2018 16:44:00 -0000 [thread overview]
Message-ID: <dfcfc680-690f-eb2c-d875-bab8a70b70ab@redhat.com> (raw)
In-Reply-To: <20180703155355.23180-1-tom@tromey.com>
On 07/03/2018 04:53 PM, Tom Tromey wrote:
> The sole caller of exit_inferior_num_silent was getting the inferior's
> number to then use the number to look up the inferior again. I think
> it's better to simply not have exit_inferior_num_silent; any potential
> callers that only have the inferior's number should probably be
> converted to pass the inferior itself around instead.
>
> Tested by the buildbot.
>
> gdb/ChangeLog
> 2018-07-03 Tom Tromey <tom@tromey.com>
>
> * infrun.c (follow_exec): Use exit_inferior_silent.
> * inferior.c (exit_inferior_num_silent): Remove.
> * inferior.h (exit_inferior_num_silent): Don't declare.
OK.
Thanks,
Pedro Alves
prev parent reply other threads:[~2018-07-03 16:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-03 15:54 Tom Tromey
2018-07-03 16:44 ` Pedro Alves [this message]
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=dfcfc680-690f-eb2c-d875-bab8a70b70ab@redhat.com \
--to=palves@redhat.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