summaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-05-19 13:51:36 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-05-19 13:51:36 +0000
commitcd68314a88e272a6ad194a03b6ffd0b407233f4e (patch)
tree120baf64e107027819e9aa9f36b9aa4ee931ed21 /gdb/nto-tdep.c
parentd3581cc361cddeba1a2bb4dfcc07ae52846fdcec (diff)
downloadgdb-cd68314a88e272a6ad194a03b6ffd0b407233f4e.tar.gz
gdb/
Remove the PROT parameter from openp. * source.c (openp): Remove the parameter PROT. Assertion check MODE. defs.h (openp): Update the prototype. Update all the openp callers.
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 193f83ca438..29c81d926b8 100644
--- a/gdb/nto-tdep.c
+++ b/gdb/nto-tdep.c
@@ -145,7 +145,7 @@ nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname)
else
base++; /* Skip over '/'. */
- ret = openp (buf, 1, base, o_flags, 0, temp_pathname);
+ ret = openp (buf, 1, base, o_flags, temp_pathname);
if (ret < 0 && base != solib)
{
sprintf (arch_path, "/%s", solib);