From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51607 invoked by alias); 2 Jan 2016 15:38:00 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 51531 invoked by uid 89); 2 Jan 2016 15:37:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 spammy= X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 02 Jan 2016 15:37:58 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] sim: delete dead current_state globals From: sergiodj+buildbot@redhat.com To: gdb-testers@sourceware.org Message-Id: Date: Sat, 02 Jan 2016 15:38:00 -0000 X-SW-Source: 2016-q1/txt/msg00119.txt.bz2 *** TEST RESULTS FOR COMMIT d47f5b30d8481272e9480118bdcb283690070349 *** Author: Mike Frysinger Branch: master Commit: d47f5b30d8481272e9480118bdcb283690070349 sim: delete dead current_state globals The global current_state handle to the current simulator state is a design idea that was half implemented, but never really cleaned up. The point was to have a global variable pointing to the state so that funcs could more quickly & easily access the state anywhere. We've instead moved in the direction of passing state around everywhere and don't have any intention of moving back. I also can't find any references to gdb using this variable, or to cgen related "dump_regs" functions, both of which were used in the comments related to this code.