This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 11/40] Introduce class completion_tracker & rewrite completion<->readline interaction


On 07/18/2017 09:23 AM, Christophe Lyon wrote:

> ../../../gdb/remote-sim.c: In function 'void _initialize_remote_sim()':
> ../../../gdb/remote-sim.c:1350:46: error: invalid conversion from
> 'VEC_char_ptr* (*)(cmd_list_element*, const char*, const char*)' to
> 'void (*)(cmd_list_element*, completion_tracker&, const char*, const
> char*)' [-fpermissive]
>    set_cmd_completer (c, sim_command_completer);

> ../../../gdb/command.h:197:13: error:   initializing argument 2 of 'void
> set_cmd_completer(cmd_list_element*, void (*)(cmd_list_element*,
> completion_tracker&, const char*, const char*))' [-fpermissive]
>  extern void set_cmd_completer (struct cmd_list_element *,
> completer_ftype *);
> make[2]: *** [remote-sim.o] Error 1

Sorry about that.

> Can you have a look?

sim_command_completer needs to be adjusted to the new interface.
I'm building a --target-none-eabi gdb to fix this.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]