This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Use enum flags for flags passed to openp
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Tue, 13 Feb 2018 16:51:49 +0000
- Subject: Re: [PATCH] Use enum flags for flags passed to openp
- Authentication-results: sourceware.org; auth=none
- References: <20180213023117.26302-1-simon.marchi@polymtl.ca>
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 (齐尧)