This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog remote-sim.c
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 14 Jun 2012 18:17:37 -0000
- Subject: src/gdb ChangeLog remote-sim.c
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2012-06-14 18:17:37
Modified files:
gdb : ChangeLog remote-sim.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14363&r2=1.14364
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote-sim.c.diff?cvsroot=src&r1=1.108&r2=1.109