Unify new_symbol and new_symbol_full
authorTom Tromey <tom@tromey.com>
Sat, 6 Jan 2018 00:26:16 +0000 (17:26 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jan 2018 18:28:44 +0000 (11:28 -0700)
commit5e2db402c8e665b0c6ac81047a10cbf4e26329f2
treef68bcd77b41dbdb2ec5ebb7f581fd799a89632ad
parentee7f689e15a2357eccbf8109459864333af56521
Unify new_symbol and new_symbol_full

This patch unifies new_symbol with new_symbol_full, replacing a
wrapper function with a default parameter.

2018-01-17  Tom Tromey  <tom@tromey.com>

* dwarf2read.c (dwarf2_compute_name): Update comment.
(read_func_scope, read_variable): Update.
(new_symbol): Remove.
(new_symbol_full): Rename to new_symbol.
gdb/ChangeLog
gdb/dwarf2read.c