diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-05-19 13:51:37 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-05-19 13:51:37 +0000 |
commit | fbdebf465713844d23625ae09e0ae4995418328b (patch) | |
tree | 7af6455b1a462e3cba7eb1710604a7d2ea94be37 /gdb/nto-tdep.c | |
parent | 5fd62852f643d6fa71d7a0225237c7874868b695 (diff) | |
download | gdb-fbdebf465713844d23625ae09e0ae4995418328b.zip gdb-fbdebf465713844d23625ae09e0ae4995418328b.tar.gz gdb-fbdebf465713844d23625ae09e0ae4995418328b.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index 193f83c..29c81d9 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); |