From: Jusctsch <schumjs@gmail.com>
To: gdb@sourceware.org
Subject: Re: gdb-mi mode- issues with command history and left and right keys
Date: Thu, 08 Sep 2011 15:56:00 -0000 [thread overview]
Message-ID: <32424984.post@talk.nabble.com> (raw)
In-Reply-To: <201109081640.09886.pedro@codesourcery.com>
Hence the Machine Interface moniker. That makes a lot of sense actually,
thanks!
Pedro Alves-10 wrote:
>
> 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
>
>
--
View this message in context: http://old.nabble.com/gdb-mi-mode--issues-with-command-history-and-left-and-right-keys-tp32424789p32424984.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.
prev parent reply other threads:[~2011-09-08 15:56 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
2011-09-08 15:56 ` Jusctsch [this message]
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=32424984.post@talk.nabble.com \
--to=schumjs@gmail.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