Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Karganov Konstantin <kostik@ispras.ru>
Cc: gdb@sources.redhat.com
Subject: Re: MI usage inside a user-defined commands
Date: Wed, 06 Jul 2005 13:50:00 -0000	[thread overview]
Message-ID: <20050706135004.GA25977@nevyn.them.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0507061717550.15428-100000@ispserv.ispras.ru>

On Wed, Jul 06, 2005 at 05:32:22PM +0400, Karganov Konstantin wrote:
> 
> > > It seems that user-defined commands are always parsed by console cmd-line 
> > > interpreter (no matter what interpreter was specified).
> > 
> > Yes, that's correct.  define is a feature of the CLI, not of core GDB.
> > I think this is as designed.
> 
> This looks a little bit strange - when I switch to MI I can use both MI 
> and CLI syntax but suddenly get a error with MI command ("hey! I've just 
> switched to MI mode! what's the..."). 

The ability to use CLI syntax in MI mode is documented in the manual as
an unsupported, transitional feature.  It's for your convenience when
poking at MI by hand - it's not to be used by frontends.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


  reply	other threads:[~2005-07-06 13:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-06 12:31 Karganov Konstantin
2005-07-06 13:14 ` Daniel Jacobowitz
2005-07-06 13:46   ` Karganov Konstantin
2005-07-06 13:50     ` Daniel Jacobowitz [this message]
2005-07-06 13:57       ` Karganov Konstantin
2005-07-07 12:21       ` Karganov Konstantin
2005-07-07 13:03         ` Daniel Jacobowitz
2005-07-07 14:16           ` Karganov Konstantin
2005-07-07 21:47             ` Nick Roberts
2005-07-06 21:26     ` Nick Roberts
2005-07-06 21:28       ` Daniel Jacobowitz
2005-07-06 22:50         ` Queries in MI [was Re: MI usage inside a user-defined commands] Nick Roberts
2005-07-06 23:06           ` Daniel Jacobowitz
2005-07-06 23:46           ` Bob Rossi
2005-07-07  0:33             ` Queries in MI Nick Roberts
2005-07-07  1:34               ` Bob Rossi
2005-07-07  3:32                 ` Nick Roberts
2005-07-06 21:41       ` MI usage inside a user-defined commands Bob Rossi
2005-07-06 14:02 Alain Magloire

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=20050706135004.GA25977@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=kostik@ispras.ru \
    /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