public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Bob Rossi <bob@brasko.net>
Cc: gdb@sources.redhat.com
Subject: Re: GDB with options -i=mi & --nw doesn't enable mi
Date: Thu, 30 Oct 2003 19:10:00 -0000	[thread overview]
Message-ID: <3FA16220.1080906@redhat.com> (raw)
In-Reply-To: <20031030031516.GA5159@white>

> Hi,
> 
> If I start gdb like this
> 
> gdb --i=mi --nw ./inferior_prog,

Just "gdb -i=mi" is sufficient.  From the source code:

             /* -nw is equivalent to -i=console.  */

so the above is equivalent to:

	-i=mi -i=console

> then the mi interpreter doesn't start.

> This makes things difficult in the Cygwin environment for me, where the
> Insight GUI comes up by default. Is this a bug? and/or is there a nice work
> around?

 From 5.3 on, Insight was made a separate program and the querk of "gdb" 
sometimes starting "insight" was eliminated.  If you want to be robust 
against an old old gdb, try:

	-nw -i=mi

> I am using GDB 6.0 on Linux 2.4.18 (debian).

Andrew


  reply	other threads:[~2003-10-30 19:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-30  3:15 Bob Rossi
2003-10-30 19:10 ` Andrew Cagney [this message]
2003-10-30 20:45   ` Eli Zaretskii

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=3FA16220.1080906@redhat.com \
    --to=ac131313@redhat.com \
    --cc=bob@brasko.net \
    --cc=gdb@sources.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).