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 | 2c57100624571d93ebc965bed32b7d517a382e02 (patch) | |
tree | 7a4f6df0eca44e7fc7c6f49a313b4fb7a2812390 /gdb/nto-tdep.c | |
parent | 2b2848e211ef08d32b8427839b95b472d8fde337 (diff) | |
download | gdb-2c57100624571d93ebc965bed32b7d517a382e02.zip gdb-2c57100624571d93ebc965bed32b7d517a382e02.tar.gz 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/nto-tdep.c')
-rw-r--r-- | gdb/nto-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index b1a431c..3ed48a9 100644 --- a/gdb/nto-tdep.c +++ b/gdb/nto-tdep.c @@ -138,7 +138,7 @@ nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname) if (ret >= 0) *temp_pathname = gdb_realpath (arch_path); else - **temp_pathname = '\0'; + *temp_pathname = NULL; } } return ret; |