2
0
Эх сурвалжийг харах

scripts/qemugdb: Remove shebang header

These scripts are loaded as plugin by GDB (and they don't
have any __main__ entry point). Remove the shebang header.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200512103238.7078-2-philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Philippe Mathieu-Daudé 5 жил өмнө
parent
commit
6acc5c0469

+ 1 - 2
scripts/qemugdb/__init__.py

@@ -1,5 +1,4 @@
-#!/usr/bin/python
-
+#
 # GDB debugging support
 # GDB debugging support
 #
 #
 # Copyright (c) 2015 Linaro Ltd
 # Copyright (c) 2015 Linaro Ltd

+ 1 - 2
scripts/qemugdb/aio.py

@@ -1,5 +1,4 @@
-#!/usr/bin/python
-
+#
 # GDB debugging support: aio/iohandler debug
 # GDB debugging support: aio/iohandler debug
 #
 #
 # Copyright (c) 2015 Red Hat, Inc.
 # Copyright (c) 2015 Red Hat, Inc.

+ 1 - 2
scripts/qemugdb/coroutine.py

@@ -1,5 +1,4 @@
-#!/usr/bin/python
-
+#
 # GDB debugging support
 # GDB debugging support
 #
 #
 # Copyright 2012 Red Hat, Inc. and/or its affiliates
 # Copyright 2012 Red Hat, Inc. and/or its affiliates

+ 1 - 3
scripts/qemugdb/mtree.py

@@ -1,5 +1,4 @@
-#!/usr/bin/python
-
+#
 # GDB debugging support
 # GDB debugging support
 #
 #
 # Copyright 2012 Red Hat, Inc. and/or its affiliates
 # 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):
         while not isnull(subregion):
             self.print_item(subregion, addr, level)
             self.print_item(subregion, addr, level)
             subregion = subregion['subregions_link']['tqe_next']
             subregion = subregion['subregions_link']['tqe_next']
-

+ 0 - 1
scripts/qemugdb/tcg.py

@@ -1,4 +1,3 @@
-#!/usr/bin/python
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 #
 #
 # GDB debugging support, TCG status
 # GDB debugging support, TCG status

+ 0 - 1
scripts/qemugdb/timers.py

@@ -1,4 +1,3 @@
-#!/usr/bin/python
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 # GDB debugging support
 # GDB debugging support
 #
 #