diff options
author | Doug Evans <dje@google.com> | 2013-07-16 20:43:48 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-07-16 20:43:48 +0000 |
commit | 2736ba401cd3ebf7773192265a38c9117c1d1c2e (patch) | |
tree | ee6ff7c69676e9a3da0b31d2206bd584257b9a6a /gdb/solist.h | |
parent | ec97e80c6c4452368230e63d09f05ac98cf7d19d (diff) | |
download | gdb-2736ba401cd3ebf7773192265a38c9117c1d1c2e.tar.gz |
* solist.h (target_so_ops.find_and_open_solib): Clarify usage of
temp_pathname argument.
* nto-tdep.c (nto_find_and_open_solib): Fix setting of temp_pathname
when opening the file fails.
Diffstat (limited to 'gdb/solist.h')
-rw-r--r-- | gdb/solist.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/solist.h b/gdb/solist.h index 244484a6dcd..a78e3ea5f87 100644 --- a/gdb/solist.h +++ b/gdb/solist.h @@ -129,8 +129,10 @@ struct target_so_ops /* Find and open shared library binary file. */ bfd *(*bfd_open) (char *pathname); - /* Extra hook for finding and opening a solib. - Convenience function for remote debuggers finding host libs. */ + /* Optional extra hook for finding and opening a solib. + If TEMP_PATHNAME is non-NULL: If the file is successfully opened a + pointer to a malloc'd and realpath'd copy of SONAME is stored there, + otherwise NULL is stored there. */ int (*find_and_open_solib) (char *soname, unsigned o_flags, char **temp_pathname); |