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] |
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?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |