From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7218 invoked by alias); 22 Mar 2011 09:38:05 -0000 Received: (qmail 7161 invoked by uid 22791); 22 Mar 2011 09:38:05 -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.155) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Mar 2011 09:37:54 +0000 Received: from md2.u-strasbg.fr (md2.u-strasbg.fr [IPv6:2001:660:2402::187]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id p2M9bhY6017483 ; Tue, 22 Mar 2011 10:37:43 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms7.u-strasbg.fr [130.79.204.16]) by md2.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id p2M9bgOr083760 ; Tue, 22 Mar 2011 10:37:43 +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 p2M9bf4I021492 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Tue, 22 Mar 2011 10:37:42 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Pedro Alves'" , References: <003e01cbe825$321015a0$963040e0$@muller@ics-cnrs.unistra.fr> <201103220934.26493.pedro@codesourcery.com> In-Reply-To: <201103220934.26493.pedro@codesourcery.com> Subject: RE: [RFC] Remove START_INFERIOR_TRAPS_EXPECTED macro from nm header Date: Tue, 22 Mar 2011 09:59:00 -0000 Message-ID: <001201cbe874$cae77d50$60b677f0$@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-03/txt/msg00984.txt.bz2 > -----Message d'origine----- > De=A0: Pedro Alves [mailto:pedro@codesourcery.com] > Envoy=E9=A0: mardi 22 mars 2011 10:34 > =C0=A0: gdb-patches@sourceware.org > Cc=A0: Pierre Muller > Objet=A0: Re: [RFC] Remove START_INFERIOR_TRAPS_EXPECTED macro from nm > header >=20 > Why's this any better? I claim that it's worse. > START_INFERIOR_TRAPS_EXPECTED isn't ever used by anything > outside of the native target backend implementation --- > it doesn't qualify in the set of macros that are evil for > a multi-arch gdb. Then, nothing in common code _should_ > know about how many internal traps are expected > during startup_inferior, but you've just exposed that > detail with to_start_inferior_traps_expected. That shows that I still didn't understand what target_ops really is: Is there only one single target_ops that this only for the native configuration? If this is the case, I agree with your analysis, but I am still not sure about that... Pierre