Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: "'Joel Brobecker'" <brobecker@adacore.com>
Cc: "'gdb-patches'" <gdb-patches@sourceware.org>
Subject: RE: [patch 2/2] Do not build libgdb.a by default
Date: Wed, 21 Dec 2011 14:27:00 -0000	[thread overview]
Message-ID: <005801ccbfec$51366c50$f3a344f0$@muller@ics-cnrs.unistra.fr> (raw)
In-Reply-To: <20111221140811.GL23376@adacore.com>



> -----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


  reply	other threads:[~2011-12-21 14:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 11:58 Jan Kratochvil
2011-12-21 13:12 ` Joel Brobecker
2011-12-21 14:01   ` Pierre Muller
2011-12-21 14:24     ` Joel Brobecker
2011-12-21 14:27       ` Pierre Muller [this message]
2011-12-21 19:18 ` Tom Tromey
2012-01-02  2:32   ` [commit] " Jan Kratochvil
2012-01-02 13:40 ` Pedro Alves
2012-01-02 14:02   ` [patch] Put solib-target.o back to COMMON_OBS [Re: [patch 2/2] Do not build libgdb.a by default] Jan Kratochvil
2012-01-02 17:12     ` Pedro Alves
2012-01-02 17:19       ` Jan Kratochvil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005801ccbfec$51366c50$f3a344f0$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox