This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] inferior.c (delete_inferior): Delete, unused.
- From: Pedro Alves <palves at redhat dot com>
- To: Doug Evans <xdje42 at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 03 Mar 2014 13:54:12 +0000
- Subject: Re: [PATCH] inferior.c (delete_inferior): Delete, unused.
- Authentication-results: sourceware.org; auth=none
- References: <m37g8cux8t dot fsf at sspiff dot org>
Hi Doug,
On 03/02/2014 09:05 PM, Doug Evans wrote:
> 2014-03-02 Doug Evans <xdje42@gmail.com>
>
> * inferior.c (delete_inferior): Delete, unused.
> * inferior.h (delete_inferior): Delete, unused.
Looks OK, with ...
> --- a/gdb/inferior.h
> +++ b/gdb/inferior.h
> @@ -533,9 +533,6 @@ extern struct inferior *add_inferior (int pid);
> the CLI. */
> extern struct inferior *add_inferior_silent (int pid);
>
> -/* Delete an existing inferior list entry, due to inferior exit. */
> -extern void delete_inferior (int pid);
> -
> extern void delete_inferior_1 (struct inferior *todel, int silent);
>
> /* Same as delete_inferior, but don't print new inferior notifications
^^^^^^^^^^^^^^^^^^^^^^^
... this comment updated too.
--
Pedro Alves