This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 11/40] Introduce class completion_tracker & rewrite completion<->readline interaction
- From: Pedro Alves <palves at redhat dot com>
- To: Christophe Lyon <christophe dot lyon at st dot com>, gdb-patches at sourceware dot org
- Date: Tue, 18 Jul 2017 10:04:37 +0100
- Subject: Re: [PATCH 11/40] Introduce class completion_tracker & rewrite completion<->readline interaction
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 80B9E7CB94
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 80B9E7CB94
- References: <1496406158-12663-1-git-send-email-palves@redhat.com> <1496406158-12663-12-git-send-email-palves@redhat.com> <5968FDFE.80302@redhat.com> <560f7c11-e627-6cc6-7b57-fa300dd6f3c2@redhat.com> <eadd8b24-bbab-61f6-9177-e1d85e5ac432@st.com>
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