forked from Imagelibrary/binutils-gdb
Use bool in bpstat
This changes bpstat to use 'bool' rather than 'char', and updates the uses.
This commit is contained in:
@@ -172,7 +172,7 @@ exception_catchpoint::check_status (struct bpstat *bs)
|
||||
std::string type_name;
|
||||
|
||||
this->breakpoint::check_status (bs);
|
||||
if (bs->stop == 0)
|
||||
if (!bs->stop)
|
||||
return;
|
||||
|
||||
if (self->pattern == NULL)
|
||||
@@ -200,7 +200,7 @@ exception_catchpoint::check_status (struct bpstat *bs)
|
||||
if (name != nullptr)
|
||||
{
|
||||
if (self->pattern->exec (name, 0, NULL, 0) != 0)
|
||||
bs->stop = 0;
|
||||
bs->stop = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user