Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [pushed 1/2] [gdb] Fix file mode of gdb/microblaze-linux-nat.c
@ 2026-06-15  8:29 Tom de Vries
  2026-06-15  8:29 ` [pushed 2/2] [gdb] Fix flake8 warning in gdb.python/py-inf-exited-at-exit.py Tom de Vries
  0 siblings, 1 reply; 2+ messages in thread
From: Tom de Vries @ 2026-06-15  8:29 UTC (permalink / raw)
  To: gdb-patches

With current trunk we have:
...
$ pre-commit run check-file-mode --all-files
check-file-mode.........................................................Failed
- hook id: check-file-mode
- exit code: 1

100755 ... gdb/microblaze-linux-nat.c
...

Fix this using chmod -x.
---
 gdb/microblaze-linux-nat.c | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 gdb/microblaze-linux-nat.c

diff --git a/gdb/microblaze-linux-nat.c b/gdb/microblaze-linux-nat.c
old mode 100755
new mode 100644

base-commit: b55fa8294aebd5e9587169f3c74decea7fec5c33
-- 
2.51.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pushed 2/2] [gdb] Fix flake8 warning in gdb.python/py-inf-exited-at-exit.py
  2026-06-15  8:29 [pushed 1/2] [gdb] Fix file mode of gdb/microblaze-linux-nat.c Tom de Vries
@ 2026-06-15  8:29 ` Tom de Vries
  0 siblings, 0 replies; 2+ messages in thread
From: Tom de Vries @ 2026-06-15  8:29 UTC (permalink / raw)
  To: gdb-patches

With current trunk we have:
...
$ pre-commit run flake8 --all-files
flake8..................................................................Failed
- hook id: flake8
- exit code: 1

gdb.python/py-inf-exited-at-exit.py:22:1: F821 undefined name 'gdb'
...

Fix this by adding the missing import.
---
 gdb/testsuite/gdb.python/py-inf-exited-at-exit.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gdb/testsuite/gdb.python/py-inf-exited-at-exit.py b/gdb/testsuite/gdb.python/py-inf-exited-at-exit.py
index 9a5440b083f..4a73e562bc4 100644
--- a/gdb/testsuite/gdb.python/py-inf-exited-at-exit.py
+++ b/gdb/testsuite/gdb.python/py-inf-exited-at-exit.py
@@ -13,6 +13,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+import gdb
+
 
 def exit_event_handler(event):
     inf = event.inferior
-- 
2.51.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-15  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15  8:29 [pushed 1/2] [gdb] Fix file mode of gdb/microblaze-linux-nat.c Tom de Vries
2026-06-15  8:29 ` [pushed 2/2] [gdb] Fix flake8 warning in gdb.python/py-inf-exited-at-exit.py Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox