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 10/13] Move ptid.h to common-defs.h


Gary Benson wrote:
> This commit moves the inclusion of ptid.h to common-defs.h and
> removes all other inclusions.
> 
> gdb/
> 2014-07-28  Gary Benson  <gbenson@redhat.com>
> 
> 	* common/common-defs.h: Include ptid.h.
> 	* defs.h: Do not include ptid.h.
> 	* common/ptid.c: Likewise.

As per:

Pedro Alves wrote [1]:
> It's a simpler rule if all .c files include their corresponding
> .h file.

I've updated my tree to reinstate '#include "ptid.h"' in ptid.c.
I won't post an updated patch.  Please review this patch as though
the ptid.c change was not there.

Thanks,
Gary

--
[1] https://sourceware.org/ml/gdb-patches/2014-07/msg00745.html


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