aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbsupport/gdb-dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbsupport/gdb-dlfcn.h')
-rw-r--r--gdb/gdbsupport/gdb-dlfcn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbsupport/gdb-dlfcn.h b/gdb/gdbsupport/gdb-dlfcn.h
index 6a39d38..e933b7a 100644
--- a/gdb/gdbsupport/gdb-dlfcn.h
+++ b/gdb/gdbsupport/gdb-dlfcn.h
@@ -32,8 +32,8 @@ struct dlclose_deleter
typedef std::unique_ptr<void, dlclose_deleter> gdb_dlhandle_up;
/* Load the dynamic library file named FILENAME, and return a handle
- for that dynamic library. Return NULL if the loading fails for any
- reason. */
+ for that dynamic library. Throw an error if the loading fails for
+ any reason. */
gdb_dlhandle_up gdb_dlopen (const char *filename);