From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932761AbbGUVES (ORCPT ); Tue, 21 Jul 2015 17:04:18 -0400 Received: from mout.web.de ([212.227.15.3]:50703 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932127AbbGUVER (ORCPT ); Tue, 21 Jul 2015 17:04:17 -0400 Subject: Re: [RFC PATCH] scripts/gdb: add data window feature To: Houcheng Lin , corbet@lwn.net References: <1437062338-21971-1-git-send-email-houcheng@gmail.com> Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org From: Jan Kiszka Message-ID: <55AEB3CA.9090107@web.de> Date: Tue, 21 Jul 2015 23:04:10 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <1437062338-21971-1-git-send-email-houcheng@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iCwJk4VSg3a2jLoTKhDXSAnba8GEuxC4H" X-Provags-ID: V03:K0:f6lg3yJmEjXlBoFKtf3qZMM/2XO6vSR+cyfvSRq8fsvoYNQijff wvIGpFaiYtxfmRBcMMBiX3J4DzJwMraIhsWi1VfVWGm/hx9G9H2ftPm8SuEvY1KsTy28TTA kCd7RzDJ9mD9avtdhuM45nUoiZbwzqw4FpbMaEkjK7OZK/BKyAx0rADFnY8/JgfP1eLSAPh Jru/KNOxJ9X7qmTF4ENSQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:LMGoW12RRyg=:AOAUkXsfsglfOHIY22OeWo E23wtwVLYRYd+Za81qktdNbF26wTbnG/RRYNik+5y0nvCCSY3dTnH2gtdEcbPuJVDcmjNdrez SHlwXVO17j13CoCWq1SozP8pQWV+PO3Q8OwliAQ6nqsWzbn5h6c4/l9y0LjOKhpIJ31P8cN/e W98cEU+bcNVcIAcGMBBDMtocRY+956Kqw9G9DGULJy7efGGSCu6Kn2AdWJTFCGcXf/oRjHwKf TSETTKHbWEW9rWtVL2VFzkmY2wTCh8NFUHU5twnbGqrLtfwUO9TaoqmIqH55PIpbWYBAmWNYC iICBfgSyCQSLN2/V37ixlyRLwLNobJgVwo0czXghgc6yr7R4gp/U7MRUq8zEauoDEkskUNV9n Enh/mIr/lDSgE0zg1BMpNtpWzrOMurhAhZlpyIq/zssvQQ9D3TJnvJdcYafl1qevCnAMWI6eo j3xtMIevnoFlw+hd8drhMidXSyiNSSRyrLFkLLrVy5eihgUT+AiirhNZSSgJlK/gKPHtyKtL3 RWOYj0+XW0rKUiLCXbcp0gR8CcyBPkfPxA1XcXK8hQn0udgGaoZYs2EOWn79wxMhu+u3Ad9KV Pr6pXJ0MWZY7qxwLbaz/FZrg2RMqqCMcX+GKgXLGT/i2SkGUohytntbQC+DNnnN58opc8SmJJ 1s3FOKVjxmM/e9jW1EJtwPn861Ui/hlQkq2gAYNdrHlCIVw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iCwJk4VSg3a2jLoTKhDXSAnba8GEuxC4H Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 2015-07-16 17:58, Houcheng Lin wrote: > Add data window feature to show current kernel status > on separate consoles, including: 1) registers, 2) back > trace and 3) watch data windows. >=20 > The data window would help kernel developer to understand > current hardware/ kernel status, and on single-stepping, the > modified fields in the data window would be highlighted. I was trying to get an overview of this feature. Unfortunately, it does not work for me. I type in the commands you describe in the documentation, but nothing shows up. I suspect there are some hard-coded assumption about directory layouts etc. that aren't fulfilled here (out-of-tree build). Anyway, let's try to understand what you would like to achieve. This seems to be some add-on tool for gdb debugging sessions to display target states continuously in separate terminals. Right? Is this comparable to gdb's tui mode? More important, is this specific to the debugging infrastructure we have in scripts/gdb? Or could I install it (after some modifications, I guess) in my home directory and use it for any gdb session, not just with Linux kernels? Is there anything in it that particularly refers to Linux structures? In that case I would suggest to make it stand-alone first so that one could easily include it whenever needed, either explicitly or via ~/.gitinit. Thanks for sharing in any case! Jan --iCwJk4VSg3a2jLoTKhDXSAnba8GEuxC4H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlWus8oACgkQitSsb3rl5xQEYgCgofdLyKDCxS/5sO2tNlwF0vMS S2sAmQF05nKMmGWX4dD4k+D7zXhB/ob0 =0OLa -----END PGP SIGNATURE----- --iCwJk4VSg3a2jLoTKhDXSAnba8GEuxC4H--