This is the mail archive of the
mailing list for the GDB project.
Re: [RFC] Using bt command in async mode
>>>>> "Pedro" == Pedro Alves <firstname.lastname@example.org> writes:
>> Is there some other approach you'd prefer?
Pedro> The approach I though of following would be to
Pedro> do it explicitly in each command, given that we
Pedro> may have commands that may apply to another thread
Pedro> not the current one in non-stop mode, prohibiting those
Pedro> commands early may be wrong.
Pedro> Something similar to ERROR_NO_INFERIOR.
Pedro> I'm not sure we're settled on --thread or not, so
Pedro> I didn't come forward with this.
I think this can still work with the patch I'm committing. A command
that is ok for async could dynamically decide that it is not ok and
throw an error.