diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-08-28 13:07:12 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-08-28 13:07:12 +0000 |
commit | c8a2a4193498b0aa0fb28a3a0a7dec9c1fd2cc5e (patch) | |
tree | bc8b927df59e82114a57c23fc1572ed8a2350ad0 /gdb/nto-tdep.c | |
parent | ffa4ac956c9389aee7e46708492f61fdd69cd845 (diff) | |
download | gdb-c8a2a4193498b0aa0fb28a3a0a7dec9c1fd2cc5e.zip gdb-c8a2a4193498b0aa0fb28a3a0a7dec9c1fd2cc5e.tar.gz gdb-c8a2a4193498b0aa0fb28a3a0a7dec9c1fd2cc5e.tar.bz2 |
gdb/
Code cleanup.
* nto-tdep.c (nto_find_and_open_solib): Use OPF_TRY_CWD_FIRST.
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 fa31f14..69ab5ad 100644 --- a/gdb/nto-tdep.c +++ b/gdb/nto-tdep.c @@ -128,7 +128,7 @@ nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname) arch_path); base = lbasename (solib); - ret = openp (buf, 1, base, o_flags, temp_pathname); + ret = openp (buf, OPF_TRY_CWD_FIRST, base, o_flags, temp_pathname); if (ret < 0 && base != solib) { xsnprintf (arch_path, arch_len, "/%s", solib); |