From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17725 invoked by alias); 15 Apr 2016 13:29:50 -0000 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 Received: (qmail 17563 invoked by uid 89); 15 Apr 2016 13:29:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=regarded, HERE X-HELO: mail-pf0-f180.google.com Received: from mail-pf0-f180.google.com (HELO mail-pf0-f180.google.com) (209.85.192.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 15 Apr 2016 13:29:39 +0000 Received: by mail-pf0-f180.google.com with SMTP id e128so56865086pfe.3 for ; Fri, 15 Apr 2016 06:29:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=78iehQAQATFJg52VHrsLbRoKl2Jdb7AeCj0VuMSFiLc=; b=hZp0PDfNBlBxRGCd4PcycnG2bJW7gcp+4FwhDXMRvi/DuLphiMZvQdIc7MMjAXTChE UheuqoJKUD2kEh/j/7VrzbfKnQ0cs3thLpqt5yY/HML+PXVRh2tgHqEe1Bgtg/gJ8GNi VMQOFXqemYGPUUDdbIaxZYd1sy9mKOnCWCEUcBNpYzbMemgmgkAgEmgfL9a2xKmeM7lt vgAPyrAoWkr+HqNnXrYOjo/moN/HJ3T/1nmR8Al/IpW5N+P80v6mxC14wQfpJpz9VsDW E5exoPFE5IZJOW+Rukrk2RG5w3+VKUUAce7gmnRsL6iyXuEI6l1GOfGqHjryr/8qcRaz s+3w== X-Gm-Message-State: AOPr4FUGhFPWRI0H0dy5E7sfRoEgnY3rBMD8ATnF+SnxjFTJmmkN+oSb+PnOqq7YK52DRw== X-Received: by 10.98.93.67 with SMTP id r64mr10241213pfb.133.1460726977643; Fri, 15 Apr 2016 06:29:37 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id 19sm64914048pfp.66.2016.04.15.06.29.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Apr 2016 06:29:36 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Add thread info in 'struct step_over_info' Date: Fri, 15 Apr 2016 13:29:00 -0000 Message-Id: <1460726961-27486-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00352.txt.bz2 During the review https://sourceware.org/ml/gdb-patches/2016-04/msg00211.html, we need to record the thread infor in step_over_info so that we know the thread we are stepping over. After I add thread info into 'struct step_over_info', I find other two fields in 'struct step_over_info' become redundant, because 'aspace' and 'address' can be got from 'thread'. On the hand, the step over info can be regarded as the the thread we stepping over. This patch series add a new field 'thread' and remove fields 'aspace' and 'address'. Regression tested on x86_64-linux and aarch64-linux. *** BLURB HERE *** Yao Qi (2): Refactor function set_step_over_info Replace address and aspace with thread in struct step_over_info gdb/infrun.c | 50 ++++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 24 deletions(-) -- 1.9.1