This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Move ensure_not_running from infrun.c to infcmd.c
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 30 Nov 2012 11:13:57 +0000
- Subject: Re: [PATCH] Move ensure_not_running from infrun.c to infcmd.c
- References: <1354264326-19741-1-git-send-email-yao@codesourcery.com>
On 11/30/2012 08:32 AM, Yao Qi wrote:
> Hi,
> Both error_is_running and ensure_not_running are only called by
> functions in infcmd.c, but they are defined in infrun.c. It is better
> to move them to infcmd.c, and make them static. This is what this
> patch does. Is it OK?
Sure, thanks.
--
Pedro Alves