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/defs.h | |
parent | 125f83f66c10c89530d011f4f81324b1f43afcda (diff) | |
download | binutils-854f60884cc35806dab1c0f9e7711c45cefaf7fc.zip binutils-854f60884cc35806dab1c0f9e7711c45cefaf7fc.tar.gz binutils-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/defs.h')
-rw-r--r-- | gdb/defs.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -300,9 +300,6 @@ EXTERN_C char *re_comp (const char *); extern void symbol_file_command (const char *, int); -/* * Remote targets may wish to use this as their load function. */ -extern void generic_load (const char *name, int from_tty); - /* From top.c */ typedef void initialize_file_ftype (void); |