This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Patch for Bug#12955


On Sun, 2003-11-09 at 19:04, Gabriel Dos Reis wrote:
> wouldn't it be better if the GDB's version were kept in sync with GCC's?

The answer is so obviously yes that I'm not sure why you are asking the
question.

The reason that they aren't is because we have no one to do the work. 
There is probably a substantial amount of work here, gcc and gdb have
different interfaces, so the common code would have to be abstracted
out.  Gcc and gdb have different requirements, and different features.
There is also the question of where to put the code.  It is getting a
bit silly to stuff everything into libiberty just because it happens to
be shared between gcc and gdb/binutils, but there is no place else that
is convenient.  Sharing the code means that every change needs to be
tested against both gcc and gdb which will make changing it harder. 
There are lots of issues here to solve.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


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