This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH v2 0/2] MI: Add new command -complete
> From: Jan Vrany <email@example.com>
> Cc: firstname.lastname@example.org, email@example.com, firstname.lastname@example.org,
> Date: Wed, 06 Mar 2019 16:36:39 +0000
> > > Completion by tab seem to work.
> > >
> > > Backspace practially does not, it deletes the character in the line
> > > buffer (presumably) but not on the screen. Instead, it moves the caret
> > > one character on the right. Therefore what use see on the screen is not
> > > what it sent to GDB when she presses enter.
> > >
> > > Moving cursor by left arrow followed by typing has similar issues.
> > > Same for delete. Same for pressing Ctrl-R for searching the history.
> > How did you invoke GDB from cmd.exe, to make these problems appear?
> > Can you show your exact invocation command line?
> Just like:
But this doesn't create any pipes to communicate with GDB. Instead,
this communicates via the default stdin/stdout connected to the
console, and GDB should recognize it as such. So all the problems you
describe should not happen, and indeed don't happen for me when I
invoke GDB from cmd.exe.
Do you perhaps have a ~/.inputrc file, or some other local
customization, which might affect how Readline works? because what
you describe surely sounds like broken Readline.