From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5061 invoked by alias); 21 Dec 2011 14:25:51 -0000 Received: (qmail 4941 invoked by uid 22791); 21 Dec 2011 14:25:47 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.157) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Dec 2011 14:25:24 +0000 Received: from md1.u-strasbg.fr (md1.u-strasbg.fr [IPv6:2001:660:2402::186]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id pBLEOxm9045894 ; Wed, 21 Dec 2011 15:24:59 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [130.79.204.11]) by md1.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id pBLEOxxh024219 ; Wed, 21 Dec 2011 15:24:59 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id pBLEOwWS072161 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Wed, 21 Dec 2011 15:24:58 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Joel Brobecker'" Cc: "'gdb-patches'" References: <20111221114720.GC25652@host2.jankratochvil.net> <20111221125919.GJ23376@adacore.com> <004001ccbfe6$f747e890$e5d7b9b0$@muller@ics-cnrs.unistra.fr> <20111221140811.GL23376@adacore.com> In-Reply-To: <20111221140811.GL23376@adacore.com> Subject: RE: [patch 2/2] Do not build libgdb.a by default Date: Wed, 21 Dec 2011 14:27:00 -0000 Message-ID: <005801ccbfec$51366c50$f3a344f0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00728.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Joel Brobecker > Envoy=E9=A0: mercredi 21 d=E9cembre 2011 15:08 > =C0=A0: Pierre Muller > Cc=A0: 'gdb-patches' > Objet=A0: Re: [patch 2/2] Do not build libgdb.a by default >=20 > > 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! >=20 > 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. >=20 > 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=3Dlog 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