diff options
author | Andrew Burgess <aburgess@redhat.com> | 2021-11-08 12:25:56 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2021-12-14 10:57:19 +0000 |
commit | 3be0fed62e0dfb36d674944fe85eaebbf70b9029 (patch) | |
tree | bb000902e8d72aafb1a74b493c09f66352116d13 /gdb/testsuite/gdb.python/py-events.py | |
parent | f76d800be844dd2aa4aa8f189a3ace16c5e931bc (diff) | |
download | binutils-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