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] sim/mcore/interp.c: Include "unistd.h" standard C header file to avoid compiling warnings.


On 2/9/15 00:00, Joel Brobecker wrote:
>>>>>> 2015-02-07  Chen Gang <gang.chen.5i5j@gmail.com>
>>>>>>
>>>>>>         * mcore/interp.c: Include "unistd.h" standard C header file to
>>>>>>         avoid compiling warnings.
> 
> A couple of small procedural nits...
> 
> There is a ChangeLog file in sim/mcore, so this is the one that
> should be updated, and thus the name of the file in the ChangeLog
> entry should not have the "mcore/" part.
> 
> Also, the ChangeLog entry should only say "what" has been changed,
> not "why". If you feel that the "why" needs to be provided, it should
> be provided in the code. In this case, I feel that your revision log
> is sufficient.
> 
> So, your ChangeLog entry should look like:
> 
> 2015-02-07  Chen Gang <gang.chen.5i5j@gmail.com>
> 
>         * interp.c: Include "unistd.h".

OK, thanks. I guess, before "git push", I need send patch v2 to mailing
list.

If no any additional reply, I shall send patch v2 within 2015-02-10.

Thanks.
-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed


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