mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
GC inferior.c:init_inferior_list
Not used anywhere. This was actually never used. It came in because I originally created inferior.c by copying thread.c, and doing s/thread/inferior/g, and missed that nothing needs this. :-) gdb/ChangeLog: 2017-04-13 Pedro Alves <palves@redhat.com> * inferior.c (init_inferior_list): Delete. * inferior.h (init_inferior_list): Delete.
This commit is contained in:
@ -105,24 +105,6 @@ free_inferior (struct inferior *inf)
|
||||
xfree (inf);
|
||||
}
|
||||
|
||||
void
|
||||
init_inferior_list (void)
|
||||
{
|
||||
struct inferior *inf, *infnext;
|
||||
|
||||
highest_inferior_num = 0;
|
||||
if (!inferior_list)
|
||||
return;
|
||||
|
||||
for (inf = inferior_list; inf; inf = infnext)
|
||||
{
|
||||
infnext = inf->next;
|
||||
free_inferior (inf);
|
||||
}
|
||||
|
||||
inferior_list = NULL;
|
||||
}
|
||||
|
||||
struct inferior *
|
||||
add_inferior_silent (int pid)
|
||||
{
|
||||
|
Reference in New Issue
Block a user