Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb@sourceware.org, gdb@sources.redhat.com
Subject: Re: Async function calls
Date: Thu, 20 Mar 2008 17:24:00 -0000	[thread overview]
Message-ID: <20080320165939.GA25765@caradoc.them.org> (raw)
Message-ID: <20080320172400.K9NvvZfhK-o9fmHaSzGM3oJvc2oJzUfeS4ZxdkPaAss@z> (raw)
In-Reply-To: <frtksl$htu$1@ger.gmane.org>

On Thu, Mar 20, 2008 at 03:21:44PM +0300, Vladimir Prus wrote:
> 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.

You're right, it wouldn't help unless we did this all the way from
the top: centralized parsing for commands before we dispatched to
the command functions, that knew what was an expression.  And I don't
think that's a practical idea.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2008-03-20 17:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20 12:10 Vladimir Prus
2008-03-20 12:22 ` Daniel Jacobowitz
2008-03-20 16:23   ` Vladimir Prus
2008-03-20 17:01     ` Daniel Jacobowitz [this message]
2008-03-20 17:24       ` Daniel Jacobowitz
2008-03-20 17:35   ` Michael Snyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080320165939.GA25765@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox