From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101132 invoked by alias); 2 Mar 2016 15:38:21 -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 101093 invoked by uid 89); 2 Mar 2016 15:38:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:845 X-HELO: mail-wm0-f42.google.com Received: from mail-wm0-f42.google.com (HELO mail-wm0-f42.google.com) (74.125.82.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 02 Mar 2016 15:38:18 +0000 Received: by mail-wm0-f42.google.com with SMTP id l68so85827813wml.0 for ; Wed, 02 Mar 2016 07:38:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=wEIdCj8JJWVpu3nj2TsyZUnzH1hfd9jAYp/m1Oni1pA=; b=UYHJyVyOZHldFGykFG5OvAmtMUelK9jI5EBgbkInDAIAsaL5nRDy3qntBxvASdvim6 qssJ3y4HSaODybI5HIMJ9uXHsNBVXZqRNNYFMGbB/Kz/VKN8/ktvExVOowGlKxMvFmao cV5YvnxdHqNUAHoIn7tntZUWIf4q278Ei4PFCaFcrwu7nHqbpNx7Tqsf5ZtwFLpDE5Qp AmH5bxv9v4iZDgdk/SBhev0b+PEzZqtwXT1m9jXqLUhiYL/9SIgti21udmT/+hkHvDNj X7iZ5S+phHPb8CnELNwUOa7pBp5BFcWgo6wbYoUEHTm8d/yahfJM8H/unseGXaTSdwt/ v+JA== X-Gm-Message-State: AD7BkJJL8bvvBgZqCsqa1SuCR3J3cOvovqhNv0SIw03oVJ/O46qHhTGy6Ydl867jYeN+BSZO X-Received: by 10.28.88.15 with SMTP id m15mr563154wmb.60.1456933095443; Wed, 02 Mar 2016 07:38:15 -0800 (PST) Received: from [192.168.0.10] (cpc87017-aztw30-2-0-cust65.18-1.cable.virginm.net. [92.232.232.66]) by smtp.gmail.com with ESMTPSA id k125sm4665035wmb.14.2016.03.02.07.38.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Mar 2016 07:38:14 -0800 (PST) Subject: Re: [RFC PATCH 0/4] GDB Linux Kernel Thread Awareness To: Yao Qi References: <1456427706-30077-1-git-send-email-kieran.bingham@linaro.org> <86r3fu9mzz.fsf@gmail.com> Cc: gdb-patches@sourceware.org, arnez@linux.vnet.ibm.com, jeffm@suse.com, peter.griffin@linaro.org, lee.jones@linaro.org, russell.wayman@linaro.org, kernel@stlinux.com From: Kieran Bingham Message-ID: <56D708E6.9090903@linaro.org> Date: Wed, 02 Mar 2016 15:38:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <86r3fu9mzz.fsf@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-03/txt/msg00026.txt.bz2 On 01/03/16 16:33, Yao Qi wrote: > Kieran Bingham writes: > >> For ease of access/replication, this patch set is also hosted at: >> >> URL: http://git.linaro.org/people/kieran.bingham/binutils-gdb.git >> TAG: 2016-02-25-LKD-thread-aware-c-gdb-submission > > How can I play with these new bits in GDB? Do you have some > instructions to use GDB to debug linux kernel over QEMU? Hi Yao, I've added a script to build a kernel, gdb, and set up QEmu with some instructions to get started with LKD to the following wiki-page: https://wiki.linaro.org/LandingTeams/ST/GDB Currently it needs ~5GB of disk space, which I realise is quite large, but it is building a multi_v7_defconfig kernel target with debug-info enabled which is the bulk of this. -- Regards Kieran