[patch 2/2] Do not build libgdb.a by default

Pierre Muller pierre.muller@ics-cnrs.unistra.fr
Wed Dec 21 14:27:00 GMT 2011



> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Joel Brobecker
> Envoyé : mercredi 21 décembre 2011 15:08
> À : Pierre Muller
> Cc : 'gdb-patches'
> Objet : Re: [patch 2/2] Do not build libgdb.a by default
> 
> > We (Free Pascal core team) are still using libgdb.a library to
> > statically link GDB into our "home made" IDE with GDB debugger
> > integrated...
> >
> >   I don't mind much needed to explicitly ask for libgdb.a library, but
> >   please leave the rule present!
> 
> Not to worry, we are not discussing the idea of removing this rule.
> As long as it's not a hassle to keep it, I do not think it will be
> on the agenda.
> 
> You do have to realize, however, that we have been explicitly
> recommending against it for years. There are so many disadvantages
> to this approach, you might want to consider moving to GDB/MI before
> you get stuck.
Trust me, I do know these disavantages quite well
You can get an impression by looking at
gdbint.pp source, which is the unit that
does connect GDB connect GDB code to pascal:

http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/gdbint/src/gdbin
t.pp?view=log

I wouldn't recommend anyone to use the same approach indeed.
But I didn't yet get enough time to really reimplement
everything using MI interface...

Pierre



More information about the Gdb-patches mailing list