From patchwork Mon Dec 30 18:50:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Machado X-Patchwork-Id: 182650 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp6680703ild; Mon, 30 Dec 2019 10:50:53 -0800 (PST) X-Google-Smtp-Source: APXvYqy5ovBrxrtpJvKQbCYZfyylPEj5Ms/T5Lo7jPBl7Ewya1Lv8njqNZooyt/y3HsfP90037iY X-Received: by 2002:a9d:ee2:: with SMTP id 89mr14499322otj.270.1577731853804; Mon, 30 Dec 2019 10:50:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577731853; cv=none; d=google.com; s=arc-20160816; b=QO2e6R3CxHxpyjlxqZ/cQFaY/Jb0kG5BqvGdihEn9xhCnpGMeYYN0X3IprSK0FTrX2 0uasWomQ3UFf5SlkNGq3Bh7oSn4AzHPdFG8QwUa0p6anyETkiqsqbmmCA7Zf/YjbKkc7 WerVJCIWgeBSVj7vwMCarxiDvEtYHgnxUN7FjIGFQPB9n2xb0V+D4F4wri/xUZA/UTVT lvk5oz6Ia1+qKyTVn4WQHS6AGLddQT0esjEoWQSozJr0RnTRBNGs6YzoFBaNneSXkpCM e6DvHYJx1CgZQ0zmfX9LZUR4DvFolKosmTLGjuWCMA5p5YlEME5EZyhJOiVi4ispnKJi R0NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from:dkim-signature:delivered-to:sender :list-help:list-post:list-archive:list-subscribe:list-unsubscribe :list-id:precedence:mailing-list:dkim-signature:domainkey-signature; bh=UHFQcnFjYXIEEJM9EhU2Pdg1Z4NS44IwCYVpWmwE858=; b=0u/krtvdAQcRfKXSURIqvxBg+zlSKYBQRn49Bau9cfnowm64in5GsbOA+9BrXuJd+S Bu/ZBf9W43+PSNVNasHMFmuLtAstVDkoJCA7HNv+iCA8E/pgQmpiMyjHniQ2J7I2B4as htx8CYf8v75XdbBOm+fsHTGD/1zO50S0ahLgyFGvXX74UnvSSSbMS/rsZJuC3FIusSHK rtbF9S1XOCPV4xgIf2PZMz0XHaGOCSjwCkS/zbOgUklWFa5lG0wg3wUEeU/XIoVYvlYZ nJU2DAVsGnXu+02rQEr2vJyKUcC3hRJUbaQUg71i2ax0z9IwtwFhuM/by2sF7Y8nKdxj k7yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=YGs1qVmz; dkim=pass header.i=@linaro.org header.s=google header.b=l9sEHFpj; spf=pass (google.com: domain of gdb-patches-return-162670-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gdb-patches-return-162670-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id y8si21184107oih.141.2019.12.30.10.50.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Dec 2019 10:50:53 -0800 (PST) Received-SPF: pass (google.com: domain of gdb-patches-return-162670-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=YGs1qVmz; dkim=pass header.i=@linaro.org header.s=google header.b=l9sEHFpj; spf=pass (google.com: domain of gdb-patches-return-162670-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gdb-patches-return-162670-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=eK2Cddou095Kw+meC5bMxZMdl3GC/LdnQRAX94k87KDdt4SCUg7dE xm6tmrWNEsrky4ducv5QixvmERh+qf3tR1ke+huQZEBxaKlLzbRqPzTz8UVZEYMq SX5NvBlGsCz+r7sFCFbCzktXs9UUqhlLMcHsfBc5ZdaVzl1ZvOIFIo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=AcexScbmk8VsmOpQFRsENVUrsDI=; b=YGs1qVmzNdtKqAK1OkCWl38NTlyD S47rgLnpSDKiV08XD2BDNxtKlz6OA6IuSCnoDTCz9prwxWLCKrCCBvyJYIkFOj2Z tVMlppaisuovJ/ADfnl3WoZnOCIciy2aj3XDgBP/EPVsruXMTqt9RHUeXi3pSo02 mbrLGJ2AWQe4oSs= Received: (qmail 27934 invoked by alias); 30 Dec 2019 18:50:48 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 27925 invoked by uid 89); 30 Dec 2019 18:50:47 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=cell, interrupt, determines, HX-Spam-Relays-External:209.85.214.194 X-HELO: mail-pl1-f194.google.com Received: from mail-pl1-f194.google.com (HELO mail-pl1-f194.google.com) (209.85.214.194) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Dec 2019 18:50:46 +0000 Received: by mail-pl1-f194.google.com with SMTP id c13so14963024pls.0 for ; Mon, 30 Dec 2019 10:50:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=UHFQcnFjYXIEEJM9EhU2Pdg1Z4NS44IwCYVpWmwE858=; b=l9sEHFpjVSpDlaRPItWtFXflZC88IgcQ/raFgUTRZlc7aBNootLriBpJmMzn4UV/RY H3RmF36ljL3hg6isd02r9yzK39nxJjTbg15CxGrqJr4yO9k3kfGhPa5pGGpoqU1VYWRj UFE+Y30lEqTNZ8mpwuAJVOZ3HQzbUnNgQaeDaFruWCzF5pG0Q/EHQdPvqMG/OdYbbfAK GvbYrl+Ods5Gg37qcgEljL0sRvBp0Rypxp+F8T3MXcYEwiMRdCnI87Cydg2shImZsZPB mhEaeRDmlzeGTCPg950cnjuXNzd7KBTK/ZHvQ56bvqPPZXK+jxJvj0eg6YB+vt/Cro4Y Mvnw== Return-Path: Received: from localhost.localdomain ([191.251.164.209]) by smtp.gmail.com with ESMTPSA id k3sm50072053pgc.3.2019.12.30.10.50.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2019 10:50:43 -0800 (PST) From: Luis Machado To: gdb-patches@sourceware.org Subject: [PATCH] Remove stale references to Cell BE Date: Mon, 30 Dec 2019 15:50:36 -0300 Message-Id: <20191230185036.26435-1-luis.machado@linaro.org> X-IsSubscribed: yes While reading some code i noticed we're still referencing Cell BE in a couple parts. This patch removes those. gdb/ChangeLog: 2019-12-30 Luis Machado * proc-service.c (get_ps_regcache): Remove reference to obsolete Cell BE architecture. * target.h (struct target_ops) : Likewise. Change-Id: I7a9ccc603b00db22a6275bc5ab69e1417148cb72 --- gdb/proc-service.c | 5 +---- gdb/target.h | 9 ++++----- 2 files changed, 5 insertions(+), 9 deletions(-) -- 2.17.1 diff --git a/gdb/proc-service.c b/gdb/proc-service.c index b0741318ad..75ad126472 100644 --- a/gdb/proc-service.c +++ b/gdb/proc-service.c @@ -129,10 +129,7 @@ ps_pdwrite (struct ps_prochandle *ph, psaddr_t addr, /* Get a regcache for LWPID using its inferior's "main" architecture, which is the register set libthread_db expects to be using. In multi-arch debugging scenarios, the thread's architecture may - differ from the inferior's "main" architecture. E.g., in the Cell - combined debugger, if GDB happens to interrupt SPU code, the - thread's architecture is SPU, and the main architecture is - PowerPC. */ + differ from the inferior's "main" architecture. */ static struct regcache * get_ps_regcache (struct ps_prochandle *ph, lwpid_t lwpid) diff --git a/gdb/target.h b/gdb/target.h index 1bb7276673..fcb727628a 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -878,11 +878,10 @@ struct target_ops /* Determine current architecture of thread PTID. The target is supposed to determine the architecture of the code where - the target is currently stopped at (on Cell, if a target is in spu_run, - to_thread_architecture would return SPU, otherwise PPC32 or PPC64). - This is architecture used to perform decr_pc_after_break adjustment, - and also determines the frame architecture of the innermost frame. - ptrace operations need to operate according to target_gdbarch (). */ + the target is currently stopped at. This is architecture used to + perform decr_pc_after_break adjustment, and also determines the + frame architecture of the innermost frame. ptrace operations need to + operate according to target_gdbarch (). */ virtual struct gdbarch *thread_architecture (ptid_t) TARGET_DEFAULT_RETURN (NULL);