From patchwork Mon Jun 18 20:22:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 27913 Received: (qmail 41207 invoked by alias); 18 Jun 2018 20:22:29 -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 40602 invoked by uid 89); 18 Jun 2018 20:22:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.2 spammy= X-HELO: sessmg23.ericsson.net Received: from sessmg23.ericsson.net (HELO sessmg23.ericsson.net) (193.180.251.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 18 Jun 2018 20:22:27 +0000 Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 25.BA.22015.184182B5; Mon, 18 Jun 2018 22:22:25 +0200 (CEST) Received: from ESESBMB505.ericsson.se (153.88.183.172) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 18 Jun 2018 22:22:24 +0200 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB505.ericsson.se (153.88.183.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Mon, 18 Jun 2018 22:22:24 +0200 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=simon.marchi@ericsson.com; Received: from elxacz23q12.ca.am.ericsson.se (192.75.88.130) by BYAPR15MB2391.namprd15.prod.outlook.com (2603:10b6:a02:8c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.19; Mon, 18 Jun 2018 20:22:21 +0000 From: Simon Marchi To: CC: Simon Marchi Subject: [pushed] Remove current_traceframe declaration Date: Mon, 18 Jun 2018 16:22:08 -0400 Message-Id: <1529353328-8553-1-git-send-email-simon.marchi@ericsson.com> MIME-Version: 1.0 X-ClientProxiedBy: SN6PR06CA0021.namprd06.prod.outlook.com (2603:10b6:805:8e::34) To BYAPR15MB2391.namprd15.prod.outlook.com (2603:10b6:a02:8c::31) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 847cca4e-0aa4-4a6c-7e70-08d5d5593259 X-MS-TrafficTypeDiagnostic: BYAPR15MB2391: X-Exchange-Antispam-Report-Test: UriScan:(37575265505322)(180628864354917); X-MS-Exchange-SenderADCheck: 1 X-Forefront-PRVS: 0707248B64 Received-SPF: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts) SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2018 20:22:21.1711 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 847cca4e-0aa4-4a6c-7e70-08d5d5593259 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2391 X-OriginatorOrg: ericsson.com X-IsSubscribed: yes The variable has been removed in c12a508 ("Add client_state struct."), remove the leftover declaration. gdb/gdbserver/ChangeLog: * tracepoint.h (current_traceframe): Remove declaration. --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/tracepoint.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index a85aeac..5b3d176 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2018-06-18 Simon Marchi + + * tracepoint.h (current_traceframe): Remove declaration. + 2018-06-18 Alan Hayward * linux-aarch64-low.c (is_sve_tdesc): New function. diff --git a/gdb/gdbserver/tracepoint.h b/gdb/gdbserver/tracepoint.h index 9acf3e2..5e09925 100644 --- a/gdb/gdbserver/tracepoint.h +++ b/gdb/gdbserver/tracepoint.h @@ -83,8 +83,6 @@ int tracepoint_was_hit (struct thread_info *tinfo, CORE_ADDR stop_pc); void release_while_stepping_state_list (struct thread_info *tinfo); -extern int current_traceframe; - int in_readonly_region (CORE_ADDR addr, ULONGEST length); int traceframe_read_mem (int tfnum, CORE_ADDR addr, unsigned char *buf, ULONGEST length,