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]

Re: generic code duplication in Ada files


> 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





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