generic code duplication in Ada files
Paul Hilfinger
hilfingr@EECS.Berkeley.EDU
Tue Jan 29 23:53:00 GMT 2008
> Some of the things in Ada-specific code will be a mess to get into
> common code, but IMO clearly worthwhile. For instance, a version of
> symbol lookup which can return more than one symbol.
I am glad to hear you say that. Our original reason for this
duplication, as you probably guessed, was to avoid disturbing core GDB
"merely" for the sake of accommodating a less-familiar language. Our
assumption was that any major maintenance headaches that resulted
would be our problem. But apart from this political motivation, a
major refactoring at this point would clearly be beneficial.
Paul Hilfinger
More information about the Gdb-patches
mailing list