From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jYSDU-0006W1-TY for mharc-qemu-trivial@gnu.org; Tue, 12 May 2020 06:32:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYSDS-0006Sg-TL for qemu-trivial@nongnu.org; Tue, 12 May 2020 06:32:50 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:47717 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jYSDR-0007TM-TQ for qemu-trivial@nongnu.org; Tue, 12 May 2020 06:32:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589279568; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o+SFxNiQTSKSfzcy81S2xitOyf6spOQEd9fCWLhnCeY=; b=ZtHj31jcKzfQXLfG0JazG3eEB1oree8qqDZTkzgunrXPRrwVb1hDvTKpYFILtaxj6rFceA weisZEdzn9aQ9xMBifcxXuXkYuLyx5hUeAfaztPhgQsVXV3Ih7FMy7Wpj9mf6M2RSk5EgQ LbKhec/FXQg8bYzo+OOtaP7kR+znq+I= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-339-889V2mhYORiR_GxzniAkGw-1; Tue, 12 May 2020 06:32:46 -0400 X-MC-Unique: 889V2mhYORiR_GxzniAkGw-1 Received: by mail-wr1-f71.google.com with SMTP id h12so6731770wrr.19 for ; Tue, 12 May 2020 03:32:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o+SFxNiQTSKSfzcy81S2xitOyf6spOQEd9fCWLhnCeY=; b=RhzrrMZPFbscEaXcdGuAE4qax6jQu5QQoYKNZMF7UNgmydcQyeKTt+lRJxtYq/3zWf 2/uTT9j0mw08kE8ZNNm0S97aPUQn6ziyDqa7ZDFjeMJ0cdiSG7vHMRw/3faqx9+m7+pf Lcd91jWBXFsRjzilHQmH79wUOvZVkG32q2Yk6P7lfEJm3C9lcbSt3LIlrWykztLlywHu 8+mjcFPKkC4yXYb21INMNANbzPqB7nPZvt5/Lwj6lcfGFZ5CupYPA7MnAAVcIQLFjMiI fB8V1a16omcFIu1hYRq8znaPfyXZsVkDvAoLqXtFHhYa7qijMOb9J0hnHdlSukhG4tji MZZw== X-Gm-Message-State: AGi0PuYsLgTtmLd6D8ODVZIcfFyyiBf6MaCAxr2LcnI5ZcQyLaMZUJaK IOktzqzhweBKiIwWyIu2WzpUkiDIMgw03xYpt7ozB7PWftGoy/wI4mZctJrsm5R7eCH4qhB6Gd9 k/Rfmh9VhhmHng2aE9g== X-Received: by 2002:adf:cc81:: with SMTP id p1mr23275923wrj.192.1589279565426; Tue, 12 May 2020 03:32:45 -0700 (PDT) X-Google-Smtp-Source: APiQypIdq6xklNhE6zF2ex6riiZ2WEeaRBZwdbLSVo8fxAyW06Ghhyjcwp0kiKh5i+SK1pgUYQQIhQ== X-Received: by 2002:adf:cc81:: with SMTP id p1mr23275905wrj.192.1589279565172; Tue, 12 May 2020 03:32:45 -0700 (PDT) Received: from x1w.redhat.com (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id u16sm21863464wrq.17.2020.05.12.03.32.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 03:32:44 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Markus Armbruster , John Snow , Paolo Bonzini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Cleber Rosa , kvm@vger.kernel.org, Eduardo Habkost , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Marcelo Tosatti , Stefan Hajnoczi , Fam Zheng , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v4 1/6] scripts/qemugdb: Remove shebang header Date: Tue, 12 May 2020 12:32:33 +0200 Message-Id: <20200512103238.7078-2-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200512103238.7078-1-philmd@redhat.com> References: <20200512103238.7078-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8; text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=207.211.31.81; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 01:41:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2020 10:32:51 -0000 From: Philippe Mathieu-Daudé These scripts are loaded as plugin by GDB (and they don't have any __main__ entry point). Remove the shebang header. Acked-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé --- scripts/qemugdb/__init__.py | 3 +-- scripts/qemugdb/aio.py | 3 +-- scripts/qemugdb/coroutine.py | 3 +-- scripts/qemugdb/mtree.py | 4 +--- scripts/qemugdb/tcg.py | 1 - scripts/qemugdb/timers.py | 1 - 6 files changed, 4 insertions(+), 11 deletions(-) diff --git a/scripts/qemugdb/__init__.py b/scripts/qemugdb/__init__.py index 969f552b26..da8ff612e5 100644 --- a/scripts/qemugdb/__init__.py +++ b/scripts/qemugdb/__init__.py @@ -1,5 +1,4 @@ -#!/usr/bin/python - +# # GDB debugging support # # Copyright (c) 2015 Linaro Ltd diff --git a/scripts/qemugdb/aio.py b/scripts/qemugdb/aio.py index 2ba00c4444..d7c1ba0c28 100644 --- a/scripts/qemugdb/aio.py +++ b/scripts/qemugdb/aio.py @@ -1,5 +1,4 @@ -#!/usr/bin/python - +# # GDB debugging support: aio/iohandler debug # # Copyright (c) 2015 Red Hat, Inc. diff --git a/scripts/qemugdb/coroutine.py b/scripts/qemugdb/coroutine.py index 41e079d0e2..db61389022 100644 --- a/scripts/qemugdb/coroutine.py +++ b/scripts/qemugdb/coroutine.py @@ -1,5 +1,4 @@ -#!/usr/bin/python - +# # GDB debugging support # # Copyright 2012 Red Hat, Inc. and/or its affiliates diff --git a/scripts/qemugdb/mtree.py b/scripts/qemugdb/mtree.py index 3030a60d3f..8fe42c3c12 100644 --- a/scripts/qemugdb/mtree.py +++ b/scripts/qemugdb/mtree.py @@ -1,5 +1,4 @@ -#!/usr/bin/python - +# # GDB debugging support # # Copyright 2012 Red Hat, Inc. and/or its affiliates @@ -84,4 +83,3 @@ def print_item(self, ptr, offset = gdb.Value(0), level = 0): while not isnull(subregion): self.print_item(subregion, addr, level) subregion = subregion['subregions_link']['tqe_next'] - diff --git a/scripts/qemugdb/tcg.py b/scripts/qemugdb/tcg.py index 18880fc9a7..16c03c06a9 100644 --- a/scripts/qemugdb/tcg.py +++ b/scripts/qemugdb/tcg.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # # GDB debugging support, TCG status diff --git a/scripts/qemugdb/timers.py b/scripts/qemugdb/timers.py index f0e132d27a..46537b27cf 100644 --- a/scripts/qemugdb/timers.py +++ b/scripts/qemugdb/timers.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # GDB debugging support # -- 2.21.3