Fix invalid profile for command-completer in remote-sim.c
authorJoel Brobecker <brobecker@gnat.com>
Thu, 14 Jun 2012 18:17:37 +0000 (18:17 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 14 Jun 2012 18:17:37 +0000 (18:17 +0000)
commit34370865978b45c298ec3a9cee665b76660e5948
treed7ee3d969017eae371aeb49b22931aa04e0170b9
parent1d1702fcaad8f492c149e925b1b82e244ec7e270
Fix invalid profile for command-completer in remote-sim.c

The profile of command completers has been change to returna VEC
of char_ptr.  Most completers were updated, except the one in
remote-sim.c.

Unfortunately, to make things a little more difficult, the meat of
the completer is actually implemented in the sim, were VECs are not
available.  This patch thus translates the returned array into a VEC,
and then returns that VEC.

gdb/ChangeLog:

        * remote-sim.c (sim_command_completer): Change type of return
        value to "VEC (char_ptr) *".  Adjust implementation accordingly.
gdb/ChangeLog
gdb/remote-sim.c
This page took 0.027764 seconds and 4 git commands to generate.