This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFC] Time for a shared linux-nat.c module?


On Apr 23,  1:21pm, Michael Snyder wrote:

> I notice that there are now a bunch of <arch>-linux-tdep.c 
> modules, and that some of them share a bunch of duplicate code.  
> 
> I'm wondering if it isn't time to create a linux-nat.c module, 
> shared by all host architectures, into which we can move
> some of this code instead of maintaining separate, duplicate
> versions.

You meant a shared linux-tdep.c, right?  (Not -nat.c)  Assuming that this is
the case, I think your idea makes sense.

Kevin


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