aboutsummaryrefslogtreecommitdiff
path: root/gdb/solist.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-07-16 20:43:48 +0000
committerDoug Evans <dje@google.com>2013-07-16 20:43:48 +0000
commit2c57100624571d93ebc965bed32b7d517a382e02 (patch)
tree7a4f6df0eca44e7fc7c6f49a313b4fb7a2812390 /gdb/solist.h
parent2b2848e211ef08d32b8427839b95b472d8fde337 (diff)
downloadfsf-binutils-gdb-2c57100624571d93ebc965bed32b7d517a382e02.zip
fsf-binutils-gdb-2c57100624571d93ebc965bed32b7d517a382e02.tar.gz
fsf-binutils-gdb-2c57100624571d93ebc965bed32b7d517a382e02.tar.bz2
* 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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/solist.h b/gdb/solist.h
index 244484a..a78e3ea 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);