Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp379807pjb; Wed, 22 Jul 2020 02:15:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDW0lokARGpvsLdXZtS887wKVr7nAgJ+eiT/kZkPHr9hkxc78PviOothRvn8U5sNhWZ8Wl X-Received: by 2002:a50:d55b:: with SMTP id f27mr30113064edj.312.1595409309520; Wed, 22 Jul 2020 02:15:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595409309; cv=none; d=google.com; s=arc-20160816; b=WAr4So7+qc9ewY/M5X1E+/TrymnvEdifQVQHLfV0dEN/3defKqD66WxehDNXudbUSp zQdyFEUcRsA9HJmuRhNqJ6wmSpeKzOXdh/C3SYVjcTj1MN6pDpdVPs6qgse2I1VEgkdi iZocAQeZZe8elIrLkqlOJ0ggHUhPauPkZUAMtp14cdP547vCD0XadQkf03mWtYoPOWnm PABO0ZpVp7EZqspz89oTYv11/MQoDUsfLbPiISzu/JoYxG0SGdycOhbLSDfx5ovPr4XH A9DYUPYgjPkePmDibt9FT2zulsnaPU/nnXTyR0ZwrsYNsDhyF+i+ALMfXHkmQNTFdiVE yeRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=ZYZjRH/Es7S7krkOLC+4d8dzWEgBPyCz/UYU6pFdugw=; b=V422GikwkTRZ3VolrgsW2EGAr8kQO++gorfnT2AL1mDSUVFFSfa89cYoqBBc0m4/gI 38AY66nz7FWmDaG9z+E21EdhNAk31CaoTGiyWjcUMEX8AbkB9Mm+6j5utU8XO57lerQw 9r4X3Ur5ty20BHt37srIfx7+aqwLfdLZj9D9R46oLZBc/ngyPnHXKoMGUwFumWOILM1R MWm/B5EPqMGuA+jEutdKWIadeFFUer1ST7pONqUUEsDaSGPFTzxNL4Vx+6KlW6wpq1P4 ngBKZ1WSxgN0FmsZav6Bs040M1JPIo5RIpn417Uu6cc70sF4AUQHN63il8E7e29WXQuA oSRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VDCYwlWw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si14059732eju.510.2020.07.22.02.14.46; Wed, 22 Jul 2020 02:15:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VDCYwlWw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731480AbgGVJNx (ORCPT + 99 others); Wed, 22 Jul 2020 05:13:53 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:23517 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731472AbgGVJNx (ORCPT ); Wed, 22 Jul 2020 05:13:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595409231; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=ZYZjRH/Es7S7krkOLC+4d8dzWEgBPyCz/UYU6pFdugw=; b=VDCYwlWwd1sQKkmH6BZH7BUJkdxHBfbKx90iQo8uXa+iSRkjZe64G6gsY7w9dRvPTXxwxe iO0PHPBPYB9/x/fUxSkEy4J7gGkgCLzs/5siVUTJoluAmQmIOPM8Edt5m3qmqf0WCMjGi3 0aVzrUOXv9mgI6Nah+KKcYUSmCBa3qU= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-212-Rgndl27MMOOnrt70oyruQw-1; Wed, 22 Jul 2020 05:13:50 -0400 X-MC-Unique: Rgndl27MMOOnrt70oyruQw-1 Received: by mail-wm1-f69.google.com with SMTP id e15so860150wme.8 for ; Wed, 22 Jul 2020 02:13:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=ZYZjRH/Es7S7krkOLC+4d8dzWEgBPyCz/UYU6pFdugw=; b=KrSotvl25Kq6CctAx98fLeaHRmIBH3ZnHz7P5K/PPxaWiwqLfw417IpkV+Jyw8TlSC kJE02AJyP7URE50X2hMVT2Xk1gLM8jXGlYLS1DRsXYV3snr/+r6JDRJJ7YP5+X9vAyEz vYCXKCpnNNv4way0XbHACUGdz3qy8IOhIpUgog4NZoOjxEi8f9IjQt0x9my0fME1HeKI MSdWKmoGailrKguZVV0b+DlvgrNWjod8BbrcQlg5SuWZOUeAgril9J9h3PiQMfcRLG6t QPgaODhrsW4npmDf5Dw9EAWTlB1vW2swanT5ieY31oUZIj1u5hadTXFJbIppubfCw8iS IztQ== X-Gm-Message-State: AOAM531CdKdWOKGoNrqykYYYPZSRcZl+9G+deuvv1xm1lnkWkh88opqF K5PgvxulileLUHSJ1521/wLG/99a1CpICLpnrF890NVgn05JAJ/JIVyYpFN8YfnBlbpDWePtYBJ QOuRI6ruhuug22p41zeeWQqI7 X-Received: by 2002:a5d:4a0b:: with SMTP id m11mr10008445wrq.407.1595409229017; Wed, 22 Jul 2020 02:13:49 -0700 (PDT) X-Received: by 2002:a5d:4a0b:: with SMTP id m11mr10008430wrq.407.1595409228738; Wed, 22 Jul 2020 02:13:48 -0700 (PDT) Received: from steredhat ([5.180.207.22]) by smtp.gmail.com with ESMTPSA id j24sm11173841wrb.49.2020.07.22.02.13.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 02:13:48 -0700 (PDT) Date: Wed, 22 Jul 2020 11:13:42 +0200 From: Stefano Garzarella To: Jan Kiszka , Kieran Bingham Cc: linux-kernel@vger.kernel.org Subject: scripts/gdb: received an error when invoking lx-symbols Message-ID: <20200722091342.c3iss32caiuuizja@steredhat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jan, Kieran, with the last Linux 5.8-rc6 I have some problems with gdb scripts. Everything is fine with Linux 5.7. When I call lx-symbols, I received this error while loading modules symbols: (gdb) set python print-stack full (gdb) target remote :1234 Remote debugging using :1234 arch_atomic_read (v=) at ../arch/x86/kernel/process.c:687 687 trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, smp_processor_id()); (gdb) lx-symbols loading vmlinux scanning for modules in /home/stefano/repos/linux_vsock/build-tiny-config loading @0xffffffffc0169000: /home/stefano/repos/linux_vsock/build-tiny-config/drivers/net/tun.ko Traceback (most recent call last): File "/home/stefano/repos/linux_vsock/build-tiny-config/scripts/gdb/linux/symbols.py", line 174, in invoke self.load_all_symbols() File "/home/stefano/repos/linux_vsock/build-tiny-config/scripts/gdb/linux/symbols.py", line 161, in load_all_symbols [self.load_module_symbols(module) for module in module_list] File "/home/stefano/repos/linux_vsock/build-tiny-config/scripts/gdb/linux/symbols.py", line 161, in [self.load_module_symbols(module) for module in module_list] File "/home/stefano/repos/linux_vsock/build-tiny-config/scripts/gdb/linux/symbols.py", line 131, in load_module_symbols sections=self._section_arguments(module)) File "/home/stefano/repos/linux_vsock/build-tiny-config/scripts/gdb/linux/symbols.py", line 98, in _section_arguments section_name_to_address = { File "/home/stefano/repos/linux_vsock/build-tiny-config/scripts/gdb/linux/symbols.py", line 99, in attrs[n]['name'].string(): attrs[n]['address'] gdb.error: There is no member named name. Error occurred in Python: There is no member named name. I'll try to bisect. Thanks, Stefano