Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Tom Tromey <tromey@redhat.com>
Cc: Nick Roberts <nickrob@snap.net.nz>, gdb-patches@sourceware.org
Subject: Re: [RFC] Using bt command in async mode
Date: Thu, 10 Apr 2008 15:22:00 -0000	[thread overview]
Message-ID: <20080410142029.GB21662@caradoc.them.org> (raw)
In-Reply-To: <m3y77x1mxb.fsf@fleche.redhat.com>

On Tue, Apr 01, 2008 at 11:53:52AM -0600, Tom Tromey wrote:
> What do you think of this?  It moves the flag into the command object
> instead of hard-coding it into a big 'if'.

Seems like this will be just as awkward in the long term, but it's an
improvement.  OK if it tested fine.

> ChangeLog:
> 2008-04-01  Tom Tromey  <tromey@redhat.com>
> 
> 	* cli/cli-decode.h (CMD_ASYNC_OK): New define.
> 	(set_cmd_async_ok, get_cmd_async_ok): Declare.
> 	* cli/cli-decode.c (set_cmd_async_ok): New function.
> 	(get_cmd_async_ok): New function.
> 	* cli/cli-cmds.c (init_cli_cmds): Mark "pwd", "help", "info", and
> 	"show" as async-ok.
> 	* top.c (execute_command): Use get_cmd_async_ok.
> 	* infcmd.c: Include cli/cli-decode.h.
> 	(_initialize_infcmd): Mark "interrupt" as async-ok.
> 	* Makefile.in (infcmd.o): Depend on cli_decode_h.

-- 
Daniel Jacobowitz
CodeSourcery


  parent reply	other threads:[~2008-04-10 14:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01  2:08 Nick Roberts
2008-04-01 19:55 ` Tom Tromey
2008-04-01 22:30   ` Nick Roberts
2008-04-10 16:05     ` Vladimir Prus
2008-04-11 22:55       ` Nick Roberts
2008-04-10 15:22   ` Daniel Jacobowitz [this message]
2008-04-10 15:36     ` Tom Tromey
2008-04-10 15:39       ` Pedro Alves
2008-04-17  2:58         ` Tom Tromey
2008-04-10 15:53       ` Daniel Jacobowitz
2008-04-17  2:47       ` Tom Tromey

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=20080410142029.GB21662@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=nickrob@snap.net.nz \
    --cc=tromey@redhat.com \
    /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