summaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-08-28 13:07:11 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-08-28 13:07:11 +0000
commitaa8d949fea586df2ae849e36bbdf32aef7cbea35 (patch)
treeee85a34ae376df8cd822bf9042ec7543e1145682 /gdb/nto-tdep.c
parent97c7c9bb8c77d519ba87b9c9b2be362d334087b4 (diff)
downloadgdb-aa8d949fea586df2ae849e36bbdf32aef7cbea35.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c
index fa31f140dfa..69ab5adb2cf 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);