This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] inferior.c (delete_inferior): Delete, unused.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]