From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16406 invoked by alias); 13 Nov 2012 10:01:11 -0000 Received: (qmail 16390 invoked by uid 22791); 13 Nov 2012 10:01:09 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.154) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Nov 2012 10:00:40 +0000 Received: from md13.u-strasbg.fr (md13.u-strasbg.fr [130.79.200.248]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qADA0O8q030731 ; Tue, 13 Nov 2012 11:00:24 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms15.u-strasbg.fr [130.79.204.115]) by md13.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qADA0NT1026835 ; Tue, 13 Nov 2012 11:00:23 +0100 (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qADA0MSL024534 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Tue, 13 Nov 2012 11:00:22 +0100 (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Pedro Alves'" , "'Joel Brobecker'" Cc: References: <002701cdc0b9$542d2560$fc877020$@muller@ics-cnrs.unistra.fr> <20121112180707.GQ4847@adacore.com> <50A14202.4060403@redhat.com> In-Reply-To: <50A14202.4060403@redhat.com> Subject: RE: run the ARI on gdbserver too? Date: Tue, 13 Nov 2012 10:01:00 -0000 Message-ID: <006e01cdc185$b2f4ef20$18decd60$@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-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00016.txt.bz2 > -----Message d'origine----- > De=A0: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la p= art > de Pedro Alves > Envoy=E9=A0: lundi 12 novembre 2012 19:38 > =C0=A0: Joel Brobecker > Cc=A0: Pierre Muller; gdb@sourceware.org > Objet=A0: run the ARI on gdbserver too? >=20 > On 11/12/2012 06:07 PM, Joel Brobecker wrote: > >> > Also, I would find as a logical consequence that also > >> > gdbserver subdirectory should follow the ARI rules. > >> > This is done quite easily by removing the > >> > -name gdbserver -prune -o > >> > line from gdb_find.sh script in gdb/contrib./ari > >> > but is a rather important change that should be discussed fully. > > Right. I think it would be a helpful, but I'll let Pedro comment > > on that one. >=20 > I agree that it's a logical step. I think we'll see a lot of > hits that don't actually point at issues that are problems in > practice (due to the fact lots of gdbserver code is host/native > code that makes assumptions on the environment its being built > for, like bits of native code in gdb does), but it sounds nevertheless > a good idea, considering we'll want to share more and more between > gdb and gdbserver. This was one of the reasons=20 of my old proposition to distinguish between native and general files. http://sourceware.org/ml/gdb-patches/2011-03/msg01087.html Using things like 'long long' type or '%ll' or '%p' is not really a problem for native files, but can become one for general files as the size of the fields might not match was is expected. Pierre Muller