diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2019-07-02 10:30:46 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2019-07-02 10:31:00 -0400 |
commit | 854f60884cc35806dab1c0f9e7711c45cefaf7fc (patch) | |
tree | e56d33b4b98fca948d29f9f3fd9d9eb7c03c2483 /gdb/symfile.c | |
parent | 125f83f66c10c89530d011f4f81324b1f43afcda (diff) | |
download | gdb-854f60884cc35806dab1c0f9e7711c45cefaf7fc.zip gdb-854f60884cc35806dab1c0f9e7711c45cefaf7fc.tar.gz gdb-854f60884cc35806dab1c0f9e7711c45cefaf7fc.tar.bz2 |
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.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 6f9c81c..59647bf 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -2023,6 +2023,8 @@ static void print_transfer_performance (struct ui_file *stream, unsigned long write_count, std::chrono::steady_clock::duration d); +/* See symfile.h. */ + void generic_load (const char *args, int from_tty) { |