[PATCH 12/18] Implement completion limiting for sim_command_completer.
Mike Frysinger
vapier@gentoo.org
Tue May 5 15:34:00 GMT 2015
On 05 May 2015 08:03, Keith Seitz wrote:
> On 04/14/2015 08:28 AM, Mike Frysinger wrote:
> > i think you want to push this down into sim/common/sim-options.c ?
> > otherwise you do all of this work only to throw away a good amount
> > of it.
>
> Eventually, yes, but not right now, if I may. I'd be more than happy
> to prepare and submit a follow-up patch for sim/ in the next week or
> two (pending acceptance of this patch series).
>
> >> It does not add any tests, since the `sim' command is highly
> >> target-dependent and unimplemented for the majority of
> >> simulators.
> >
> > erm, the majority of simulators now have testsuites. but that
> > doesn't really matter because you're updating the gdb part of the
> > API, not the sim side.
>
> Right, and I can only test it on any sim-enabled target, which I
> seldom use anymore.
that's pretty trivial to get though
$ mkdir build
$ cd build
$ ../configure --target=ft32-elf
$ make all-gdb
$ ./gdb/gdb
(gdb) target sim
(gdb) sim <tab>
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20150505/74418af2/attachment.sig>
More information about the Gdb-patches
mailing list