Move generic_load declaration to symfile.h
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 2 Jul 2019 14:30:46 +0000 (10:30 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 2 Jul 2019 14:31:00 +0000 (10:31 -0400)
commit854f60884cc35806dab1c0f9e7711c45cefaf7fc
treee56d33b4b98fca948d29f9f3fd9d9eb7c03c2483
parent125f83f66c10c89530d011f4f81324b1f43afcda
Move generic_load declaration to symfile.h

... since the implementation is in symfile.c.

At the same time, add some documentation and make sure the first
parameter's name in the declaration matches the definition.

gdb/ChangeLog:

* defs.h (generic_load): Move from here...
* symfile.h (generic_load): ... to here.  Rename name parameter
to args.
* symfile.c (generic_load): Add comment.
gdb/ChangeLog
gdb/defs.h
gdb/symfile.c
gdb/symfile.h