Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4383187rdh; Tue, 28 Nov 2023 22:52:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+en+pTWWEhc81IYDyeNLEt1+ldw0mTLroeGumKgXTCPi4z3+oQtA2xK0/GFnWH/GH2EcY X-Received: by 2002:a05:6a00:1914:b0:68b:e29c:b69 with SMTP id y20-20020a056a00191400b0068be29c0b69mr24343567pfi.9.1701240723404; Tue, 28 Nov 2023 22:52:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701240723; cv=none; d=google.com; s=arc-20160816; b=tY7ZGg92qx/rtRIsbMkPxzv3v3LHsHX36uXIgaUDSpb6kilzAdUmcDYMXSyYZfIe9r FXxzxblF8EgZi6+BOL7QI9+giY+DLBxWPSrmdAsOjcJv64A+j0YyMkwWqp1E1evrER4k ZMBcbx4G1QTeGnMlGYCydUTzXQBYkRilMBiJKQaIiZJrnEsXZlOJXVyrXmgpSYKp6Y8/ HXaEUSLwc4hAkCUdkrUVHXgz/az6eRy2SwH7ZhmLBWwp56v6cnLRNsaY/N9fLV0HxMTI Ncb+SRP7Nfsq9ydZaarHSpgXsffhbp0r0sNS4pyBGkm2nz3AC4YkBCc+/0J7kmH5er0/ MsQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=na6Um5bZE/lrzzyPLjzBP7E/V75yxzke3oahh4HsVvM=; fh=+uCkpCOXZc8XRIMdF1H7Llb7vgUyVdvOBa+OgntphkM=; b=ClnKVuR9q+2U8H7A2UX6T/CTdQT0JpZ3YxmRD0vHE3rCuKyxTD6w38lWaRJgJ4LgnO UU58gazZxg4ZtslmLF4lJeBw5eCVXhAGs9LKmVWeOPJDSl8seUM4dgkDdBS7DLjpyVb6 cCasr/Q6EnsGAzUa7vJCX7B5ZLX38RIfwg9UjoV4HbLmS7v53nt1IkvtA0WJAMMVi59+ Z2x9mgwjMsYhbjkBhE5hNEmfm5RwhGIbKC9iX8YdTi8H0sek4GqxhaS+57GG0WVhobfi yfhAEv1jlayDniQ8OkSjG+rKyVeQS+WQZcMF6MywzfPUr1BZmbiFXYMkQgBJa35b5shs ydDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ehmBPH6b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ka40-20020a056a0093a800b006c4f047a75asi14180820pfb.225.2023.11.28.22.52.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 22:52:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ehmBPH6b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 191E780C0A56; Tue, 28 Nov 2023 22:52:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377036AbjK2Gvu (ORCPT + 99 others); Wed, 29 Nov 2023 01:51:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231393AbjK2Gvr (ORCPT ); Wed, 29 Nov 2023 01:51:47 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D31410F0 for ; Tue, 28 Nov 2023 22:51:52 -0800 (PST) X-UUID: c3517d028e8311eea33bb35ae8d461a2-20231129 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=na6Um5bZE/lrzzyPLjzBP7E/V75yxzke3oahh4HsVvM=; b=ehmBPH6bcijIl4lJVtyGEm0Y8rxbngAzJUUvW00bdUx0WO06cFSmvDDQvtEQ0wMg+h5+3775wE3gYHMPBNriIbY/jr/mjAwgQ6wKXGyRzpue4WL3O2KDqQsPSyIUiyKMVKrfOs5kKqdRFWZ3wRS4jW9emluZSJQGP81I6iRcpo0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.34,REQID:d9b25bc2-f4ee-4621-af13-ed8314a73867,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:abefa75,CLOUDID:c5e53273-1bd3-4f48-b671-ada88705968c,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR: NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULN X-UUID: c3517d028e8311eea33bb35ae8d461a2-20231129 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 267744989; Wed, 29 Nov 2023 14:51:46 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 29 Nov 2023 14:51:44 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Wed, 29 Nov 2023 14:51:44 +0800 From: Kuan-Ying Lee To: Matthias Brugger , AngeloGioacchino Del Regno CC: , , , , , Kuan-Ying Lee , , , Subject: [PATCH v2 0/3] Fix GDB commands error Date: Wed, 29 Nov 2023 14:51:37 +0800 Message-ID: <20231129065142.13375-1-Kuan-Ying.Lee@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--4.712100-8.000000 X-TMASE-MatchedRID: Xtk5aVnIUKpBEeXXYJxA3huZoNKc6pl+MVx/3ZYby7/jud2x7TPVt0pf KXQfMT86VUTnw0FQboc7/+RrYRAMW+g9HcxTn+DoP0HVIeixJdCuiRuR9mCaukYvSDWdWaRhbCp JOk5WRE/jCeE5v4lH5IAy6p60ZV62JW+71yEen6Zq8/xv2Um1avoLR4+zsDTtuVfc976pNypM1p XMu+IS/QAcUADeXmG7puWh80OThW5LFvCB7sGQg6YT3rx3c0p4nWgPrCj7FiKrfaTjXvF3NsapL HI0FIIU2WlY2vGr17l2a1GxGYqQBIlk9PZkM+7M8PZB/MwMuOGjrlS58dwO+A== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.712100-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: 80D5F2A9B89B0C5D38680BD326EF260A91A1AF04B08E5F621849C72AC8F48DC82000:8 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 28 Nov 2023 22:52:02 -0800 (PST) This patchset fix some issues of gdb command. Patch 1: - Fix lx-ps command error Patch 2: - Fix stackdepot usage error Patch 3: - Remove exception handling - Refine the printing format --- V1->V2: - Remove unnecessary variable. (Thanks Oleg) - Refine commit message. Kuan-Ying Lee (3): scripts/gdb/tasks: Fix lx-ps command error scripts/gdb/stackdepot: Rename pool_index to pools_num scripts/gdb: Remove exception handling and refine print format scripts/gdb/linux/page_owner.py | 58 ++++++++++++++------------------- scripts/gdb/linux/slab.py | 3 +- scripts/gdb/linux/stackdepot.py | 6 ++-- scripts/gdb/linux/tasks.py | 18 ++++------ 4 files changed, 36 insertions(+), 49 deletions(-) -- 2.18.0