[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [dsdp-dd-dev] Re: [cdt-dev] CDI-GDB features missing from the DSF-GDB implementation
|
On Thursday 02 October 2008 01:33:30 Daniel Jacobowitz wrote:
> On Wed, Oct 01, 2008 at 08:52:32PM +0400, Vladimir Prus wrote:
> > > > - make the console visible upon launching debug session
> > > > - add (gdb) prompt. This makes the developer feel more at home.
> > > > - tab-completion(I'm not sure this is available from the MI protocol).
> >
> > It is not, and I don't think it's on anybody's agenda, but anybody motivated
> > to do that should find this straightforward.
>
> You should be able to implement tab completion using MI.
>
> -interpreter-exec console "complete bre"
> ~"break\n"
> ^done
> (gdb)
>
> -interpreter-exec console "complete set "
> ~"set annotate\n"
> ~"set architecture\n"
> ~"set args\n"
> ~"set auto-solib-add\n"
Oh, I forgot you can use CLI commands and was thinking about
new -gdb-complete command. Your approach is just fine.
- Volodya