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/cli | |
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/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 18d34bf..0211489 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -451,7 +451,7 @@ source_script (char *file, int from_tty) /* Search for and open 'file' on the search path used for source files. Put the full location in 'full_pathname'. */ fd = openp (source_path, OPF_TRY_CWD_FIRST, - file, O_RDONLY, 0, &full_pathname); + file, O_RDONLY, &full_pathname); make_cleanup (xfree, full_pathname); /* Use the full path name, if it is found. */ |