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 2018-02-13 11:51, Yao Qi wrote:
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.

Thanks, pushed.

Simon


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