gdb: re-write add_psymbol_to_list doc, move it to header file
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 30 Sep 2019 15:49:25 +0000 (11:49 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 30 Sep 2019 15:49:57 +0000 (11:49 -0400)
commit703a86c2fa74e6c998ed24a8823658119f176b2d
tree7fc9d2839ea1f065fe04c7dafde70fc8f386ef9b
parent663f67df1e8a7ac0ab8c8c577817067ca32ea4be
gdb: re-write add_psymbol_to_list doc, move it to header file

The comment above the add_psymbol_to_list function seems outdated and
misleading, here's an attempt at improving it.

gdb/ChangeLog:

* psymtab.c (add_psymbol_to_list): Move comment to psympriv.h.
* psympriv.h (add_psymbol_to_list): Move comment here and update
it.
gdb/ChangeLog
gdb/psympriv.h
gdb/psymtab.c