This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: generic code duplication in Ada files
- From: Paul Hilfinger <hilfingr at EECS dot Berkeley dot EDU>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Tue, 29 Jan 2008 15:49:31 -0800
- Subject: Re: generic code duplication in Ada files
- Reply-to: Hilfinger at CS dot Berkeley dot EDU
> 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