From: Pedro Alves <pedro@codesourcery.com>
To: gdb@sourceware.org
Cc: Jusctsch <schumjs@gmail.com>
Subject: Re: gdb-mi mode- issues with command history and left and right keys
Date: Thu, 08 Sep 2011 15:40:00 -0000 [thread overview]
Message-ID: <201109081640.09886.pedro@codesourcery.com> (raw)
In-Reply-To: <32424789.post@talk.nabble.com>
On Thursday 08 September 2011 16:32:03, Jusctsch wrote:
>
> Hello all,
> When I enter gdb-mi mode on a bsd shell, I notice that I have no access to
> the up and down arrow keys for history, and left and right keys for
> travelling the line.
> Is there a way to configure gdb-mi mode for these codes? Is this a shell
> issue?
No, that's expected. gdb-mi mode does not support command line editing
(it doesn't use readline), as it's meant to be driven by a machine.
The workaround is to start in normal cli mode, and use interpreter-exec mi.
That's not the same, but it's close enough in most cases.
(I've wished MI used readline myself before thought).
--
Pedro Alves
next prev parent reply other threads:[~2011-09-08 15:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 15:32 Jusctsch
2011-09-08 15:40 ` Pedro Alves [this message]
2011-09-08 15:56 ` Jusctsch
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=201109081640.09886.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb@sourceware.org \
--cc=schumjs@gmail.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).