Commit Message
This comment seems outdated, since exiting an inferior does not remove
it.
gdb/ChangeLog:
* inferior.c (exit_inferior_1): Remove comment.
---
gdb/inferior.c | 2 --
1 file changed, 2 deletions(-)
Comments
On 08/16/2016 03:44 PM, Simon Marchi wrote:
> This comment seems outdated, since exiting an inferior does not remove
> it.
Right. And that observer used to take an int pid argument instead of
the inferior pointer directly.
>
> gdb/ChangeLog:
>
> * inferior.c (exit_inferior_1): Remove comment.
OK.
Thanks,
Pedro Alves
On 16-08-17 09:57 AM, Pedro Alves wrote:
> On 08/16/2016 03:44 PM, Simon Marchi wrote:
>> This comment seems outdated, since exiting an inferior does not remove
>> it.
>
> Right. And that observer used to take an int pid argument instead of
> the inferior pointer directly.
>
>>
>> gdb/ChangeLog:
>>
>> * inferior.c (exit_inferior_1): Remove comment.
>
> OK.
Thanks, pushed!
@@ -250,8 +250,6 @@ exit_inferior_1 (struct inferior *inftoex, int silent)
iterate_over_threads (delete_thread_of_inferior, &arg);
- /* Notify the observers before removing the inferior from the list,
- so that the observers have a chance to look it up. */
observer_notify_inferior_exit (inf);
inf->pid = 0;