Re: generic code duplication in Ada files

Paul Hilfinger
2008-01-29T23:50:26Z

> 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