aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-events.py
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2021-11-08 12:25:56 +0000
committerAndrew Burgess <aburgess@redhat.com>2021-12-14 10:57:19 +0000
commit3be0fed62e0dfb36d674944fe85eaebbf70b9029 (patch)
treebb000902e8d72aafb1a74b493c09f66352116d13 /gdb/testsuite/gdb.python/py-events.py
parentf76d800be844dd2aa4aa8f189a3ace16c5e931bc (diff)
downloadbinutils-3be0fed62e0dfb36d674944fe85eaebbf70b9029.zip
binutils-3be0fed62e0dfb36d674944fe85eaebbf70b9029.tar.gz
binutils-3be0fed62e0dfb36d674944fe85eaebbf70b9029.tar.bz2
gdb/mi: int to bool conversion in mi_execute_cli_command
Change an argument of mi_execute_cli_command from int to bool. Update the callers to take this into account. Within mi_execute_cli_command, update a comparison of a pointer to 0 with a comparison to nullptr, and add an assert, if we are not using the argument string then the string should be nullptr. Also removed a cryptic 'gdb_????' comment, which isn't really helpful. There should be no user visible changes after this commit.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-events.py')
0 files changed, 0 insertions, 0 deletions