This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use enum flags for flags passed to openp


On Tue, Feb 13, 2018 at 2:31 AM, Simon Marchi <simon.marchi@polymtl.ca> wrote:
> gdb/ChangeLog:
>
>         * defs.h (enum openp_flags): New enum.
>         (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH, OPF_RETURN_REALPATH):
>         Move to enum openp_flags.
>         (openp_flags): New enum flags.
>         (openp): Change parameter type to openp_flags.
>         * source.c (openp): Change parameter type to openp_flags.
>         * cli/cli-cmds.c (find_and_open_script): Use openp_flags.
>         * dwarf2read.c (try_open_dwop_file): Use openp_flags.

Patch is good to me.

-- 
Yao (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]