Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2835732rdh; Sun, 26 Nov 2023 23:05:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEee3S6qT4rw3Bn8OlMx4b4A9jKI4o+Dd9pCANdNAtZbmztNn9az7um4uawUsWmxWUeBtIj X-Received: by 2002:a05:6808:1211:b0:3b2:e34f:349b with SMTP id a17-20020a056808121100b003b2e34f349bmr14124281oil.42.1701068750413; Sun, 26 Nov 2023 23:05:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701068750; cv=none; d=google.com; s=arc-20160816; b=l2QVm8fJyLxdNXBSMgtk6A+Z/CqBmt9VlrgnXg4HtF6ORry1wdsdQOkKkfCHhsKlzO wvUM247gS+hZpKxW5iDKHJEew7LSrd4ZM6Z3+yB7GWQtKJG6HkzPxDHAvDmACdlIm7o4 8aY874ESqfX5/0l4LHBS3Semg38k3sPjdgDfZcluSLm4XhuVq0FFGRwUCFQTpNGit/sl BkZph1mfS9c6imDhrACVSXTlxxoV1U1gDjJVZJVSBj0YZ+QtBOszCfguv/D3PbbdmsX9 oGI6G/RmSms04kUKnCbp1esYDT8PeygoMR5IrHy1M/+7VP9+9wIDC/b9XdjBpluhB2qk FwgQ== 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=NYKZdfMEZ8N9fLthqw1urmuNwplT4YFs5p5D6iB4J6Q=; fh=+uCkpCOXZc8XRIMdF1H7Llb7vgUyVdvOBa+OgntphkM=; b=g7nc9iEPSryW7v7ROu6wK5f8HJwGiuXLYYF1umB+3LYSGhaq/29Dr7rhPN47fxzT3C FmyrJFWYASwh6gQCoffWarekUCCxr73c8D/emxBbLtm+unfZPypV6mOnGMtzVofIShqE /zRmXB0QaqdYWD+pXADQ7V6ZpZpgeURSgv0gijR11Lnoz9rmfn6SnKyzSTaKHYlYq/IX LKvw95AZJ+xqxp8lSItyPcKKz0Obi95SD3E4/bFIa1tLQtWOmXpvc2YtovmoHNHKLuFq AcuGqu84JKmuWgF2V4cizHP0+sb+/rjAoIc+z9hHanks1IOsnWfspdR9mxdECSjxK0cy x6uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=EC7Qa0Ki; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id u31-20020a63471f000000b005b967ddd984si9230514pga.781.2023.11.26.23.05.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 23:05:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=EC7Qa0Ki; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 379728057E7E; Sun, 26 Nov 2023 23:05:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229800AbjK0HFS (ORCPT + 99 others); Mon, 27 Nov 2023 02:05:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjK0HFQ (ORCPT ); Mon, 27 Nov 2023 02:05:16 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E97F4133 for ; Sun, 26 Nov 2023 23:05:18 -0800 (PST) X-UUID: 4f332f068cf311ee8051498923ad61e6-20231127 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=NYKZdfMEZ8N9fLthqw1urmuNwplT4YFs5p5D6iB4J6Q=; b=EC7Qa0Ki5KIbmkklpYBf8JCkTVw7GbNx4ZYahGqkPDp5WY5B3JUG88YpwRFImEn8EoTNmoYWrszVWCNEtP5SGtqL/LULVNX6dRO49g6T/mdZUYL9fppM/7sFahcpNXnpoqHDF/CzDuVZYm7CMJWErNeRzy7yOrCH5TYfmmhZNWg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.33,REQID:eda165ed-208f-4a28-a28e-bf5eac16fdf0,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:364b77b,CLOUDID:a2c01b73-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_ULN,TF_CID_SPAM_SNR X-UUID: 4f332f068cf311ee8051498923ad61e6-20231127 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1440168366; Mon, 27 Nov 2023 15:05:12 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) 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; Mon, 27 Nov 2023 15:05:10 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Mon, 27 Nov 2023 15:05:10 +0800 From: Kuan-Ying Lee To: Matthias Brugger , AngeloGioacchino Del Regno CC: , , , , , Kuan-Ying Lee , , , Subject: [PATCH 0/3] Fix GDB commands error Date: Mon, 27 Nov 2023 15:04:00 +0800 Message-ID: <20231127070404.4192-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--1.823900-8.000000 X-TMASE-MatchedRID: 6efVvalF+GhBEeXXYJxA3huZoNKc6pl+MVx/3ZYby7/jud2x7TPVt/vO +ii1kEU9/pKwAK6MbUroNOYPho+2K3kXYHF7PdsXtxwPIeWtDDlKPIx+MJF9o5soi2XrUn/J8m+ hzBStansUGm4zriL0oQtuKBGekqUpOlxBO2IcOBZcKP1ilp4RwRIWchrxYUogoPAkwJJUDVxm9A 2MjQXQP/PURVwGjI4MF7+B6EXI4pUSA+HPw22nHoCBf9PLMTwKuFgIMLB2+FfBkGBTIlURuXoXD z8+lMxFpW+aIDJ4DaRzkxJ+SIkUjmncuUSUEdOX X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--1.823900-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: 3BFE860726066AA1B74EC332893E7866F20F00E093DBA136B8A9977664D1C52E2000:8 X-MTK: N X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Sun, 26 Nov 2023 23:05:43 -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 --- This patchset is based on linux-next-20231127. Kuan-Ying Lee (3): scripts/gdb/tasks: Fix lx-ps command error scripts/gdb/stackdepot: Rename pool_index_cached 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 | 12 +++---- 4 files changed, 33 insertions(+), 46 deletions(-) -- 2.18.0