This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Async function calls
Daniel Jacobowitz wrote:
> On Thu, Mar 20, 2008 at 10:44:46AM +0300, Vladimir Prus wrote:
>> Maybe, somebody have bright ideas?
>
> Could we pick out the inferior function calls and evaluate them first,
> with continuations? Except that could change order of evaluation;
> we'd have to read the values of variables at the same time.
Will it help? Say, we do:
print foo()
then to do it async way, we have to do the function call, and then
'print' should get back to action and print the value. Right now,
print_command has no continuations, so we'll have to add it.
And likewise, it seems that every command that can call a function
will have to be converted to use continuation.
- Volodya