aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2019-07-02 10:30:46 -0400
committerSimon Marchi <simon.marchi@efficios.com>2019-07-02 10:31:00 -0400
commit854f60884cc35806dab1c0f9e7711c45cefaf7fc (patch)
treee56d33b4b98fca948d29f9f3fd9d9eb7c03c2483 /gdb/defs.h
parent125f83f66c10c89530d011f4f81324b1f43afcda (diff)
downloadfsf-binutils-gdb-854f60884cc35806dab1c0f9e7711c45cefaf7fc.zip
fsf-binutils-gdb-854f60884cc35806dab1c0f9e7711c45cefaf7fc.tar.gz
fsf-binutils-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/defs.h')
-rw-r--r--gdb/defs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 3d878c8..81ab74c 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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);