Skip to content

Commit

Permalink
scripts/qemugdb: Remove shebang header
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd committed May 31, 2020
1 parent c86274b commit 6acc5c0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 11 deletions.
3 changes: 1 addition & 2 deletions scripts/qemugdb/__init__.py
@@ -1,5 +1,4 @@
#!/usr/bin/python

#
# GDB debugging support
#
# Copyright (c) 2015 Linaro Ltd
Expand Down
3 changes: 1 addition & 2 deletions scripts/qemugdb/aio.py
@@ -1,5 +1,4 @@
#!/usr/bin/python

#
# GDB debugging support: aio/iohandler debug
#
# Copyright (c) 2015 Red Hat, Inc.
Expand Down
3 changes: 1 addition & 2 deletions scripts/qemugdb/coroutine.py
@@ -1,5 +1,4 @@
#!/usr/bin/python

#
# GDB debugging support
#
# Copyright 2012 Red Hat, Inc. and/or its affiliates
Expand Down
4 changes: 1 addition & 3 deletions scripts/qemugdb/mtree.py
@@ -1,5 +1,4 @@
#!/usr/bin/python

#
# GDB debugging support
#
# Copyright 2012 Red Hat, Inc. and/or its affiliates
Expand Down Expand Up @@ -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']

1 change: 0 additions & 1 deletion scripts/qemugdb/tcg.py
@@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# GDB debugging support, TCG status
Expand Down
1 change: 0 additions & 1 deletion scripts/qemugdb/timers.py
@@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# GDB debugging support
#
Expand Down

0 comments on commit 6acc5c0

Please sign in to comment.