From 492c0ab72a050a19d09d0df16eb3b0d8da22be1a Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Wed, 4 Sep 2013 20:09:39 +0000 Subject: Code cleanup: Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH. gdb/ 2013-09-04 Jan Kratochvil Code cleanup: Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH. * cli/cli-cmds.c (find_and_open_script): Add OPF_RETURN_REALPATH to variable search_flags. * defs.h (OPF_DISABLE_REALPATH): Rename to ... (OPF_RETURN_REALPATH): ... here. * dwarf2read.c (try_open_dwop_file): Set OPF_RETURN_REALPATH for flags. * exec.c (exec_file_attach): Remove OPF_DISABLE_REALPATH from openp call. Twice. * nto-tdep.c (nto_find_and_open_solib): Add OPF_RETURN_REALPATH for openp call. * solib.c (solib_find): Likewise. Four times. * source.c (openp): Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH in the function comment and for the realpath_fptr variable. (source_full_path_of): Add OPF_RETURN_REALPATH for openp call. (find_and_open_source): Likewise. Twice. * symfile.c (symfile_bfd_open): Likewise, also twice. --- gdb/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index 2ea49f8..1e5521f 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -349,7 +349,7 @@ extern const char *pc_prefix (CORE_ADDR); /* See openp function definition for their description. */ #define OPF_TRY_CWD_FIRST 0x01 #define OPF_SEARCH_IN_PATH 0x02 -#define OPF_DISABLE_REALPATH 0x04 +#define OPF_RETURN_REALPATH 0x04 extern int openp (const char *, int, const char *, int, char **); -- cgit v1.1