question about the common/ subdir (was "Re: Ping: Merge duplicated macros in linux-nat.c and linux-low.c")

Joel Brobecker
2011-02-28T14:07:04Z

> > gdb/
> >
> > * linux-nat.c: Move common macros to ...
> > Include linux-ptrace.h.
> > * common/linux-ptrace.h: ... here. New.
> >
> > gdb/gdbserver/
> >
> > * linux-low.c: Move common macros to linux-ptrace.h.
> > Include linux-ptrace.h.
> > * Makefile.in (linux_ptrace_h): New.
> > (linux-low.o): Depends on linux-ptrace.h.

Speaking of which, what was the latest decision regarding the
way we would handle the sources in common/. I thought that we
were going to delete the configury and Makefile, and treat this
the same way we treat the gnulib/ directory. Was that ever
decided? I personally would like to give this idea a try and
see where it goes, but I'm not enough of an expert to really
predict whether it's going to be better or not. I can look
at producing patches, though.

--
Joel