symtab.c: Small refactor
authorPedro Alves <palves@redhat.com>
Fri, 24 Feb 2017 17:42:51 +0000 (17:42 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 24 Feb 2017 17:42:51 +0000 (17:42 +0000)
commit34e4bae972e66c0bcbd382478bbcaffc9b45ac05
tree6c12ab607887e3e91c3ec960985b7464b10659e6
parentd0f744f970225f68460eb36a4975ae92a2e9495a
symtab.c: Small refactor

add_symtab_completions does the exact same as the code that it is
replacing.

gdb/ChangeLog:
2017-02-24  Pedro Alves  <palves@redhat.com>

* symtab.c (make_file_symbol_completion_list_1): Use
add_symtab_completions.
gdb/ChangeLog
gdb/symtab.c