Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jYP09-0004UI-QY for mharc-qemu-trivial@gnu.org; Tue, 12 May 2020 03:06:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYP06-0004MC-Ui; Tue, 12 May 2020 03:06:50 -0400 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:46299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYP05-00084h-9A; Tue, 12 May 2020 03:06:50 -0400 Received: by mail-ej1-x629.google.com with SMTP id e2so10096108eje.13; Tue, 12 May 2020 00:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1gSc7LFPYOnREZ6sq9YNoDIjd0HkNcI53RD4ReDPMo8=; b=TIRZyz3tTxVFXmISR7RCMUHxDLoa7+Ow0cBZFioDIexcDxsFhsE9A+XAyJ2cDDyfmX Z4ZBVzdVZGVqqBa4UGHTqCozVdIh68PfyyK1mwP+F5nV6zsPQpIDT8CAUEWLLrkPvqFV fXsWfIfjH0S6cvgp9vZ1eBZ3ADW3+zdZhi3IqKrEHqTYbxT82ZPi863PdHJunZZuZXXe E/iY/xghLYD8yYO3b1UxxK2qAmQ/20L6/PaBOLJ3KM6aDouv96cOo00T19fNxPz42/D8 PpGWjRbS/711R5N7l1dcoCZQlFGk7MSewaCiubDjj1KGtoS0tocGJhw/Xyw1KOFue0/q aqpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=1gSc7LFPYOnREZ6sq9YNoDIjd0HkNcI53RD4ReDPMo8=; b=p9ejQ/Mc4oTV283F+aNPULTbDZ1Uj5iaUViuVQ+Z6ZU5ODSS+U8+PNi4llcf7kGXKd 8j7ivuZS+pPTl7NuPm5E9uJG3z+tK9Nmusn1TKvKbg+C6LE0paesSezrqyC60WFzQTno DIWJNuW+9LtDUS3oICATzOX+mKJMpG39oNFwcu4nPJu0iIWNEt08PYyEorPXXU0fX16J GusO8Aq14Ex4RDz8O8XTfB1Ctn6cU3T8/g4Huwsgg7GHMEnLQfKLj7+MjsOmfQJByoZi 4Ftv34jzbiCwuus4bOTlRF/V3kZuasidN+InV9IcduBDT0LRgRxIdnKnz5x2btG7cWZ+ jt+w== X-Gm-Message-State: AGi0PuaOkeBHZMshlpzQc4NI38xRlWmD9FNzJvmJK/rW8iTm47MylViG gaOO6i3Qa8tbChXpWoBdeidvCUBTcyo= X-Google-Smtp-Source: APiQypI+dAkxkeAi0TLFotqw8z/vyi/JFS99rY/RWpKbh2xQ7G3w4IZ8lIbLC3LY+cvGAaVcwqDGxw== X-Received: by 2002:a17:906:3607:: with SMTP id q7mr15846126ejb.313.1589267206729; Tue, 12 May 2020 00:06:46 -0700 (PDT) Received: from localhost.localdomain (17.red-88-21-202.staticip.rima-tde.net. [88.21.202.17]) by smtp.gmail.com with ESMTPSA id ch8sm247345ejb.53.2020.05.12.00.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 00:06:45 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Fam Zheng , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Markus Armbruster , Eduardo Habkost , qemu-block@nongnu.org, qemu-trivial@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefan Hajnoczi , John Snow , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v3 1/2] scripts/qemugdb: Remove shebang header Date: Tue, 12 May 2020 09:06:41 +0200 Message-Id: <20200512070642.23986-2-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200512070642.23986-1-f4bug@amsat.org> References: <20200512070642.23986-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-ej1-x629.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, 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 07:06:51 -0000 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 - 5 files changed, 4 insertions(+), 10 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 -- 2.21.3