summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/sym-file-loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/sym-file-loader.h')
-rw-r--r--gdb/testsuite/gdb.base/sym-file-loader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/sym-file-loader.h b/gdb/testsuite/gdb.base/sym-file-loader.h
index c6b1af3a584..7798a40f040 100644
--- a/gdb/testsuite/gdb.base/sym-file-loader.h
+++ b/gdb/testsuite/gdb.base/sym-file-loader.h
@@ -25,6 +25,10 @@ struct library;
struct library *load_shlib (const char *file);
+/* Unload a library. */
+
+void unload_shlib (struct library *lib);
+
/* Lookup the address of FUNC. */
int lookup_function (struct library *lib, const char *func, void **addr);