]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Require a command argument in gdb.execute_mi
authorTom Tromey <tromey@adacore.com>
Tue, 15 Oct 2024 16:50:01 +0000 (10:50 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 18 Oct 2024 17:50:27 +0000 (11:50 -0600)
commit32af040ef2fcbeccf746acef230db826fad951f9
treeb15237dba7cf86ea9e86372cb8b19d770a51261c
parentb2841da4f20b83b22fb46d82a86fe53ba7448469
Require a command argument in gdb.execute_mi

Hannes pointed out that gdb.execute_mi() will crash.
This patch fixes the bug.

Reviewed-By: Guinevere Larsen <guinevere@redhat.com>
gdb/python/py-mi.c
gdb/testsuite/gdb.python/py-exec-mi.exp