From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by sourceware.org (Postfix) with ESMTPS id 972B23851C06 for ; Tue, 4 Aug 2020 14:12:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 972B23851C06 Received: by mail-ej1-x641.google.com with SMTP id jp10so16030317ejb.0 for ; Tue, 04 Aug 2020 07:12:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bbuTEkTyZgtVu4L/2zWuHRo6TTCQqsqH2OMcdF0kIFs=; b=EwaUvYfPuinUUqEimi9+R64lQasakS51WKZOUiGZylkchb11p15ayYwK+QQRUNhX5b E2cNAmKqs8xqgt2r3MMJgDiNXJecgjSdNuleMMGCriZk6ouS7K34rnjMc4x/iQpNjJPh NDUzourareoFoEtT5MrcpQlgTzEThL8wjsOafrWKXnVlBoUgWLfoz0fdIHfnqCLSnsKU HaUutPYYr+5r3LniQpxuypQOXBi/ZuFxdkSzF+xgLnTavh/KpdGx3Ar+7joZGixlDlf4 OjkATc2mcrrh+oCOsH/GKIy4dgOwP85MX68TjpXUqnACTy8mqXa8unmC5yoVeiiV3By2 aELQ== X-Gm-Message-State: AOAM532XrbzWpwS8qJ1yC0JrZ3CrPaltbdZ1wxaaY9cozK0n/TD2DZel AB0Owuk7SOGwMqCu8kVJkBU= X-Google-Smtp-Source: ABdhPJxUiqdbXwUwRtIFeCzcdR2i7wKX0snWoQgv9pWrUqkYQ9pGIjYsZCXEDaNw9+ZH8XavLpKrOg== X-Received: by 2002:a17:906:3291:: with SMTP id 17mr22436206ejw.370.1596550356753; Tue, 04 Aug 2020 07:12:36 -0700 (PDT) Received: from gmail.com ([2a03:1b20:3:f011::6d]) by smtp.gmail.com with ESMTPSA id i9sm18944753ejb.48.2020.08.04.07.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2020 07:12:36 -0700 (PDT) Date: Tue, 4 Aug 2020 16:12:36 +0200 From: Shahab Vahedi To: Simon Marchi Cc: Francois Bedard , Anton Kolesov , Shahab Vahedi , Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH v5 1/4] arc: Add ARCv2 XML target along with refactoring Message-ID: <20200804141236.GD1586@gmail.com> References: <20200326125206.13120-1-shahab.vahedi@gmail.com> <20200804085742.1458-1-shahab.vahedi@gmail.com> <20200804085742.1458-2-shahab.vahedi@gmail.com> <9601ee94-e38c-460d-e044-b7b7a7400d2e@simark.ca> <20200804131827.GC1586@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2020 14:12:38 -0000 On Tue, Aug 04, 2020 at 09:20:57AM -0400, Simon Marchi wrote: > Do you see a way we could keep backwards compatibility? Like a way to introduce the new > names, but still make the old names work? >From what it looks like, it should be possible to add a "backward_compatibility" function layer to search for old names when the current feature names are not found. To do so, I have to pass around the "abfd" data. I can try implementing it and see if I run into any serious problem. Nevertheless, I suggest keeping the test and documentation in par with the new naming. Cheers, Shahab