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] Move ensure_not_running from infrun.c to infcmd.c


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


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