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.


> >>>> 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".

-- 
Joel


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