diff options
author | Pedro Alves <palves@redhat.com> | 2017-04-13 16:15:34 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-04-13 16:18:16 +0100 |
commit | e3d60dfc000a29959c78bd69b85100aab33f7ab5 (patch) | |
tree | 2f1d08b084488b75554010f781585b578e5038bf /gdb/inferior.c | |
parent | 5fd69d0ab2c42d2be0781bf3a5d60e1d5b8d05dc (diff) | |
download | gdb-e3d60dfc000a29959c78bd69b85100aab33f7ab5.zip gdb-e3d60dfc000a29959c78bd69b85100aab33f7ab5.tar.gz gdb-e3d60dfc000a29959c78bd69b85100aab33f7ab5.tar.bz2 |
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.
Diffstat (limited to 'gdb/inferior.c')
-rw-r--r-- | gdb/inferior.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/inferior.c b/gdb/inferior.c index 4ae265e..54e9967 100644 --- a/gdb/inferior.c +++ b/gdb/inferior.c @@ -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) { |