[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    [RFC] New inf-procfs module (replacing procfs)
From:       msnyder () redhat ! com (Michael Snyder)
Date:       2006-01-27 21:46:00
Message-ID: 43DA93EE.7010909 () redhat ! com
[Download RAW message or body]

Joel Brobecker wrote:
>>Something we had always considered, but shied away from,
>>is to actually split procfs.c into two separate modules:
>>one for the old API, and one for the new.  It's the only
>>way you can really get rid of all those ifdefs, and if
>>you're considering a major re-org anyway...
>>
>>Just putting out the idea.
> 
> 
> An interesting idea. The only concern I have is code duplication,
> it'd be nice to be able to continue sharing the code that is already
> shared. I'll keep that in mind!

Yeah, that was always our concern too.  I wonder, though, now
that the general form of the code is fairly "mature" -- how many
future bug fixes would be likely to have the same fix in both
modules?  Or even to *need* fixing in both modules?


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic